Skip to content

Commit 61b9079

Browse files
authored
Update Binaryen and utilize new ExpressionRunner API (#1237)
1 parent c631c3c commit 61b9079

File tree

100 files changed

+17611
-3942
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+17611
-3942
lines changed

Diff for: package-lock.json

+27-34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@
2121
"url": "https://github.com/AssemblyScript/assemblyscript/issues"
2222
},
2323
"dependencies": {
24-
"binaryen": "91.0.0-nightly.20200414",
24+
"binaryen": "92.0.0-nightly.20200426",
2525
"long": "^4.0.0",
26-
"source-map-support": "^0.5.16",
26+
"source-map-support": "^0.5.19",
2727
"ts-node": "^6.2.0"
2828
},
2929
"devDependencies": {
30-
"@types/node": "^13.11.1",
30+
"@types/node": "^13.13.2",
3131
"browser-process-hrtime": "^1.0.0",
3232
"diff": "^4.0.2",
3333
"glob": "^7.1.6",
3434
"physical-cpu-count": "^2.0.0",
35-
"source-map-support": "^0.5.16",
35+
"source-map-support": "^0.5.19",
3636
"ts-loader": "^6.2.2",
3737
"ts-node": "^6.2.0",
3838
"tslint": "^5.20.1",
3939
"typescript": "^3.8.3",
40-
"webpack": "^4.42.1",
40+
"webpack": "^4.43.0",
4141
"webpack-cli": "^3.3.11"
4242
},
4343
"main": "index.js",

Diff for: scripts/update-constants.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var src = fs.readFileSync(srcfile, "utf8");
1010
binaryen.ready.then(() => {
1111
src = src.replace(/(?:enum|namespace) (\w+) \{([^}]*)\}/g, function($0) {
1212
return $0.replace(/(\w+)[ ]+=[ ]+([^,;\n]+)/g, function($0, key, val) {
13-
var match = val.match(/\b(_Binaryen\w+)\b/);
13+
var match = val.match(/\b(_(?:Binaryen|Relooper|ExpressionRunner)\w+)\b/);
1414
if (match) {
1515
let fn = match[1];
1616
if (typeof binaryen[fn] !== "function") throw Error("API mismatch: Is Binaryen up to date?");

0 commit comments

Comments
 (0)