@adobe/helix-html-pipeline 3.12.2 → 3.12.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
+ ## [3.12.4](https://github.com/adobe/helix-html-pipeline/compare/v3.12.3...v3.12.4) (2023-08-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency @adobe/helix-markdown-support to v6.3.1 ([1aab919](https://github.com/adobe/helix-html-pipeline/commit/1aab91936e4a343265cbb4bea6d6caa63e0379d0))
7
+
8
+ ## [3.12.3](https://github.com/adobe/helix-html-pipeline/compare/v3.12.2...v3.12.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)) ([6b0f77f](https://github.com/adobe/helix-html-pipeline/commit/6b0f77f834903cdd5494d3191ca8ba0f0a1d8ae2)), closes [#374](https://github.com/adobe/helix-html-pipeline/issues/374)
14
+
1
15
  ## [3.12.2](https://github.com/adobe/helix-html-pipeline/compare/v3.12.1...v3.12.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": "3.12.2",
3
+ "version": "3.12.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.0",
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.4",
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,25 +67,25 @@
67
67
  "unist-util-visit-parents": "6.0.1"
68
68
  },
69
69
  "devDependencies": {
70
- "@adobe/eslint-config-helix": "2.0.2",
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.4",
74
+ "@semantic-release/npm": "10.0.5",
75
75
  "c8": "8.0.1",
76
- "eslint": "8.46.0",
76
+ "eslint": "8.48.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.0",
80
- "esmock": "2.3.5",
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.2.3",
85
+ "lint-staged": "13.3.0",
86
86
  "mocha": "10.2.0",
87
87
  "mocha-multi-reporters": "1.5.1",
88
- "semantic-release": "21.0.7"
88
+ "semantic-release": "21.1.1"
89
89
  },
90
90
  "lint-staged": {
91
91
  "*.js": "eslint",
package/src/utils/auth.js CHANGED
@@ -181,7 +181,7 @@ export class AuthInfo {
181
181
  const { clientId, clientSecret } = idp.client(state);
182
182
  if (!clientId || !clientSecret) {
183
183
  log.error('[auth] unable to create login redirect: missing client_id or client_secret');
184
- res.status = 500;
184
+ res.status = 401;
185
185
  res.error = 'invalid auth config.';
186
186
  return;
187
187
  }