@adobe/helix-html-pipeline 4.1.2 → 4.1.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 +14 -0
- package/package.json +9 -9
- package/src/utils/auth.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [4.1.4](https://github.com/adobe/helix-html-pipeline/compare/v4.1.3...v4.1.4) (2023-08-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency @adobe/helix-markdown-support to v6.3.1 ([#385](https://github.com/adobe/helix-html-pipeline/issues/385)) ([0c208fb](https://github.com/adobe/helix-html-pipeline/commit/0c208fb634f422e6c76f042c2f02b5ff099d2e63))
|
|
7
|
+
|
|
8
|
+
## [4.1.3](https://github.com/adobe/helix-html-pipeline/compare/v4.1.2...v4.1.3) (2023-08-04)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* respond with 401 for invalid auth config ([#375](https://github.com/adobe/helix-html-pipeline/issues/375)) ([84db035](https://github.com/adobe/helix-html-pipeline/commit/84db035f00d648d4daac99249978a6fb4d3d83f0)), closes [#374](https://github.com/adobe/helix-html-pipeline/issues/374)
|
|
14
|
+
|
|
1
15
|
## [4.1.2](https://github.com/adobe/helix-html-pipeline/compare/v4.1.1...v4.1.2) (2023-08-02)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-html-pipeline",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.4",
|
|
4
4
|
"description": "Helix HTML Pipeline",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"node": ">=16.x"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@adobe/helix-markdown-support": "6.3.
|
|
42
|
+
"@adobe/helix-markdown-support": "6.3.1",
|
|
43
43
|
"@adobe/helix-shared-utils": "3.0.0",
|
|
44
44
|
"@adobe/mdast-util-gridtables": "2.0.2",
|
|
45
45
|
"@adobe/remark-gridtables": "1.0.4",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"mdast-util-to-string": "4.0.0",
|
|
56
56
|
"mime": "3.0.0",
|
|
57
57
|
"rehype-format": "4.0.1",
|
|
58
|
-
"rehype-parse": "8.0.
|
|
58
|
+
"rehype-parse": "8.0.5",
|
|
59
59
|
"remark-parse": "10.0.2",
|
|
60
60
|
"strip-markdown": "5.0.1",
|
|
61
61
|
"unified": "10.1.2",
|
|
@@ -67,22 +67,22 @@
|
|
|
67
67
|
"unist-util-visit-parents": "6.0.1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@adobe/eslint-config-helix": "2.0.
|
|
70
|
+
"@adobe/eslint-config-helix": "2.0.3",
|
|
71
71
|
"@markedjs/html-differ": "4.0.2",
|
|
72
72
|
"@semantic-release/changelog": "6.0.3",
|
|
73
73
|
"@semantic-release/git": "10.0.1",
|
|
74
|
-
"@semantic-release/npm": "10.0.
|
|
74
|
+
"@semantic-release/npm": "10.0.5",
|
|
75
75
|
"c8": "8.0.1",
|
|
76
|
-
"eslint": "8.
|
|
76
|
+
"eslint": "8.47.0",
|
|
77
77
|
"eslint-import-resolver-exports": "1.0.0-beta.5",
|
|
78
78
|
"eslint-plugin-header": "3.1.1",
|
|
79
|
-
"eslint-plugin-import": "2.28.
|
|
80
|
-
"esmock": "2.3.
|
|
79
|
+
"eslint-plugin-import": "2.28.1",
|
|
80
|
+
"esmock": "2.3.8",
|
|
81
81
|
"husky": "8.0.3",
|
|
82
82
|
"js-yaml": "4.1.0",
|
|
83
83
|
"jsdom": "22.1.0",
|
|
84
84
|
"junit-report-builder": "3.0.1",
|
|
85
|
-
"lint-staged": "13.
|
|
85
|
+
"lint-staged": "13.3.0",
|
|
86
86
|
"mocha": "10.2.0",
|
|
87
87
|
"mocha-multi-reporters": "1.5.1",
|
|
88
88
|
"semantic-release": "21.0.7"
|
package/src/utils/auth.js
CHANGED
|
@@ -221,7 +221,7 @@ export class AuthInfo {
|
|
|
221
221
|
const { clientId, clientSecret } = idp.client(state);
|
|
222
222
|
if (!clientId || !clientSecret) {
|
|
223
223
|
log.error('[auth] unable to create login redirect: missing client_id or client_secret');
|
|
224
|
-
res.status =
|
|
224
|
+
res.status = 401;
|
|
225
225
|
res.error = 'invalid auth config.';
|
|
226
226
|
return;
|
|
227
227
|
}
|