pmcf 6.41.5 → 6.41.6

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/package.json +1 -1
  2. package/src/core.mjs +2 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.41.5",
3
+ "version": "6.41.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/core.mjs CHANGED
@@ -304,16 +304,14 @@ export class core {
304
304
  /**
305
305
  *
306
306
  * @param {string} expression
307
- * @param {object} options
308
307
  * @returns {any}
309
308
  */
310
- expression(expression, options) {
309
+ expression(expression) {
311
310
  return parse(expression, {
312
311
  root: this.root,
313
312
  current: this,
314
313
  valueFor: (name, at) =>
315
- typeof at?.value === "function" ? at.value(name) : globals[name],
316
- ...options
314
+ typeof at?.value === "function" ? at.value(name) : globals[name]
317
315
  });
318
316
  }
319
317