@adobe/helix-shared-config 10.6.9 → 11.0.1
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 +19 -0
- package/package.json +1 -1
- package/src/IndexConfig.js +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# [@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
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* do not throw but provide errors ([#1002](https://github.com/adobe/helix-shared/issues/1002)) ([3cdd7ca](https://github.com/adobe/helix-shared/commit/3cdd7ca125dd30c69317494fe068b79dbcc980e0))
|
|
7
|
+
|
|
8
|
+
# [@adobe/helix-shared-config-v11.0.0](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config-v10.6.9...@adobe/helix-shared-config-v11.0.0) (2024-09-25)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* IndexConfig should not allow broken config ([#1001](https://github.com/adobe/helix-shared/issues/1001)) ([35f28d1](https://github.com/adobe/helix-shared/commit/35f28d1f16e501eebce848ca4b0d89701107f252))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### BREAKING CHANGES
|
|
17
|
+
|
|
18
|
+
* some indexing configurations will no longer be accepted
|
|
19
|
+
|
|
1
20
|
# [@adobe/helix-shared-config-v10.6.9](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config-v10.6.8...@adobe/helix-shared-config-v10.6.9) (2024-09-24)
|
|
2
21
|
|
|
3
22
|
|
package/package.json
CHANGED
package/src/IndexConfig.js
CHANGED
|
@@ -193,4 +193,13 @@ 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
|
+
}
|
|
196
205
|
}
|