🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@remix-run/server-runtime

Package Overview
Dependencies
Maintainers
1
Versions
1104
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
2.17.4
to
2.17.5
+1
-1
dist/actions.js
/**
* @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.

/**
* @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.

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

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

/**
* @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.

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

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

/**
* @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.

{
"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",