@netlify/redirects 1.1.0 → 1.1.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.
- package/dist/main.js +1 -2
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -70,8 +70,7 @@ var createRewriter = async function({
|
|
|
70
70
|
];
|
|
71
71
|
const redirects = await parseRedirects({ configRedirects, redirectsFiles, configPath });
|
|
72
72
|
const getMatcher = async () => {
|
|
73
|
-
if (matcher)
|
|
74
|
-
return matcher;
|
|
73
|
+
if (matcher) return matcher;
|
|
75
74
|
if (redirects.length !== 0) {
|
|
76
75
|
return matcher = await redirector.parseJSON(JSON.stringify(redirects), {
|
|
77
76
|
jwtSecret,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/redirects",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "JavaScript implementtion of Netlify's static file serving logic",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"test": "test"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@netlify/dev-utils": "
|
|
52
|
+
"@netlify/dev-utils": "2.0.0",
|
|
53
53
|
"@types/http-proxy": "^1.17.16",
|
|
54
54
|
"@types/jsonwebtoken": "9.0.9"
|
|
55
55
|
},
|