@adobe/helix-html-pipeline 3.1.0 → 3.1.3
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 +21 -0
- package/package.json +6 -6
- package/src/utils/json-filter.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [3.1.3](https://github.com/adobe/helix-html-pipeline/compare/v3.1.2...v3.1.3) (2022-07-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* return 200 with no default sheet, 404 with unmatched sheet filter ([0a11392](https://github.com/adobe/helix-html-pipeline/commit/0a11392d8858dcc8f7b96353ecc76003a2e2ec07))
|
|
7
|
+
|
|
8
|
+
## [3.1.2](https://github.com/adobe/helix-html-pipeline/compare/v3.1.1...v3.1.2) (2022-07-09)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update dependency @adobe/helix-markdown-support to v3.1.7 ([8dd9cf2](https://github.com/adobe/helix-html-pipeline/commit/8dd9cf22bd3ea1414d2028a84ad52ff8b31b1853))
|
|
14
|
+
|
|
15
|
+
## [3.1.1](https://github.com/adobe/helix-html-pipeline/compare/v3.1.0...v3.1.1) (2022-07-09)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **deps:** update dependency mdast-util-to-hast to v12.1.2 ([1c863bc](https://github.com/adobe/helix-html-pipeline/commit/1c863bcb06ef8af8ac3c6367121fa3a71aad38f5))
|
|
21
|
+
|
|
1
22
|
# [3.1.0](https://github.com/adobe/helix-html-pipeline/compare/v3.0.2...v3.1.0) (2022-06-24)
|
|
2
23
|
|
|
3
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-html-pipeline",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "Helix HTML Pipeline",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node": ">=16.x"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@adobe/helix-markdown-support": "3.1.
|
|
36
|
+
"@adobe/helix-markdown-support": "3.1.7",
|
|
37
37
|
"@adobe/helix-shared-utils": "2.0.11",
|
|
38
38
|
"cookie": "0.5.0",
|
|
39
39
|
"github-slugger": "1.4.0",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"hast-util-to-html": "8.0.3",
|
|
43
43
|
"hast-util-to-string": "2.0.0",
|
|
44
44
|
"hastscript": "7.0.2",
|
|
45
|
-
"jose": "4.8.
|
|
45
|
+
"jose": "4.8.3",
|
|
46
46
|
"mdast-util-gfm-footnote": "1.0.1",
|
|
47
47
|
"mdast-util-gfm-strikethrough": "1.0.1",
|
|
48
48
|
"mdast-util-gfm-table": "1.0.4",
|
|
49
49
|
"mdast-util-gfm-task-list-item": "1.0.1",
|
|
50
|
-
"mdast-util-to-hast": "12.1.
|
|
50
|
+
"mdast-util-to-hast": "12.1.2",
|
|
51
51
|
"mdast-util-to-string": "3.1.0",
|
|
52
52
|
"micromark-extension-gfm-footnote": "1.0.4",
|
|
53
53
|
"micromark-extension-gfm-strikethrough": "1.0.4",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@semantic-release/git": "10.0.1",
|
|
76
76
|
"@semantic-release/npm": "9.0.1",
|
|
77
77
|
"c8": "7.11.3",
|
|
78
|
-
"eslint": "8.
|
|
78
|
+
"eslint": "8.19.0",
|
|
79
79
|
"eslint-plugin-header": "3.1.1",
|
|
80
80
|
"eslint-plugin-import": "2.26.0",
|
|
81
81
|
"esmock": "1.7.5",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"jsdoc-to-markdown": "7.1.1",
|
|
85
85
|
"jsdom": "20.0.0",
|
|
86
86
|
"junit-report-builder": "3.0.0",
|
|
87
|
-
"lint-staged": "13.0.
|
|
87
|
+
"lint-staged": "13.0.3",
|
|
88
88
|
"mocha": "10.0.0",
|
|
89
89
|
"mocha-multi-reporters": "1.5.1",
|
|
90
90
|
"remark-gfm": "3.0.1",
|
package/src/utils/json-filter.js
CHANGED
|
@@ -110,7 +110,7 @@ export default function jsonFilter(state, data, query) {
|
|
|
110
110
|
sheets[name] = filter(json[name]);
|
|
111
111
|
sheetNames.push(name);
|
|
112
112
|
});
|
|
113
|
-
if (sheetNames.length === 0) {
|
|
113
|
+
if (sheetNames.length === 0 && requestedSheets.length > 0) {
|
|
114
114
|
const msg = `filtered result does not contain selected sheet(s): ${requestedSheets.join(',')}`;
|
|
115
115
|
log.info(msg);
|
|
116
116
|
return new PipelineResponse('', {
|