@adobe/helix-html-pipeline 3.11.11 → 3.11.13
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 +1 -1
- package/src/json-pipe.js +1 -1
- package/src/steps/create-pictures.js +0 -1
- package/src/utils/json-filter.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.11.13](https://github.com/adobe/helix-html-pipeline/compare/v3.11.12...v3.11.13) (2023-06-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove type attribute from img tag ([#330](https://github.com/adobe/helix-html-pipeline/issues/330)) ([0272ea8](https://github.com/adobe/helix-html-pipeline/commit/0272ea8652e651581c1e29fd8ccd707fd1df3104)), closes [#319](https://github.com/adobe/helix-html-pipeline/issues/319)
|
|
7
|
+
|
|
8
|
+
## [3.11.12](https://github.com/adobe/helix-html-pipeline/compare/v3.11.11...v3.11.12) (2023-06-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* return multisheet for any multisheet query ([65d6e21](https://github.com/adobe/helix-html-pipeline/commit/65d6e21ab40611689ef59af949917805c941f116))
|
|
14
|
+
|
|
1
15
|
## [3.11.11](https://github.com/adobe/helix-html-pipeline/compare/v3.11.10...v3.11.11) (2023-06-03)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
package/src/json-pipe.js
CHANGED
|
@@ -131,7 +131,7 @@ export async function jsonPipe(state, req) {
|
|
|
131
131
|
state.timer?.update('json-fetch');
|
|
132
132
|
let contentPromise = await fetchJsonContent(state, req, res);
|
|
133
133
|
if (res.status === 404) {
|
|
134
|
-
|
|
134
|
+
folderMapping(state);
|
|
135
135
|
if (state.info.unmappedPath) {
|
|
136
136
|
contentPromise = fetchJsonContent(state, req, res);
|
|
137
137
|
}
|
package/src/utils/json-filter.js
CHANGED
|
@@ -96,7 +96,7 @@ export default function jsonFilter(state, res, query) {
|
|
|
96
96
|
|
|
97
97
|
let body;
|
|
98
98
|
let type = 'sheet';
|
|
99
|
-
if (sheetNames.length === 1) {
|
|
99
|
+
if (sheetNames.length === 1 && requestedSheets.length < 2) {
|
|
100
100
|
body = sheets[sheetNames[0]];
|
|
101
101
|
} else {
|
|
102
102
|
type = 'multi-sheet';
|