From db43f6cdc15da27eff3d699fa6d185a0dafdd219 Mon Sep 17 00:00:00 2001 From: philippedev101 Date: Fri, 27 Nov 2026 20:41:03 +0100 Subject: [PATCH] feat: decouple component encoder from pinned jco Preview 1 adapter Import componentNew and metadataAdd from @bytecodealliance/jco-transpile/wasm-tools (0.24.0) while pinning @bytecodealliance/jco at 1.15.1 for preview1AdapterReactorPath. Upgrading @bytecodealliance/jco directly pulls in a newer Preview 1 adapter that imports wasi:sockets/network@0.2.10::network-error-code, which breaks HTTP world encoding against the bundled StarlingMonkey embedding. Keeping the adapter pinned while moving component encoding to @bytecodealliance/jco-transpile gives componentize() a current wasm-tools encoder (including Component Model async type opcode 0x43) without regressing HTTP compatibility. Add an offline Vitest regression in test/http-encoding.js covering HTTP world encoding against the bundled adapter. --- package-lock.json | 425 +++++++++++++++++++++++++++++++++++++++++- package.json | 3 +- src/componentize.js | 9 +- test/http-encoding.js | 31 +++ 4 files changed, 462 insertions(+), 6 deletions(-) create mode 100644 test/http-encoding.js diff --git a/package-lock.json b/package-lock.json index b78e8977..4b6cef93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,18 @@ { "name": "@bytecodealliance/componentize-js", - "version": "0.23.0", + "version": "0.24.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@bytecodealliance/componentize-js", - "version": "0.23.0", + "version": "0.24.0", "workspaces": [ "." ], "dependencies": { - "@bytecodealliance/jco": "^1.15.1", + "@bytecodealliance/jco": "1.15.1", + "@bytecodealliance/jco-transpile": "0.24.0", "@bytecodealliance/preview2-shim": "^0.29.0", "@bytecodealliance/weval": "^0.5.0", "@bytecodealliance/wizer": "^10.0.0", @@ -196,6 +197,44 @@ "node": ">=20" } }, + "node_modules/@bytecodealliance/jco-transpile": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@bytecodealliance/jco-transpile/-/jco-transpile-0.24.0.tgz", + "integrity": "sha512-ISCXvZc+TOX07L+V9WhO7tg8zv1zj9Ll48tT0tKZTUo5O5Cxwn2tCSAMvDtA6Ni6V0baosB3XCaBVFkLNpuBSA==", + "license": "(Apache-2.0 WITH LLVM-exception)", + "dependencies": { + "@bytecodealliance/preview2-shim": "^0.31.1", + "@bytecodealliance/preview3-shim": "^0.14.1", + "binaryen": "^132.0.0", + "oxc-minify": "^0.151.0" + } + }, + "node_modules/@bytecodealliance/jco-transpile/node_modules/@bytecodealliance/preview2-shim": { + "version": "0.31.1", + "resolved": "https://registry.npmjs.org/@bytecodealliance/preview2-shim/-/preview2-shim-0.31.1.tgz", + "integrity": "sha512-uDVB/IhExDW70TquqVx2l2Q5uwwpH7r5M2ltYccux+0YxXBm4TvqyNHTyYxcoLBsoAar28o7uZSj7GOKVx9uvA==", + "license": "(Apache-2.0 WITH LLVM-exception)", + "dependencies": { + "@bytecodealliance/jco-node-fs": "0.3.2" + } + }, + "node_modules/@bytecodealliance/jco-transpile/node_modules/binaryen": { + "version": "132.0.0", + "resolved": "https://registry.npmjs.org/binaryen/-/binaryen-132.0.0.tgz", + "integrity": "sha512-4Usg7yEvwO3FMso3Oov6qkOOHSod1IEv+boKkh77kTljM+eNBouqCTbqWswGzbG+vDNO/b/v2C4gfEh1WgB9Lg==", + "license": "Apache-2.0", + "bin": { + "wasm-as": "bin/wasm-as", + "wasm-ctor-eval": "bin/wasm-ctor-eval", + "wasm-dis": "bin/wasm-dis", + "wasm-merge": "bin/wasm-merge", + "wasm-metadce": "bin/wasm-metadce", + "wasm-opt": "bin/wasm-opt", + "wasm-reduce": "bin/wasm-reduce", + "wasm-shell": "bin/wasm-shell", + "wasm2js": "bin/wasm2js" + } + }, "node_modules/@bytecodealliance/jco/node_modules/@bytecodealliance/componentize-js": { "version": "0.19.3", "resolved": "https://registry.npmjs.org/@bytecodealliance/componentize-js/-/componentize-js-0.19.3.tgz", @@ -493,6 +532,25 @@ "@bytecodealliance/jco-node-fs": "0.3.2" } }, + "node_modules/@bytecodealliance/preview3-shim": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/@bytecodealliance/preview3-shim/-/preview3-shim-0.14.1.tgz", + "integrity": "sha512-rUFh6kIFQEjGbe/TwbGhQPQojOZFiXwk/qr9M21fik3CC/Kk1UJsP9OHNhcdPni6W1+P8ITx/6iJnno+me7Cig==", + "license": "(Apache-2.0 WITH LLVM-exception)", + "dependencies": { + "@bytecodealliance/jco-node-fs": "0.3.2", + "@bytecodealliance/preview2-shim": "^0.31.1" + } + }, + "node_modules/@bytecodealliance/preview3-shim/node_modules/@bytecodealliance/preview2-shim": { + "version": "0.31.1", + "resolved": "https://registry.npmjs.org/@bytecodealliance/preview2-shim/-/preview2-shim-0.31.1.tgz", + "integrity": "sha512-uDVB/IhExDW70TquqVx2l2Q5uwwpH7r5M2ltYccux+0YxXBm4TvqyNHTyYxcoLBsoAar28o7uZSj7GOKVx9uvA==", + "license": "(Apache-2.0 WITH LLVM-exception)", + "dependencies": { + "@bytecodealliance/jco-node-fs": "0.3.2" + } + }, "node_modules/@bytecodealliance/weval": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/@bytecodealliance/weval/-/weval-0.5.0.tgz", @@ -1498,6 +1556,334 @@ "@tybys/wasm-util": "^0.10.0" } }, + "node_modules/@oxc-minify/binding-android-arm-eabi": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-android-arm-eabi/-/binding-android-arm-eabi-0.151.0.tgz", + "integrity": "sha512-Y1kwFf+GCq62PWojA4u5ME99T1quxdM+VPB67kIC1x0wLmfGAWAhS9cwKIxe/bW95loAxGIruvkYDVMCrvOBvw==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-android-arm64": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-android-arm64/-/binding-android-arm64-0.151.0.tgz", + "integrity": "sha512-IuRgG5pZ5Axv88yMK5nIeQHOQqrWkGd2Wcu4yUlGhV9NMr2C6N/HpJ7crLWwpflZSHgWXW5s/5AsmEN2CBJw0w==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-darwin-arm64": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-darwin-arm64/-/binding-darwin-arm64-0.151.0.tgz", + "integrity": "sha512-Uuo84npyREYIOJ8ohYdc7eA+QKVcZnX4524U81+6nhdmxkMp19AZHaBGmd/tN6c7KDfsF3ATXQUOxKkCOGGxUQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-darwin-x64": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-darwin-x64/-/binding-darwin-x64-0.151.0.tgz", + "integrity": "sha512-XiWlF2PpwoiX6RcqWmFTvcxW5hH+C96l9km164vbM9wisSBoapo95dvZjEzG7lEmffHOGzb4BOAlAeeZ/WlRWw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-freebsd-x64": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-freebsd-x64/-/binding-freebsd-x64-0.151.0.tgz", + "integrity": "sha512-fM6/wcqfGp1R+zxYxHXs+P+wBpTlhU1Nr7iiZyBoCg+mphrgyYS7drUiHWoWzAvUSpicnmFm6rag9bSSWTDUMA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-linux-arm-gnueabihf": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.151.0.tgz", + "integrity": "sha512-s/aBPTyIMW9uAD0mP+xSz7UbuxXfEIi/1rEpqTd1gGjVCz2Sl58sbc65FauI4K26S9nDpk7fGc7y9C9rjK9L+A==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-linux-arm-musleabihf": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.151.0.tgz", + "integrity": "sha512-9t44xCPN7E93Pmxsov9qwEGcTc0UJa+z0ZJzvjCk0LqXdLNOQhd15k8KgVuzVbWitI19TvOX/fEC3ZVF6LB/kw==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-linux-arm64-gnu": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.151.0.tgz", + "integrity": "sha512-a77EK4y+3fyD1GZiMnOUSr8x52Hx6eKjPnfIzeh4C9UgnUZBRYMsdHBbBDHLLOX1adjyluxtn4Tze7yTVByCeA==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-linux-arm64-musl": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.151.0.tgz", + "integrity": "sha512-2AjX1jJsj/guky9OuM1jKmuwRVvy+8UUChK3uvrRWV89I/FyrQj9wKPj8TkuL0Ay5yL2xvZj/Ti1Qg0qiRsP+w==", + "cpu": [ + "arm64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-linux-ppc64-gnu": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.151.0.tgz", + "integrity": "sha512-l3iUa60pK2WenCy9jhO4UTK/yz9RjVIXPXqfzMdz7DA0QQZ9dxAk/p2p3ERf4KZq/MEIfvs9e4LuFVYg5PFYdQ==", + "cpu": [ + "ppc64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-linux-riscv64-gnu": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.151.0.tgz", + "integrity": "sha512-v+sdB36Rp8BxmQoP5Jt6ixz7G0aN9Nayh/LvdNBW/0nkKoLHFyEAcV/Uy+79R3oB0uBC1J6DM9XlDxCC1uMkbA==", + "cpu": [ + "riscv64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-linux-riscv64-musl": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.151.0.tgz", + "integrity": "sha512-QER/ajZukltjbfFi4rGx6/jC5XEnImAma5P606Xnej0D3fyMC8rXPmae5Z3HyUJMt1Hd5POOkC3S5yQBNPppwQ==", + "cpu": [ + "riscv64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-linux-s390x-gnu": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.151.0.tgz", + "integrity": "sha512-+r7s5IPrWPtdz/x5LiNSk0ySmzvdP0/VLwt23ULFvcU6jsMrw8DseylMfp4HxvGlJcYyKAUj7JSGxwEmEACUvw==", + "cpu": [ + "s390x" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-linux-x64-gnu": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.151.0.tgz", + "integrity": "sha512-O1Rs0HbgKvEhTiq1bVcZnsOY6q8f4LoPE6pgOieB19Coyz1XP/ugq7XILUD6evlszBGRKliRAwycRScbl2kjqg==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-linux-x64-musl": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-linux-x64-musl/-/binding-linux-x64-musl-0.151.0.tgz", + "integrity": "sha512-RSbyV8xzLsvypVTo871IYAfL5We9/8JNyAQLMXiCRnQGD/daFm/bp+iLhtoy2jelgOa6kp4H3bkdl+ci5SSwDQ==", + "cpu": [ + "x64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-openharmony-arm64": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-openharmony-arm64/-/binding-openharmony-arm64-0.151.0.tgz", + "integrity": "sha512-WHwdIt3Kj0TQSVey3RiWXgyeZpXUz3Hapq/mdCXyxVCBkvRk/KHIxmHE32EGE/PRx+EQFHVo1+gm627XOde/qg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-win32-arm64-msvc": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.151.0.tgz", + "integrity": "sha512-mFL0B3HByMlBxspR+SeqyBR8b96QkoI2D8quQOwBXEUExR4Ozu3Ya0uyYR9MBdwvQHZZWQ2EWgum8bdHdTfl/w==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-win32-ia32-msvc": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.151.0.tgz", + "integrity": "sha512-p6QBBxYsg0A0jUQu5NRqW/UuPtoLtmA72SE8N7Rkhn43m/gSLNTE/nFjsLSsX6T9yM8d8k5PfnYvFnSUf+IlRw==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-minify/binding-win32-x64-msvc": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/@oxc-minify/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.151.0.tgz", + "integrity": "sha512-lkP3SsNXm3JUrNX9c9Ijhl3Iipw0fWuCAOOxju+YjH2AolPUbTLE664KeEDdxt8kaLCh+wCBNyqnV67OLVHZWA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, "node_modules/@oxc-parser/binding-android-arm-eabi": { "version": "0.154.0", "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.154.0.tgz", @@ -2788,6 +3174,39 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/oxc-minify": { + "version": "0.151.0", + "resolved": "https://registry.npmjs.org/oxc-minify/-/oxc-minify-0.151.0.tgz", + "integrity": "sha512-fYdJw3+WYswBWedCl3G0ReJPlHIR1msz3uf5cGAgpHOlQOxfrVu5nOp2gLnccA91Vs7Yw2nH00lj8pc0rjZvYg==", + "license": "MIT", + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/oxc-project" + }, + "optionalDependencies": { + "@oxc-minify/binding-android-arm-eabi": "0.151.0", + "@oxc-minify/binding-android-arm64": "0.151.0", + "@oxc-minify/binding-darwin-arm64": "0.151.0", + "@oxc-minify/binding-darwin-x64": "0.151.0", + "@oxc-minify/binding-freebsd-x64": "0.151.0", + "@oxc-minify/binding-linux-arm-gnueabihf": "0.151.0", + "@oxc-minify/binding-linux-arm-musleabihf": "0.151.0", + "@oxc-minify/binding-linux-arm64-gnu": "0.151.0", + "@oxc-minify/binding-linux-arm64-musl": "0.151.0", + "@oxc-minify/binding-linux-ppc64-gnu": "0.151.0", + "@oxc-minify/binding-linux-riscv64-gnu": "0.151.0", + "@oxc-minify/binding-linux-riscv64-musl": "0.151.0", + "@oxc-minify/binding-linux-s390x-gnu": "0.151.0", + "@oxc-minify/binding-linux-x64-gnu": "0.151.0", + "@oxc-minify/binding-linux-x64-musl": "0.151.0", + "@oxc-minify/binding-openharmony-arm64": "0.151.0", + "@oxc-minify/binding-win32-arm64-msvc": "0.151.0", + "@oxc-minify/binding-win32-ia32-msvc": "0.151.0", + "@oxc-minify/binding-win32-x64-msvc": "0.151.0" + } + }, "node_modules/oxc-parser": { "version": "0.154.0", "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.154.0.tgz", diff --git a/package.json b/package.json index 4d6cec1b..f589aa83 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "vitest": "^3.2.4" }, "dependencies": { - "@bytecodealliance/jco": "^1.15.1", + "@bytecodealliance/jco": "1.15.1", + "@bytecodealliance/jco-transpile": "0.24.0", "@bytecodealliance/preview2-shim": "^0.29.0", "@bytecodealliance/weval": "^0.5.0", "@bytecodealliance/wizer": "^10.0.0", diff --git a/src/componentize.js b/src/componentize.js index f46d1551..aadfefd9 100644 --- a/src/componentize.js +++ b/src/componentize.js @@ -13,11 +13,16 @@ import { createHash } from 'node:crypto'; import { parse } from 'oxc-parser'; import wizer from '@bytecodealliance/wizer'; import getWeval from '@bytecodealliance/weval'; +// Import `componentNew` and `metadataAdd` from `@bytecodealliance/jco-transpile` +// while keeping `preview1AdapterReactorPath` pinned to `@bytecodealliance/jco` +// 1.15.1 so async WIT encoding uses a current wasm-tools encoder without +// upgrading the Preview 1 adapter past the WASI imports provided by the bundled +// StarlingMonkey embedding. import { componentNew, metadataAdd, - preview1AdapterReactorPath, -} from '@bytecodealliance/jco'; +} from '@bytecodealliance/jco-transpile/wasm-tools'; +import { preview1AdapterReactorPath } from '@bytecodealliance/jco'; import { createSplicer } from './splicer.js'; diff --git a/test/http-encoding.js b/test/http-encoding.js new file mode 100644 index 00000000..3007078b --- /dev/null +++ b/test/http-encoding.js @@ -0,0 +1,31 @@ +import { test } from 'vitest'; +import assert from 'node:assert/strict'; +import { readFile } from 'node:fs/promises'; +import { fileURLToPath } from 'node:url'; +import { componentize } from '@bytecodealliance/componentize-js'; +import { + DEBUG_TEST_ENABLED, + WEVAL_TEST_ENABLED, + NIGHTMONKEY_TEST_ENABLED, +} from './util.js'; + +// Verify componentization of the HTTP world offline without invoking `getResult` +// so this regression catches adapter/encoder drift deterministically without +// network access; invoking `getResult` would make the test depend on external +// HTTP availability and conflate runtime sockets with encoding compatibility. +test('HTTP engine world remains compatible with its Preview 1 adapter', async () => { + const source = await readFile( + new URL('./cases/http-request/source.js', import.meta.url), + 'utf8', + ); + const { component } = await componentize(source, { + witPath: fileURLToPath(new URL('./wit', import.meta.url)), + worldName: 'test2', + enableFeatures: ['http'], + disableFeatures: [], + debugBuild: DEBUG_TEST_ENABLED, + enableAot: WEVAL_TEST_ENABLED, + enableNightmonkey: NIGHTMONKEY_TEST_ENABLED, + }); + assert.ok(component.byteLength > 0); +});