pacc 4.39.0 → 4.39.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "4.39.0",
3
+ "version": "4.39.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -248,12 +248,15 @@ export function parse(input, context = { globals }) {
248
248
  }
249
249
  }
250
250
  left.path.push(args);
251
- left.eval = node => {
251
+ left.eval = (node, current) => {
252
252
  const args = node.path[1].map(a =>
253
- typeof a === "object" ? a.eval(a) : a
253
+ typeof a === "object" ? a.eval(a,current) : a
254
254
  );
255
255
  return context.globals[node.path[0]](...args);
256
256
  };
257
+
258
+ advance();
259
+
257
260
  return left;
258
261
  }
259
262
  break;