pacc 8.11.2 → 8.11.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "8.11.2",
3
+ "version": "8.11.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -48,7 +48,7 @@
48
48
  "typescript": "^5.9.3"
49
49
  },
50
50
  "engines": {
51
- "node": ">=24.13.0"
51
+ "node": ">=24.13.1"
52
52
  },
53
53
  "repository": {
54
54
  "type": "git",
@@ -56,7 +56,7 @@ export function parseOnly(input, context = {}) {
56
56
 
57
57
  advance();
58
58
 
59
- return parser.expression(token.precedence);
59
+ return parser.expression(0);
60
60
  }
61
61
 
62
62
  export function parse(input, context) {
package/src/tokens.mjs CHANGED
@@ -93,7 +93,7 @@ export /** @type {Token} */ const MINUS = createBinopToken(
93
93
  (left, right) => left - right
94
94
  );
95
95
 
96
- MINUS.nud = (parser) => - parser.value;
96
+ MINUS.nud = (parser) => - parser.expression(100);
97
97
 
98
98
  export /** @type {Token} */ const STAR = createBinopToken(
99
99
  "*",