@arborium/javascript 0.0.7 → 0.622.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/grammar.core.wasm CHANGED
Binary file
Binary file
Binary file
Binary file
package/grammar.js CHANGED
@@ -791,9 +791,9 @@ const hasOwnProperty = Object.prototype.hasOwnProperty;
791
791
 
792
792
  if (!getCoreModule) getCoreModule = (name) => fetchCompile(new URL(`./${name}`, import.meta.url));
793
793
  const module0 = getCoreModule('grammar.core.wasm');
794
- const module1 = getCoreModule('../shared/shim.core2.wasm');
795
- const module2 = getCoreModule('../shared/shim.core3.wasm');
796
- const module3 = getCoreModule('../shared/shim.core4.wasm');
794
+ const module1 = getCoreModule('grammar.core2.wasm');
795
+ const module2 = getCoreModule('grammar.core3.wasm');
796
+ const module3 = getCoreModule('grammar.core4.wasm');
797
797
 
798
798
  const { getEnvironment } = imports['wasi:cli/environment'];
799
799
  const { exit } = imports['wasi:cli/exit'];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arborium/javascript",
3
- "version": "0.0.7",
4
- "description": "Arborium syntax highlighting grammar for javascript",
3
+ "version": "0.622.0",
4
+ "description": "Syntax highlighting for JavaScript, powered by WebAssembly",
5
5
  "type": "module",
6
6
  "main": "./grammar.js",
7
7
  "module": "./grammar.js",
@@ -18,16 +18,21 @@
18
18
  "grammar.js",
19
19
  "grammar.d.ts",
20
20
  "grammar.core.wasm",
21
+ "grammar.core2.wasm",
22
+ "grammar.core3.wasm",
23
+ "grammar.core4.wasm",
21
24
  "interfaces"
22
25
  ],
26
+ "sideEffects": false,
23
27
  "keywords": [
24
28
  "arborium",
25
29
  "syntax-highlighting",
26
30
  "tree-sitter",
27
31
  "javascript",
32
+ "JavaScript",
28
33
  "wasm"
29
34
  ],
30
- "author": "Amos Wenger <amos@bearcove.net>",
35
+ "author": "Amos Wenger <amos@bearcove.eu>",
31
36
  "license": "MIT OR Apache-2.0",
32
37
  "repository": {
33
38
  "type": "git",
@@ -37,7 +42,14 @@
37
42
  "bugs": {
38
43
  "url": "https://github.com/bearcove/arborium/issues"
39
44
  },
45
+ "funding": {
46
+ "type": "github",
47
+ "url": "https://github.com/sponsors/fasterthanlime"
48
+ },
49
+ "engines": {
50
+ "node": ">=18"
51
+ },
40
52
  "publishConfig": {
41
53
  "access": "public"
42
54
  }
43
- }
55
+ }