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.
- package/package.json +1 -1
- package/src/core.mjs +2 -4
package/package.json
CHANGED
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
|
|
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
|
|