@herb-tools/core 0.3.0 → 0.3.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 +4 -0
- package/README.md +7 -1
- package/dist/herb-core.browser.js +1 -1
- package/dist/herb-core.cjs +1 -1
- package/dist/herb-core.esm.js +1 -1
- package/dist/herb-core.umd.js +1 -1
- package/package.json +2 -1
- package/src/nodes.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## 0.3.1 (2025-06-23)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for @herb-tools/core to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
1
5
|
## 0.3.0 (2025-06-21)
|
|
2
6
|
|
|
3
7
|
This was a version bump only for @herb-tools/core to align it with other projects, there were no code changes.
|
package/README.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
## Herb Core
|
|
2
|
+
|
|
3
|
+
##### Package: [`@herb-tools/core`](https://www.npmjs.com/package/@herb-tools/core)
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Core module exporting shared interfaces, AST node definitions, and common utilities for Herb (no direct parsing functionality).
|
|
2
8
|
|
|
3
9
|
## Building
|
|
4
10
|
|
package/dist/herb-core.cjs
CHANGED
package/dist/herb-core.esm.js
CHANGED
package/dist/herb-core.umd.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@herb-tools/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "Core module exporting shared interfaces, AST node definitions, and common utilities for Herb",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"homepage": "https://herb-tools.dev",
|
package/src/nodes.ts
CHANGED
|
@@ -90,7 +90,7 @@ export abstract class Node implements BaseNodeProps {
|
|
|
90
90
|
abstract treeInspect(indent?: number): string
|
|
91
91
|
abstract recursiveErrors(): HerbError[]
|
|
92
92
|
abstract accept(visitor: Visitor): void
|
|
93
|
-
abstract childNodes(): (Node | null |
|
|
93
|
+
abstract childNodes(): (Node | null | undefined)[]
|
|
94
94
|
abstract compactChildNodes(): Node[]
|
|
95
95
|
|
|
96
96
|
protected inspectArray(
|