New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@remix-run/server-runtime

Package Overview
Dependencies
Maintainers
2
Versions
1050
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 1.2.3 to 1.3.0-pre.1

magicExports/esm/remix.js

2

cookies.js
/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

if (isActionRequest(request)) {
match = getActionRequestMatch(url, matches);
match = getRequestMatch(url, matches);
response = await callRouteAction({

@@ -210,3 +210,3 @@ loadContext,

if (matches && isActionRequest(request)) {
actionMatch = getActionRequestMatch(url, matches);
actionMatch = getRequestMatch(url, matches);

@@ -523,14 +523,17 @@ try {

function isIndexRequestUrl(url) {
let indexRequest = false;
for (let param of url.searchParams.getAll("index")) {
if (!param) {
indexRequest = true;
// only use bare `?index` params without a value
// ✅ /foo?index
// ✅ /foo?index&index=123
// ✅ /foo?index=123&index
// ❌ /foo?index=123
if (param === "") {
return true;
}
}
return indexRequest;
return false;
}
function getActionRequestMatch(url, matches) {
function getRequestMatch(url, matches) {
let match = matches.slice(-1)[0];

@@ -537,0 +540,0 @@

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

{
"name": "@remix-run/server-runtime",
"description": "Server runtime for Remix",
"version": "1.2.3",
"version": "1.3.0-pre.1",
"license": "MIT",

@@ -6,0 +6,0 @@ "main": "./index.js",

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

if (isActionRequest(request)) {
match = getActionRequestMatch(url, matches);
match = getRequestMatch(url, matches);
response = await data.callRouteAction({

@@ -214,3 +214,3 @@ loadContext,

if (matches && isActionRequest(request)) {
actionMatch = getActionRequestMatch(url, matches);
actionMatch = getRequestMatch(url, matches);

@@ -527,14 +527,17 @@ try {

function isIndexRequestUrl(url) {
let indexRequest = false;
for (let param of url.searchParams.getAll("index")) {
if (!param) {
indexRequest = true;
// only use bare `?index` params without a value
// ✅ /foo?index
// ✅ /foo?index&index=123
// ✅ /foo?index=123&index
// ❌ /foo?index=123
if (param === "") {
return true;
}
}
return indexRequest;
return false;
}
function getActionRequestMatch(url, matches) {
function getRequestMatch(url, matches) {
let match = matches.slice(-1)[0];

@@ -541,0 +544,0 @@

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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

/**
* @remix-run/server-runtime v1.2.3
* @remix-run/server-runtime v1.3.0-pre.1
*

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