@adobe/helix-shared-config 11.0.2 → 11.0.4

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.0.4](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config-v11.0.3...@adobe/helix-shared-config-v11.0.4) (2024-10-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([b79efa9](https://github.com/adobe/helix-shared/commit/b79efa949400ab96768b98c63147eca5f06caaf7))
7
+
8
+ # [@adobe/helix-shared-config-v11.0.3](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config-v11.0.2...@adobe/helix-shared-config-v11.0.3) (2024-10-09)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * getErrors should be available in all configs ([#1013](https://github.com/adobe/helix-shared/issues/1013)) ([d607cd3](https://github.com/adobe/helix-shared/commit/d607cd301f9f5719ab85e00d19ca1b41ba9e0e5e))
14
+
1
15
  # [@adobe/helix-shared-config-v11.0.2](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config-v11.0.1...@adobe/helix-shared-config-v11.0.2) (2024-10-05)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-shared-config",
3
- "version": "11.0.2",
3
+ "version": "11.0.4",
4
4
  "description": "Shared modules of the Helix Project - config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "@adobe/helix-shared-utils": "^2.1.0",
43
43
  "ajv": "8.17.1",
44
44
  "ajv-formats": "3.0.1",
45
- "cookie": "0.7.1",
45
+ "cookie": "0.7.2",
46
46
  "fs-extra": "11.2.0",
47
47
  "ignore": "6.0.2",
48
48
  "lru-cache": "11.0.1",
package/src/BaseConfig.js CHANGED
@@ -220,4 +220,13 @@ export class BaseConfig {
220
220
  }
221
221
  return YAML.stringify(this.toJSON());
222
222
  }
223
+
224
+ /**
225
+ * Return errors encountered in parsing.
226
+ *
227
+ * @returns {String[]} parsing errors
228
+ */
229
+ getErrors() {
230
+ return this._document?.errors ?? [];
231
+ }
223
232
  }
@@ -193,13 +193,4 @@ export class IndexConfig extends SchemaDerivedConfig {
193
193
  this._version = this._cfg.version;
194
194
  return this;
195
195
  }
196
-
197
- /**
198
- * Return errors encountered in parsing.
199
- *
200
- * @returns {String[]} parsing errors
201
- */
202
- getErrors() {
203
- return this._document?.errors ?? [];
204
- }
205
196
  }