pmcf 3.11.5 → 3.12.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": "pmcf",
3
- "version": "3.11.5",
3
+ "version": "3.12.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -53,7 +53,7 @@
53
53
  "dependencies": {
54
54
  "ip-utilties": "^1.4.9",
55
55
  "npm-pkgbuild": "^18.3.8",
56
- "pacc": "^4.39.0",
56
+ "pacc": "^4.39.1",
57
57
  "package-directory": "^8.1.0"
58
58
  },
59
59
  "devDependencies": {
package/src/base.mjs CHANGED
@@ -2,6 +2,7 @@ import { join } from "node:path";
2
2
  import { allOutputs } from "npm-pkgbuild";
3
3
  import {
4
4
  parse,
5
+ globals,
5
6
  expand,
6
7
  attributeIterator,
7
8
  default_attribute,
@@ -412,8 +413,8 @@ export class Base {
412
413
  return this.findService('type="smtp"');
413
414
  }
414
415
 
415
- expression(expression) {
416
- return parse(expression, { root: this });
416
+ expression(expression, options) {
417
+ return parse(expression, { root: this, globals, ...options });
417
418
  }
418
419
 
419
420
  /**
package/types/base.d.mts CHANGED
@@ -78,7 +78,7 @@ export class Base {
78
78
  get priority(): any;
79
79
  _priority: any;
80
80
  get smtp(): any;
81
- expression(expression: any): any;
81
+ expression(expression: any, options: any): any;
82
82
  /**
83
83
  *
84
84
  * @param {any} filter