@ohm-js/wasm 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/dist/cli.js +33 -6
- package/dist/index.js +1101 -293
- package/package.json +7 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohm-js/wasm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Compile Ohm.js grammars to WebAsssembly",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -14,25 +14,26 @@
|
|
|
14
14
|
"author": "Patrick Dubroy <pdubroy@gmail.com>",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"devDependencies": {
|
|
17
|
+
"@shopify/liquid-html-parser": "^2.8.2",
|
|
17
18
|
"@thi.ng/leb128": "^3.1.48",
|
|
18
19
|
"assemblyscript": "^0.27.36",
|
|
19
20
|
"ava": "^6.2.0",
|
|
20
21
|
"esbuild": "^0.25.5",
|
|
21
|
-
"
|
|
22
|
+
"fast-check": "^4.2.0",
|
|
23
|
+
"fast-glob": "^3.3.3",
|
|
24
|
+
"mitata": "^1.0.34",
|
|
22
25
|
"wabt": "1.0.37-nightly.20250428",
|
|
23
|
-
"@ohm-js/miniohm-js": "^0.
|
|
26
|
+
"@ohm-js/miniohm-js": "^0.2.0"
|
|
24
27
|
},
|
|
25
28
|
"peerDependencies": {
|
|
26
29
|
"ohm-js": "^17.1.0"
|
|
27
30
|
},
|
|
28
31
|
"dependencies": {
|
|
29
|
-
"@shopify/liquid-html-parser": "^2.8.2",
|
|
30
32
|
"@wasmgroundup/emit": "^1.0.2"
|
|
31
33
|
},
|
|
32
34
|
"scripts": {
|
|
33
35
|
"build": "make",
|
|
34
36
|
"build-and-test": "make && ava test",
|
|
35
|
-
"
|
|
36
|
-
"test": "pnpm run check-node-version && pnpm run build-and-test || echo 'Skipping tests: Node 24 required'"
|
|
37
|
+
"test": "ava test"
|
|
37
38
|
}
|
|
38
39
|
}
|