@nitro/app 9.4.0 → 9.4.1
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.
|
@@ -58,7 +58,7 @@ module.exports = function (Twig) {
|
|
|
58
58
|
|
|
59
59
|
if (include !== '') {
|
|
60
60
|
const includeArray = include.split(',');
|
|
61
|
-
filteredViews =
|
|
61
|
+
filteredViews = filteredViews.filter((viewItem) => {
|
|
62
62
|
return includeArray.some((includeString) => {
|
|
63
63
|
return viewItem.url.indexOf(includeString) >= 0;
|
|
64
64
|
});
|
|
@@ -67,7 +67,7 @@ module.exports = function (Twig) {
|
|
|
67
67
|
|
|
68
68
|
if (exclude !== '') {
|
|
69
69
|
const excludeArray = exclude.split(',');
|
|
70
|
-
filteredViews =
|
|
70
|
+
filteredViews = filteredViews.filter((viewItem) => {
|
|
71
71
|
return excludeArray.every((excludeString) => {
|
|
72
72
|
return viewItem.url.indexOf(excludeString) === -1;
|
|
73
73
|
});
|
|
@@ -82,6 +82,8 @@ module.exports = function (Twig) {
|
|
|
82
82
|
markup.push('<li>For this include / exclude term, no pages where found</li>');
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
markup.push('</ul>');
|
|
86
|
+
|
|
85
87
|
// return the markup
|
|
86
88
|
return {
|
|
87
89
|
chain,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nitro/app",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.1",
|
|
4
4
|
"description": "Nitro server",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"cookie-session": "2.1.0",
|
|
40
40
|
"config": "3.3.12",
|
|
41
41
|
"dot-object": "2.1.5",
|
|
42
|
-
"express": "4.21.
|
|
42
|
+
"express": "4.21.2",
|
|
43
43
|
"extend": "3.0.2",
|
|
44
44
|
"globby": "11.1.0",
|
|
45
45
|
"hbs": "4.2.0",
|
|
46
46
|
"hbs-utils": "0.0.4",
|
|
47
47
|
"html-validate": "7.18.1",
|
|
48
|
-
"i18next": "
|
|
49
|
-
"i18next-http-middleware": "3.
|
|
50
|
-
"i18next-fs-backend": "2.
|
|
48
|
+
"i18next": "24.1.2",
|
|
49
|
+
"i18next-http-middleware": "3.7.0",
|
|
50
|
+
"i18next-fs-backend": "2.6.0",
|
|
51
51
|
"i18next-sprintf-postprocessor": "0.2.2",
|
|
52
|
-
"jasmine": "5.
|
|
53
|
-
"jasmine-core": "5.
|
|
52
|
+
"jasmine": "5.5.0",
|
|
53
|
+
"jasmine-core": "5.5.0",
|
|
54
54
|
"lodash": "4.17.21",
|
|
55
55
|
"twig": "1.13.3",
|
|
56
56
|
"webpack": "4.47.0",
|