@adobe/helix-shared-config 1.4.6 → 1.5.2
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 +42 -0
- package/package.json +6 -6
- package/src/ValidationError.js +4 -1
- package/src/schemas/index.schema.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.5.2](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config@1.5.1...@adobe/helix-shared-config@1.5.2) (2021-11-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependency lint-staged to v12 ([#599](https://github.com/adobe/helix-shared/issues/599)) ([5ccc345](https://github.com/adobe/helix-shared/commit/5ccc3452dd9830f26f90d59d2067eea163dd8173))
|
|
12
|
+
* **deps:** update external fixes ([3325d4d](https://github.com/adobe/helix-shared/commit/3325d4d7f37dfa0cc7b41d5cb5ef718a0361c966))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [1.5.1](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config@1.5.0...@adobe/helix-shared-config@1.5.1) (2021-11-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **deps:** update external fixes ([a8dc79e](https://github.com/adobe/helix-shared/commit/a8dc79ee25573553aa5747478b66080888df2240))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# [1.5.0](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config@1.4.7...@adobe/helix-shared-config@1.5.0) (2021-11-11)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* target URI should be allowed relative ([#597](https://github.com/adobe/helix-shared/issues/597)) ([d8327c3](https://github.com/adobe/helix-shared/commit/d8327c34bd3770a2e8151f74555312c18e129b27))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## [1.4.7](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config@1.4.6...@adobe/helix-shared-config@1.4.7) (2021-11-09)
|
|
41
|
+
|
|
42
|
+
**Note:** Version bump only for package @adobe/helix-shared-config
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
## [1.4.6](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config@1.4.5...@adobe/helix-shared-config@1.4.6) (2021-11-06)
|
|
7
49
|
|
|
8
50
|
**Note:** Version bump only for package @adobe/helix-shared-config
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-shared-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Shared modules of the Helix Project - config",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@adobe/helix-fetch": "3.0.0",
|
|
27
|
-
"@adobe/helix-shared-git": "^1.0
|
|
27
|
+
"@adobe/helix-shared-git": "^1.1.0",
|
|
28
28
|
"@adobe/helix-shared-prune": "^1.0.0",
|
|
29
|
-
"@adobe/helix-shared-utils": "^1.0.
|
|
30
|
-
"ajv": "8.
|
|
29
|
+
"@adobe/helix-shared-utils": "^1.0.4",
|
|
30
|
+
"ajv": "8.8.1",
|
|
31
31
|
"ajv-formats": "2.1.1",
|
|
32
32
|
"fs-extra": "10.0.0",
|
|
33
33
|
"ignore": "5.1.9",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@pollyjs/adapter-node-http": "5.1.1",
|
|
43
43
|
"@pollyjs/core": "5.1.1",
|
|
44
44
|
"@pollyjs/persister-fs": "5.1.1",
|
|
45
|
-
"nock": "13.1
|
|
45
|
+
"nock": "13.2.1"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "a6674ba1faa802e24d50cbc14cb371552651c48e"
|
|
48
48
|
}
|
package/src/ValidationError.js
CHANGED
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
|
|
14
14
|
class ValidationError extends Error {
|
|
15
15
|
constructor(
|
|
16
|
-
msg,
|
|
16
|
+
msg,
|
|
17
|
+
errors = [],
|
|
18
|
+
mapError = ValidationError.mapError,
|
|
19
|
+
prettyname = ValidationError.prettyname,
|
|
17
20
|
) {
|
|
18
21
|
const detail = errors.map((e) => mapError(e, prettyname)).join('\n');
|
|
19
22
|
super(`Invalid configuration:
|