@remix-run/server-runtime
Advanced tools
Comparing version 0.0.0-experimental-0a311ab2 to 0.0.0-experimental-0ca12e30
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -91,3 +91,3 @@ * Copyright (c) Remix Software Inc. | ||
if (result === undefined) { | ||
throw new Error(`You defined an action for route "${match.route.id}" but didn't return ` + `anything from your \`action\` function. Please return a value or \`null\`.`); | ||
throw new Error(`You defined a loader for route "${match.route.id}" but didn't return ` + `anything from your \`loader\` function. Please return a value or \`null\`.`); | ||
} | ||
@@ -114,3 +114,3 @@ | ||
return new Request(url.toString(), request); | ||
return new Request(url.href, request); | ||
} | ||
@@ -121,3 +121,3 @@ | ||
url.searchParams.delete("_data"); | ||
return new Request(url.toString(), request); | ||
return new Request(url.href, request); | ||
} | ||
@@ -124,0 +124,0 @@ |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -87,3 +87,3 @@ * Copyright (c) Remix Software Inc. | ||
if (result === undefined) { | ||
throw new Error(`You defined an action for route "${match.route.id}" but didn't return ` + `anything from your \`action\` function. Please return a value or \`null\`.`); | ||
throw new Error(`You defined a loader for route "${match.route.id}" but didn't return ` + `anything from your \`loader\` function. Please return a value or \`null\`.`); | ||
} | ||
@@ -110,3 +110,3 @@ | ||
return new Request(url.toString(), request); | ||
return new Request(url.href, request); | ||
} | ||
@@ -117,3 +117,3 @@ | ||
url.searchParams.delete("_data"); | ||
return new Request(url.toString(), request); | ||
return new Request(url.href, request); | ||
} | ||
@@ -120,0 +120,0 @@ |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -370,3 +370,3 @@ * Copyright (c) Remix Software Inc. | ||
if (root && root.module.CatchBoundary) { | ||
if (root !== null && root !== void 0 && root.module.CatchBoundary) { | ||
appState.catchBoundaryRouteId = "root"; | ||
@@ -373,0 +373,0 @@ renderableMatches.push({ |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -95,3 +95,3 @@ * Copyright (c) Remix Software Inc. | ||
}) { | ||
let cookie = isCookie(cookieArg) ? cookieArg : createCookie(cookieArg && cookieArg.name || "__session", cookieArg); | ||
let cookie = isCookie(cookieArg) ? cookieArg : createCookie((cookieArg === null || cookieArg === void 0 ? void 0 : cookieArg.name) || "__session", cookieArg); | ||
warnOnceAboutSigningSessionCookie(cookie); | ||
@@ -98,0 +98,0 @@ return { |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -26,3 +26,3 @@ * Copyright (c) Remix Software Inc. | ||
} = {}) { | ||
let cookie = isCookie(cookieArg) ? cookieArg : createCookie(cookieArg && cookieArg.name || "__session", cookieArg); | ||
let cookie = isCookie(cookieArg) ? cookieArg : createCookie((cookieArg === null || cookieArg === void 0 ? void 0 : cookieArg.name) || "__session", cookieArg); | ||
warnOnceAboutSigningSessionCookie(cookie); | ||
@@ -29,0 +29,0 @@ return { |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "@remix-run/server-runtime", | ||
"description": "Server runtime for Remix", | ||
"version": "0.0.0-experimental-0a311ab2", | ||
"version": "0.0.0-experimental-0ca12e30", | ||
"license": "MIT", | ||
@@ -20,3 +20,3 @@ "main": "./index.js", | ||
"jsesc": "^3.0.1", | ||
"react-router-dom": "^6.1.1", | ||
"react-router-dom": "^6.2.1", | ||
"set-cookie-parser": "^2.4.8", | ||
@@ -23,0 +23,0 @@ "source-map": "^0.7.3" |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -374,3 +374,3 @@ * Copyright (c) Remix Software Inc. | ||
if (root && root.module.CatchBoundary) { | ||
if (root !== null && root !== void 0 && root.module.CatchBoundary) { | ||
appState.catchBoundaryRouteId = "root"; | ||
@@ -377,0 +377,0 @@ renderableMatches.push({ |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -99,3 +99,3 @@ * Copyright (c) Remix Software Inc. | ||
}) { | ||
let cookie = cookies.isCookie(cookieArg) ? cookieArg : cookies.createCookie(cookieArg && cookieArg.name || "__session", cookieArg); | ||
let cookie = cookies.isCookie(cookieArg) ? cookieArg : cookies.createCookie((cookieArg === null || cookieArg === void 0 ? void 0 : cookieArg.name) || "__session", cookieArg); | ||
warnOnceAboutSigningSessionCookie(cookie); | ||
@@ -102,0 +102,0 @@ return { |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -30,3 +30,3 @@ * Copyright (c) Remix Software Inc. | ||
} = {}) { | ||
let cookie = cookies.isCookie(cookieArg) ? cookieArg : cookies.createCookie(cookieArg && cookieArg.name || "__session", cookieArg); | ||
let cookie = cookies.isCookie(cookieArg) ? cookieArg : cookies.createCookie((cookieArg === null || cookieArg === void 0 ? void 0 : cookieArg.name) || "__session", cookieArg); | ||
sessions.warnOnceAboutSigningSessionCookie(cookie); | ||
@@ -33,0 +33,0 @@ return { |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.0.0-experimental-0a311ab2 | ||
* @remix-run/server-runtime v0.0.0-experimental-0ca12e30 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112018
1
23
274
Updatedreact-router-dom@^6.2.1