@willbooster/tree-sitter-html 6.0.1 → 7.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-html/actions/workflows/test.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-html/actions/workflows/test.yml)
6
6
  [![Test rust](https://github.com/WillBooster/tree-sitter-html/actions/workflows/test-rust.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-html/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.8-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-html.svg)](https://crates.io/crates/willbooster-tree-sitter-html)
10
10
 
11
11
  HTML grammar 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 is based on upstream's version 0.23.2 grammar and external scanner and generates the parser with the
16
16
  [WillBooster/tree-sitter](https://github.com/WillBooster/tree-sitter) generator. The parser carries that fork's own ABI
17
- number `0x57420006`, so it loads with the WillBooster runtime, version 7.0.5 or later in the 7.x series
17
+ number `0x57420007`, so it loads with the WillBooster runtime, version 10.0.2 or later in the 10.x series
18
18
  ([willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter),
19
19
  [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter)); upstream's runtime rejects
20
20
  it. Input that contains NUL characters can parse to a different tree than with upstream's 0.23.2 parser, because the
@@ -55,7 +55,7 @@ between attributes. Comment-shaped text inside a quoted value remains part of th
55
55
  ## Usage
56
56
 
57
57
  The npm package ships `tree-sitter-html.wasm` for
58
- [@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.
58
+ [@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.
59
59
  In Node.js and Bun, load the grammar from its path:
60
60
 
61
61
  ```js
@@ -102,8 +102,8 @@ fuzzed with:
102
102
 
103
103
  ```toml
104
104
  [dependencies]
105
- tree-sitter = { package = "willbooster-tree-sitter", version = "7.0.5" }
106
- tree-sitter-html = { package = "willbooster-tree-sitter-html", version = "6" }
105
+ tree-sitter = { package = "willbooster-tree-sitter", version = "10.0.2" }
106
+ tree-sitter-html = { package = "willbooster-tree-sitter-html", version = "7" }
107
107
  ```
108
108
 
109
109
  ```rust
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-html",
3
- "version": "6.0.1",
3
+ "version": "7.0.0",
4
4
  "description": "HTML grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -42,16 +42,16 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@tsconfig/bun": "1.0.11",
45
- "@types/bun": "1.4.2",
45
+ "@types/bun": "1.4.3",
46
46
  "@vitest/browser-playwright": "5.0.3",
47
47
  "@willbooster/oxfmt-config": "1.2.2",
48
48
  "@willbooster/oxlint-config": "1.4.8",
49
- "@willbooster/wb": "22.26.1",
50
- "@willbooster/web-tree-sitter": "7.0.5",
49
+ "@willbooster/wb": "22.26.2",
50
+ "@willbooster/web-tree-sitter": "10.0.2",
51
51
  "conventional-changelog-conventionalcommits": "10.4.1",
52
- "lefthook": "2.2.1",
53
- "oxfmt": "0.72.0",
54
- "oxlint": "1.87.0",
52
+ "lefthook": "2.2.2",
53
+ "oxfmt": "0.73.0",
54
+ "oxlint": "1.88.0",
55
55
  "oxlint-tsgolint": "7.0.2004",
56
56
  "playwright": "1.64.0",
57
57
  "semantic-release": "25.0.9",
@@ -60,7 +60,7 @@
60
60
  "wrangler": "4.149.0"
61
61
  },
62
62
  "peerDependencies": {
63
- "@willbooster/web-tree-sitter": "^7.0.5"
63
+ "@willbooster/web-tree-sitter": "^10.0.2"
64
64
  },
65
65
  "peerDependenciesMeta": {
66
66
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -20,7 +20,7 @@
20
20
  }
21
21
  ],
22
22
  "metadata": {
23
- "version": "6.0.1",
23
+ "version": "7.0.0",
24
24
  "license": "MIT",
25
25
  "description": "HTML grammar for tree-sitter",
26
26
  "authors": [