@parsanol/wasm 0.20.13 → 0.20.15

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 CHANGED
@@ -29,6 +29,9 @@ const parg = new PargArtifactJs(artifactJson);
29
29
 
30
30
  ## Notes
31
31
 
32
+ - The engine is built with an 8MiB wasm stack
33
+ (`-C link-arg=-zstack-size=8388608`) so deep-recursive parses abort
34
+ with the typed `CallDepthLimitExceeded` instead of trapping.
32
35
  - `parseAndBind` returns `{}` when the entry declares no
33
36
  `bindings` block — the parse succeeded, nothing was bound.
34
37
  - The async bootstrap is the package DEFAULT export
package/package.json CHANGED
@@ -1,16 +1,19 @@
1
1
  {
2
2
  "name": "@parsanol/wasm",
3
- "type": "module",
4
- "collaborators": [
5
- "Ribose Inc. <open.source@ribose.com>"
6
- ],
3
+ "version": "0.20.15",
7
4
  "description": "Parsanol PEG parser — WebAssembly bindings",
8
- "version": "0.20.13",
9
- "license": "MIT",
10
5
  "repository": {
11
6
  "type": "git",
12
7
  "url": "https://github.com/parsanol/parsanol-rs"
13
8
  },
9
+ "keywords": [
10
+ "parser",
11
+ "peg",
12
+ "wasm",
13
+ "rust"
14
+ ],
15
+ "license": "MIT",
16
+ "type": "module",
14
17
  "files": [
15
18
  "parsanol_bg.wasm",
16
19
  "parsanol_bg.wasm.d.ts",
@@ -18,18 +21,8 @@
18
21
  "parsanol.d.ts",
19
22
  "README.md"
20
23
  ],
21
- "homepage": "https://github.com/parsanol/parsanol-rs",
22
- "types": "parsanol.d.ts",
23
- "sideEffects": [
24
- "./snippets/*"
25
- ],
26
- "keywords": [
27
- "parser",
28
- "peg",
29
- "wasm",
30
- "rust"
31
- ],
32
24
  "module": "parsanol.js",
25
+ "types": "parsanol.d.ts",
33
26
  "exports": {
34
27
  ".": {
35
28
  "types": "./parsanol.d.ts",
package/parsanol_bg.wasm CHANGED
Binary file