@adobe/helix-shared-config 11.1.7 → 11.1.9

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
@@ -1,3 +1,17 @@
1
+ # [@adobe/helix-shared-config-v11.1.9](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config-v11.1.8...@adobe/helix-shared-config-v11.1.9) (2025-08-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([#1125](https://github.com/adobe/helix-shared/issues/1125)) ([dc41928](https://github.com/adobe/helix-shared/commit/dc41928ef3f4432e2b89f6212773479c2a22f8ae))
7
+
8
+ # [@adobe/helix-shared-config-v11.1.8](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config-v11.1.7...@adobe/helix-shared-config-v11.1.8) (2025-06-13)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * collapse modifiers ([#1102](https://github.com/adobe/helix-shared/issues/1102)) ([90947fd](https://github.com/adobe/helix-shared/commit/90947fd5acb43dd685c644dd703f89f14ac8710f))
14
+
1
15
  # [@adobe/helix-shared-config-v11.1.7](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config-v11.1.6...@adobe/helix-shared-config-v11.1.7) (2025-06-02)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-shared-config",
3
- "version": "11.1.7",
3
+ "version": "11.1.9",
4
4
  "description": "Shared modules of the Helix Project - config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -43,10 +43,10 @@
43
43
  "ajv": "8.17.1",
44
44
  "ajv-formats": "3.0.1",
45
45
  "cookie": "1.0.2",
46
- "fs-extra": "11.3.0",
46
+ "fs-extra": "11.3.1",
47
47
  "ignore": "7.0.5",
48
48
  "lru-cache": "11.1.0",
49
- "yaml": "2.8.0"
49
+ "yaml": "2.8.1"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@adobe/helix-shared-wrap": "^1.0.5",
@@ -99,16 +99,16 @@ export class ModifiersConfig {
99
99
  if (keyFilter(k)) {
100
100
  let entry = res[url];
101
101
  if (!entry) {
102
- entry = [];
102
+ entry = Object.create(null);
103
103
  res[url] = entry;
104
104
  }
105
- entry.push({ key: k, value: v });
105
+ entry[k] = v;
106
106
  }
107
107
  };
108
108
 
109
109
  // note that all values are strings, i.e. never another falsy value
110
110
  if ('key' in row && 'value' in row && key && value) {
111
- put(key, value);
111
+ put(key.toLowerCase(), value);
112
112
  } else {
113
113
  Object.entries(rest).forEach(([k, v]) => {
114
114
  if (k && v) {
@@ -118,6 +118,10 @@ export class ModifiersConfig {
118
118
  }
119
119
  }
120
120
  }
121
+ // convert res back to key/value pairs
122
+ for (const [url, mods] of Object.entries(res)) {
123
+ res[url] = Object.entries(mods).map(([key, value]) => ({ key, value }));
124
+ }
121
125
  return res;
122
126
  }
123
127