@remix-run/server-runtime
Advanced tools
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+13
-3
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -104,3 +104,3 @@ * Copyright (c) Remix Software Inc. | ||
| let manifestUrl = `${_build.basename ?? "/"}/__manifest`.replace(/\/+/g, "/"); | ||
| if (url.pathname === manifestUrl) { | ||
| if (url.pathname === manifestUrl && _build.future.v3_lazyRouteDiscovery) { | ||
| try { | ||
@@ -189,2 +189,12 @@ let res = await handleManifestRequest(_build, routes, url); | ||
| } | ||
| // 7.5k to come in under the ~8k limit for most browsers | ||
| // https://stackoverflow.com/a/417184 | ||
| let URL_LIMIT = 7680; | ||
| if (url.toString().length > URL_LIMIT) { | ||
| return new Response(null, { | ||
| statusText: "Bad Request", | ||
| status: 400 | ||
| }); | ||
| } | ||
| let patches = {}; | ||
@@ -312,3 +322,3 @@ if (url.searchParams.has("p")) { | ||
| try { | ||
| if (request.method === "POST") { | ||
| if (["POST", "PUT", "PATCH", "DELETE"].includes(request.method)) { | ||
| throwIfPotentialCSRFAttack(request.headers); | ||
@@ -315,0 +325,0 @@ } |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+13
-3
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -108,3 +108,3 @@ * Copyright (c) Remix Software Inc. | ||
| let manifestUrl = `${_build.basename ?? "/"}/__manifest`.replace(/\/+/g, "/"); | ||
| if (url.pathname === manifestUrl) { | ||
| if (url.pathname === manifestUrl && _build.future.v3_lazyRouteDiscovery) { | ||
| try { | ||
@@ -193,2 +193,12 @@ let res = await handleManifestRequest(_build, routes, url); | ||
| } | ||
| // 7.5k to come in under the ~8k limit for most browsers | ||
| // https://stackoverflow.com/a/417184 | ||
| let URL_LIMIT = 7680; | ||
| if (url.toString().length > URL_LIMIT) { | ||
| return new Response(null, { | ||
| statusText: "Bad Request", | ||
| status: 400 | ||
| }); | ||
| } | ||
| let patches = {}; | ||
@@ -316,3 +326,3 @@ if (url.searchParams.has("p")) { | ||
| try { | ||
| if (request.method === "POST") { | ||
| if (["POST", "PUT", "PATCH", "DELETE"].includes(request.method)) { | ||
| actions.throwIfPotentialCSRFAttack(request.headers); | ||
@@ -319,0 +329,0 @@ } |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+1
-1
| /** | ||
| * @remix-run/server-runtime v2.17.4 | ||
| * @remix-run/server-runtime v2.17.5 | ||
| * | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
+2
-2
| { | ||
| "name": "@remix-run/server-runtime", | ||
| "version": "2.17.4", | ||
| "version": "2.17.5", | ||
| "description": "Server runtime for Remix", | ||
@@ -19,3 +19,3 @@ "bugs": { | ||
| "dependencies": { | ||
| "@remix-run/router": "1.23.2", | ||
| "@remix-run/router": "1.23.3", | ||
| "@types/cookie": "^0.6.0", | ||
@@ -22,0 +22,0 @@ "@web3-storage/multipart-parser": "^1.0.0", |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
282383
0.24%5453
0.33%+ Added
- Removed
Updated