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
1026
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.12.0-pre.1 to 2.12.0-pre.2

6

CHANGELOG.md
# `@remix-run/server-runtime`
## 2.12.0-pre.2
### Patch Changes
- Support 304 responses on document requests ([#9955](https://github.com/remix-run/remix/pull/9955))
## 2.12.0-pre.1

@@ -4,0 +10,0 @@

2

dist/cookies.js
/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

@@ -285,2 +285,10 @@ * Copyright (c) Remix Software Inc.

// 304 responses should not have a body or a content-type
if (context.statusCode === 304) {
return new Response(null, {
status: 304,
headers
});
}
// Sanitize errors outside of development environments

@@ -287,0 +295,0 @@ if (context.errors) {

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

@@ -289,2 +289,10 @@ * Copyright (c) Remix Software Inc.

// 304 responses should not have a body or a content-type
if (context.statusCode === 304) {
return new Response(null, {
status: 304,
headers: headers$1
});
}
// Sanitize errors outside of development environments

@@ -291,0 +299,0 @@ if (context.errors) {

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

@@ -49,4 +49,3 @@ import type { StaticHandler, unstable_DataStrategyFunction as DataStrategyFunction, UNSAFE_DataWithResponseInit as DataWithResponseInit } from "@remix-run/router";

} : undefined;
type Fn = (...args: any[]) => unknown;
export type SerializeFrom<T extends Fn> = Parameters<T> extends [ClientLoaderFunctionArgs | ClientActionFunctionArgs] ? Awaited<ReturnType<T>> extends TypedResponse<infer U> ? Jsonify<U> : Awaited<ReturnType<T>> extends TypedDeferredData<infer U> ? U : Awaited<ReturnType<T>> : Awaited<ReturnType<T>> extends TypedResponse<infer U> ? Jsonify<U> : Awaited<ReturnType<T>> extends TypedDeferredData<infer U> ? Serialize<U> : Awaited<ReturnType<T>> extends DataWithResponseInit<infer D> ? Serialize<D> : Serialize<Awaited<ReturnType<T>>>;
export type SerializeFrom<T> = T extends (...args: infer Args) => infer Return ? Args extends [ClientLoaderFunctionArgs | ClientActionFunctionArgs] ? Awaited<Return> extends TypedResponse<infer U> ? Jsonify<U> : Awaited<Return> extends TypedDeferredData<infer U> ? U : Awaited<Return> : Awaited<Return> extends TypedResponse<infer U> ? Jsonify<U> : Awaited<Return> extends TypedDeferredData<infer U> ? Serialize<U> : Awaited<Return> extends DataWithResponseInit<infer D> ? Serialize<D> : Serialize<Awaited<ReturnType<T>>> : T;
export {};
/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

/**
* @remix-run/server-runtime v2.12.0-pre.1
* @remix-run/server-runtime v2.12.0-pre.2
*

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

{
"name": "@remix-run/server-runtime",
"version": "2.12.0-pre.1",
"version": "2.12.0-pre.2",
"description": "Server runtime for Remix",

@@ -5,0 +5,0 @@ "bugs": {

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