Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remix-run/server-runtime

Package Overview
Dependencies
Maintainers
2
Versions
1042
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remix-run/server-runtime - npm Package Compare versions

Comparing version 0.0.0-experimental-db4e08b8 to 0.0.0-experimental-e0ead3bf

2

cookies.js
/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -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-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -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-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -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-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -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-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -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-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

{
"name": "@remix-run/server-runtime",
"description": "Server runtime for Remix",
"version": "0.0.0-experimental-db4e08b8",
"version": "0.0.0-experimental-e0ead3bf",
"license": "MIT",

@@ -20,3 +20,3 @@ "main": "./index.js",

"jsesc": "^3.0.1",
"react-router-dom": "^6.1.0",
"react-router-dom": "^6.2.1",
"set-cookie-parser": "^2.4.8",

@@ -23,0 +23,0 @@ "source-map": "^0.7.3"

@@ -5,3 +5,3 @@ /**

* The whole point here is to abstract out the server functionality that is required
* by the server runtime but is dependant on the platform runtime.
* by the server runtime but is dependent on the platform runtime.
*

@@ -8,0 +8,0 @@ * An example of this is error beautification as it depends on loading sourcemaps from

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -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-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -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-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -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-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/server-runtime v0.0.0-experimental-db4e08b8
* @remix-run/server-runtime v0.0.0-experimental-e0ead3bf
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc