@adobe/helix-shared-config 11.0.1 → 11.0.3
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 +14 -0
- package/package.json +2 -2
- package/src/BaseConfig.js +9 -0
- package/src/IndexConfig.js +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@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)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 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))
|
|
7
|
+
|
|
8
|
+
# [@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)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update external fixes ([e99f045](https://github.com/adobe/helix-shared/commit/e99f045045d3d051fc96bc884c9d8e56a2276b6a))
|
|
14
|
+
|
|
1
15
|
# [@adobe/helix-shared-config-v11.0.1](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config-v11.0.0...@adobe/helix-shared-config-v11.0.1) (2024-09-26)
|
|
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.
|
|
3
|
+
"version": "11.0.3",
|
|
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.
|
|
45
|
+
"cookie": "0.7.1",
|
|
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
|
}
|
package/src/IndexConfig.js
CHANGED
|
@@ -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
|
}
|