@adobe/helix-html-pipeline 6.29.11 → 6.29.12

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,10 @@
1
+ ## [6.29.12](https://github.com/adobe/helix-html-pipeline/compare/v6.29.11...v6.29.12) (2026-08-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * return raw body for non-object json root in raw mode for code bus ([#1123](https://github.com/adobe/helix-html-pipeline/issues/1123)) ([7fffba9](https://github.com/adobe/helix-html-pipeline/commit/7fffba9d4384d895915d7d5a0bd344e4ae638880))
7
+
1
8
  ## [6.29.11](https://github.com/adobe/helix-html-pipeline/compare/v6.29.10...v6.29.11) (2026-08-11)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "6.29.11",
3
+ "version": "6.29.12",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -65,6 +65,10 @@ export default function jsonFilter(state, res, query) {
65
65
  }
66
66
 
67
67
  if (json === null || typeof json !== 'object' || Array.isArray(json)) {
68
+ if (raw && sourceBus === 'code') {
69
+ res.body = data;
70
+ return;
71
+ }
68
72
  throw new PipelineStatusError(sourceBus === 'code' ? 400 : 502, 'json sheet is not an object.');
69
73
  }
70
74