@vixoniccom/modules 2.25.0-dev.7 → 2.25.0-dev.8

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [2.25.0-dev.8](https://github.com/Vixonic/store-modules/compare/v2.25.0-dev.7...v2.25.0-dev.8) (2026-03-31)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * correct regex pattern in duration formula evaluation ([94b3d4e](https://github.com/Vixonic/store-modules/commit/94b3d4edbda799a539f6feea829ddaa7f427df02))
11
+
5
12
  ## [2.25.0-dev.7](https://github.com/Vixonic/store-modules/compare/v2.25.0-dev.2...v2.25.0-dev.7) (2026-03-31)
6
13
 
7
14
 
package/dist/lib/index.js CHANGED
@@ -79,7 +79,7 @@ var Configuration = /** @class */ (function () {
79
79
  if (!this.durationFormula)
80
80
  return undefined;
81
81
  try {
82
- var regexp = /{{(.*?)}}/ig;
82
+ var regexp = /{{([^}]*)}}/ig;
83
83
  var jsEval = this.durationFormula.replace(regexp, "_values.$1");
84
84
  // Run in an isolated context: no access to require, process, or any Node global
85
85
  var time = vm.runInNewContext(jsEval, { _values: _values });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vixoniccom/modules",
3
- "version": "2.25.0-dev.7",
3
+ "version": "2.25.0-dev.8",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",