@markuplint/pug-parser 5.0.0-dev.5 → 5.0.0-rc.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,21 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [5.0.0-rc.1](https://github.com/markuplint/markuplint/compare/v5.0.0-rc.0...v5.0.0-rc.1) (2026-03-27)
7
+
8
+ - feat!: adapt framework parsers to UUID-based node references ([6d543b8](https://github.com/markuplint/markuplint/commit/6d543b8c11506fe113d0ceeae3526f552f4ee26d))
9
+
10
+ ### BREAKING CHANGES
11
+
12
+ - Parser output no longer contains parentNode/pairNode
13
+ object references. Use parentNodeUuid/pairNodeUuid string fields instead.
14
+
15
+ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16
+
17
+ # [5.0.0-rc.0](https://github.com/markuplint/markuplint/compare/v5.0.0-alpha.3...v5.0.0-rc.0) (2026-03-12)
18
+
19
+ **Note:** Version bump only for package @markuplint/pug-parser
20
+
6
21
  # [5.0.0-alpha.3](https://github.com/markuplint/markuplint/compare/v5.0.0-alpha.2...v5.0.0-alpha.3) (2026-02-26)
7
22
 
8
23
  **Note:** Version bump only for package @markuplint/pug-parser
package/lib/parser.js CHANGED
@@ -243,7 +243,9 @@ class PugParser extends Parser {
243
243
  namespace: getNamespace(token.nodeName, token.parentNode),
244
244
  childNodes: [],
245
245
  blockBehavior: null,
246
+ parentNodeUuid: token.parentNode?.uuid ?? null,
246
247
  pairNode: null,
248
+ pairNodeUuid: null,
247
249
  tagOpenChar: '',
248
250
  tagCloseChar: '',
249
251
  isGhost: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/pug-parser",
3
- "version": "5.0.0-dev.5+e96392f56",
3
+ "version": "5.0.0-rc.1",
4
4
  "description": "Pug parser for markuplint",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -24,11 +24,11 @@
24
24
  "clean": "tsc --build --clean tsconfig.build.json"
25
25
  },
26
26
  "dependencies": {
27
- "@markuplint/html-parser": "5.0.0-dev.5+e96392f56",
28
- "@markuplint/ml-ast": "5.0.0-dev.5+e96392f56",
29
- "@markuplint/parser-utils": "5.0.0-dev.5+e96392f56",
27
+ "@markuplint/html-parser": "5.0.0-rc.1",
28
+ "@markuplint/ml-ast": "5.0.0-rc.1",
29
+ "@markuplint/parser-utils": "5.0.0-rc.1",
30
30
  "pug-lexer": "5.0.1",
31
31
  "pug-parser": "6.0.0"
32
32
  },
33
- "gitHead": "e96392f56e4bc8165ba59622b41c822703a96372"
33
+ "gitHead": "0d6b4324d9a7d6b9e1ba57d4a57e45d36975cba9"
34
34
  }