@digipair/engine 0.0.11 → 0.1.0

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/index.esm.js CHANGED
@@ -12438,10 +12438,7 @@ const applyTemplate = (value, context)=>{
12438
12438
  result = jsonpath_min.exports.value(context, path);
12439
12439
  }
12440
12440
  } else if (typeof value === 'object' && Array.isArray(value)) {
12441
- result = [];
12442
- (value || []).forEach((attributeValue, key)=>{
12443
- result[key] = applyTemplate(attributeValue, context);
12444
- });
12441
+ result = value;
12445
12442
  } else if (typeof value === 'object') {
12446
12443
  result = {};
12447
12444
  Object.entries(value || {}).forEach(([key, attributeValue])=>{
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@digipair/engine",
3
- "version": "0.0.11",
3
+ "version": "0.1.0",
4
4
  "dependencies": {},
5
- "type": "module",
6
- "main": "./index.esm.js",
5
+ "main": "./index.cjs.js",
7
6
  "module": "./index.esm.js"
8
7
  }
File without changes