@adobe/helix-html-pipeline 6.29.9 → 6.29.11
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 +11 -11
- package/src/utils/json-filter.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [6.29.11](https://github.com/adobe/helix-html-pipeline/compare/v6.29.10...v6.29.11) (2026-08-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* reject non-object json root (incl. null) in json-filter ([#1122](https://github.com/adobe/helix-html-pipeline/issues/1122)) ([241e960](https://github.com/adobe/helix-html-pipeline/commit/241e960544f15f06e258847a97666e64259d51fc)), closes [#1121](https://github.com/adobe/helix-html-pipeline/issues/1121)
|
|
7
|
+
|
|
8
|
+
## [6.29.10](https://github.com/adobe/helix-html-pipeline/compare/v6.29.9...v6.29.10) (2026-08-11)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update adobe fixes ([#1120](https://github.com/adobe/helix-html-pipeline/issues/1120)) ([bbe19f2](https://github.com/adobe/helix-html-pipeline/commit/bbe19f2306424d5179dfc082ed94aa44b1202aa3))
|
|
14
|
+
|
|
1
15
|
## [6.29.9](https://github.com/adobe/helix-html-pipeline/compare/v6.29.8...v6.29.9) (2026-07-28)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-html-pipeline",
|
|
3
|
-
"version": "6.29.
|
|
3
|
+
"version": "6.29.11",
|
|
4
4
|
"description": "Helix HTML Pipeline",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"node": ">=16.x"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@adobe/helix-markdown-support": "7.1.
|
|
45
|
+
"@adobe/helix-markdown-support": "7.1.23",
|
|
46
46
|
"@adobe/helix-shared-utils": "3.0.2",
|
|
47
47
|
"@adobe/mdast-util-gridtables": "4.0.19",
|
|
48
48
|
"@adobe/remark-gridtables": "3.0.20",
|
|
@@ -70,27 +70,27 @@
|
|
|
70
70
|
"unist-util-visit-parents": "6.0.2"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@adobe/eslint-config-helix": "3.0.
|
|
74
|
-
"@eslint/config-helpers": "0.
|
|
73
|
+
"@adobe/eslint-config-helix": "3.0.30",
|
|
74
|
+
"@eslint/config-helpers": "0.7.0",
|
|
75
75
|
"@markedjs/html-differ": "5.0.5",
|
|
76
|
-
"@semantic-release/changelog": "
|
|
77
|
-
"@semantic-release/git": "
|
|
76
|
+
"@semantic-release/changelog": "7.0.0",
|
|
77
|
+
"@semantic-release/git": "11.0.1",
|
|
78
78
|
"@semantic-release/npm": "13.1.5",
|
|
79
|
-
"c8": "
|
|
79
|
+
"c8": "12.0.0",
|
|
80
80
|
"eslint": "9.4.0",
|
|
81
81
|
"eslint-import-resolver-exports": "1.0.0-beta.5",
|
|
82
82
|
"eslint-plugin-header": "3.1.1",
|
|
83
83
|
"eslint-plugin-import": "2.32.0",
|
|
84
84
|
"esmock": "2.7.6",
|
|
85
85
|
"husky": "9.1.7",
|
|
86
|
-
"js-yaml": "5.2.
|
|
87
|
-
"jsdom": "
|
|
86
|
+
"js-yaml": "5.2.2",
|
|
87
|
+
"jsdom": "30.0.0",
|
|
88
88
|
"junit-report-builder": "5.1.2",
|
|
89
|
-
"lint-staged": "17.0
|
|
89
|
+
"lint-staged": "17.2.0",
|
|
90
90
|
"mocha": "11.7.6",
|
|
91
91
|
"mocha-multi-reporters": "1.5.1",
|
|
92
92
|
"mocha-suppress-logs": "0.6.0",
|
|
93
|
-
"semantic-release": "25.0.
|
|
93
|
+
"semantic-release": "25.0.8"
|
|
94
94
|
},
|
|
95
95
|
"lint-staged": {
|
|
96
96
|
"*.js": "eslint",
|
package/src/utils/json-filter.js
CHANGED
|
@@ -64,6 +64,10 @@ export default function jsonFilter(state, res, query) {
|
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
if (json === null || typeof json !== 'object' || Array.isArray(json)) {
|
|
68
|
+
throw new PipelineStatusError(sourceBus === 'code' ? 400 : 502, 'json sheet is not an object.');
|
|
69
|
+
}
|
|
70
|
+
|
|
67
71
|
// when raw request, only handle multisheets.
|
|
68
72
|
if (raw && !(NAMES_KEY in json)) {
|
|
69
73
|
res.body = data;
|