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-b697c4f3 to 0.0.0-experimental-c128f5ca

esm/cookies.js

2

cookies.js
/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

@@ -113,3 +113,3 @@ * Copyright (c) Remix Software Inc.

return new Request(url.toString(), request);
return new Request(url.href, request);
}

@@ -120,3 +120,3 @@

url.searchParams.delete("_data");
return new Request(url.toString(), request);
return new Request(url.href, request);
}

@@ -123,0 +123,0 @@

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

{
"name": "@remix-run/server-runtime",
"description": "Server runtime for Remix",
"version": "0.0.0-experimental-b697c4f3",
"version": "0.0.0-experimental-c128f5ca",
"license": "MIT",
"main": "./index.js",
"module": "./esm/index.js",
"repository": {

@@ -18,3 +20,3 @@ "type": "git",

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

@@ -21,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-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

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

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

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

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

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

/**
* @remix-run/server-runtime v0.0.0-experimental-b697c4f3
* @remix-run/server-runtime v0.0.0-experimental-c128f5ca
*

@@ -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