@halleyassist/rule-parser 1.0.22 → 1.0.24

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.
Files changed (2) hide show
  1. package/index.d.ts +1 -1
  2. package/package.json +2 -1
package/index.d.ts CHANGED
@@ -198,7 +198,7 @@ declare class RuleParser {
198
198
  * @returns The AST node representing the parsed rule
199
199
  * @throws {RuleParseError} If the rule string is invalid
200
200
  */
201
- static toAst(txt: string): ASTNode;
201
+ static toAst(txt: string, parser: any = null): ASTNode;
202
202
 
203
203
  /**
204
204
  * Parse a rule string into an Intermediate Language (IL) representation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halleyassist/rule-parser",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "The grammar for HalleyAssist rules",
5
5
  "main": "src/RuleParser.production.js",
6
6
  "browser": "./dist/rule-parser.browser.js",
@@ -24,6 +24,7 @@
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/node": "^25.1.0",
27
+ "assert": "^2.1.0",
27
28
  "browserify": "^17.0.1",
28
29
  "chai": "^4",
29
30
  "gulp": "^5.0.1",