@vercel/routing-utils 2.1.0 → 2.1.2
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/dist/superstatic.js +1 -0
- package/package.json +3 -3
package/dist/superstatic.js
CHANGED
|
@@ -247,6 +247,7 @@ function replaceSegments(segments, hasItemSegments, destination, isRedirect, int
|
|
|
247
247
|
query[key] = strOrArray.map(str => safelyCompile(unescapeSegments(str), indexes, true));
|
|
248
248
|
}
|
|
249
249
|
else {
|
|
250
|
+
// TODO: handle strOrArray is undefined
|
|
250
251
|
query[key] = safelyCompile(unescapeSegments(strOrArray), indexes, true);
|
|
251
252
|
}
|
|
252
253
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/routing-utils",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Vercel routing utilities",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/jest": "27.4.1",
|
|
26
|
-
"@types/node": "
|
|
26
|
+
"@types/node": "14.18.33",
|
|
27
27
|
"ajv": "^6.0.0",
|
|
28
28
|
"typescript": "4.3.4"
|
|
29
29
|
},
|
|
30
30
|
"optionalDependencies": {
|
|
31
31
|
"ajv": "^6.0.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "0964be17106419263b3f38d67784dd97b8b0c565"
|
|
34
34
|
}
|