@willbooster/tree-sitter-xml 2.0.0 → 3.0.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 CHANGED
@@ -5,7 +5,7 @@
5
5
  [![Test](https://github.com/WillBooster/tree-sitter-xml/actions/workflows/test.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-xml/actions/workflows/test.yml)
6
6
  [![Test rust](https://github.com/WillBooster/tree-sitter-xml/actions/workflows/test-rust.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-xml/actions/workflows/test-rust.yml)
7
7
  [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
8
- [![wbfy](https://img.shields.io/badge/wbfy-20.41.9-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
8
+ [![wbfy](https://img.shields.io/badge/wbfy-20.43.2-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
9
9
  [![crates.io](https://img.shields.io/crates/v/willbooster-tree-sitter-xml.svg)](https://crates.io/crates/willbooster-tree-sitter-xml)
10
10
 
11
11
  XML and DTD grammars for [tree-sitter](https://github.com/tree-sitter/tree-sitter), forked from
@@ -14,7 +14,7 @@ to its authors and contributors. This is not an official release of that project
14
14
 
15
15
  This fork builds on the grammars and queries of upstream's version 0.7.0 and generates the parsers with the
16
16
  [WillBooster/tree-sitter](https://github.com/WillBooster/tree-sitter) generator. The parsers carry that fork's own ABI
17
- number (`0x57420006`) and load with that fork's runtime, version 7.0.5 or later in the 7.x series. The XML scanner
17
+ number (`0x57420007`) and load with that fork's runtime, version 10.0.2 or later in the 10.x series. The XML scanner
18
18
  adapts to the generated array API with the change upstream itself made after 0.7.0. The parsers differ from
19
19
  upstream's 0.7.0 packages in these ways:
20
20
 
@@ -34,7 +34,7 @@ parses external DTD files.
34
34
  ## Usage
35
35
 
36
36
  The npm package ships `tree-sitter-xml.wasm` and `tree-sitter-dtd.wasm` for
37
- [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 7.0.5 or later in the 7.x series, which runs in Node.js, Bun, browsers, and Cloudflare Workers.
37
+ [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 10.0.2 or later in the 10.x series, which runs in Node.js, Bun, browsers, and Cloudflare Workers.
38
38
  In Node.js and Bun, load the grammar from its path:
39
39
 
40
40
  ```js
@@ -83,8 +83,8 @@ fuzzed with:
83
83
 
84
84
  ```toml
85
85
  [dependencies]
86
- tree-sitter = { package = "willbooster-tree-sitter", version = "7.0.5" }
87
- tree-sitter-xml = { package = "willbooster-tree-sitter-xml", version = "2" }
86
+ tree-sitter = { package = "willbooster-tree-sitter", version = "10.0.2" }
87
+ tree-sitter-xml = { package = "willbooster-tree-sitter-xml", version = "3" }
88
88
  ```
89
89
 
90
90
  ```rust
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-xml",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "description": "XML & DTD grammars for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -48,16 +48,16 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "@tsconfig/bun": "1.0.11",
51
- "@types/bun": "1.4.2",
51
+ "@types/bun": "1.4.3",
52
52
  "@vitest/browser-playwright": "5.0.3",
53
53
  "@willbooster/oxfmt-config": "1.2.2",
54
54
  "@willbooster/oxlint-config": "1.4.8",
55
- "@willbooster/wb": "22.26.1",
56
- "@willbooster/web-tree-sitter": "7.0.5",
55
+ "@willbooster/wb": "22.26.2",
56
+ "@willbooster/web-tree-sitter": "10.0.2",
57
57
  "conventional-changelog-conventionalcommits": "10.4.0",
58
- "lefthook": "2.2.1",
59
- "oxfmt": "0.72.0",
60
- "oxlint": "1.87.0",
58
+ "lefthook": "2.2.2",
59
+ "oxfmt": "0.73.0",
60
+ "oxlint": "1.88.0",
61
61
  "oxlint-tsgolint": "7.0.2004",
62
62
  "playwright": "1.63.0",
63
63
  "semantic-release": "25.0.9",
@@ -66,7 +66,7 @@
66
66
  "wrangler": "4.147.0"
67
67
  },
68
68
  "peerDependencies": {
69
- "@willbooster/web-tree-sitter": "^7.0.5"
69
+ "@willbooster/web-tree-sitter": "^10.0.2"
70
70
  },
71
71
  "peerDependenciesMeta": {
72
72
  "@willbooster/web-tree-sitter": {
Binary file
Binary file
package/tree-sitter.json CHANGED
@@ -36,7 +36,7 @@
36
36
  }
37
37
  ],
38
38
  "metadata": {
39
- "version": "2.0.0",
39
+ "version": "3.0.0",
40
40
  "license": "MIT",
41
41
  "description": "XML & DTD grammars for tree-sitter",
42
42
  "authors": [