Skip to content

Commit cf012ec

Browse files
guybedfordJake Champion
and
Jake Champion
authored
deps: upgrade to @bytecodeallianace/[email protected] (#431)
This includes the fix from bytecodealliance/wizer#71, as well as moving over the bytecodealliance org version on npm. Co-authored-by: Jake Champion <[email protected]>
1 parent c5933ea commit cf012ec

File tree

4 files changed

+366
-364
lines changed

4 files changed

+366
-364
lines changed

integration-tests/cli/component.test.js

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ test('should create component wasm file and return zero exit code', async functi
2828
// (necessary because readFile gives a string)
2929
const wasmBuffer = await readFile(resolve(path, './bin/main.wasm'));
3030

31+
console.log('COMPONENT SIZE: ' + wasmBuffer.byteLength);
32+
3133
const wat = print(wasmBuffer);
3234

3335
t.is(wat.slice(0, 10), '(component');

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
"typescript": "^4.9"
4343
},
4444
"dependencies": {
45-
"@jakechampion/wizer": "^1.6.0",
46-
"esbuild": "^0.15.16",
4745
"@bytecodealliance/jco": "^0.4.1",
46+
"@bytecodealliance/wizer": "^1.6.1-beta.4",
47+
"esbuild": "^0.15.16",
4848
"tree-sitter": "^0.20.1",
4949
"tree-sitter-javascript": "^0.19.0"
5050
}

src/compileApplicationToWasm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { spawnSync } from "node:child_process";
33
import { mkdir, readFile } from "node:fs/promises";
44
import { isFile } from "./isFile.js";
55
import { isFileOrDoesNotExist } from "./isFileOrDoesNotExist.js";
6-
import wizer from "@jakechampion/wizer";
6+
import wizer from "@bytecodealliance/wizer";
77
import { precompile } from "./precompile.js";
88
import { bundle } from "./bundle.js";
99
import { containsSyntaxErrors } from "./containsSyntaxErrors.js";

0 commit comments

Comments
 (0)