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

@remix-run/node

Package Overview
Dependencies
Maintainers
2
Versions
1030
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remix-run/node - npm Package Compare versions

Comparing version 2.11.2 to 2.12.0-pre.0

40

CHANGELOG.md
# `@remix-run/node`
## 2.12.0-pre.0
### Patch Changes
- Single Fetch: Improved typesafety ([#9893](https://github.com/remix-run/remix/pull/9893))
If you were already using single-fetch types:
- Remove `"@remix-run/react/future/single-fetch.d.ts"` override from `tsconfig.json` > `compilerOptions` > `types`
- Remove `defineLoader`, `defineAction`, `defineClientLoader`, `defineClientAction` helpers from your route modules
- Replace `UIMatch_SingleFetch` type helper with `UIMatch`
- Replace `MetaArgs_SingleFetch` type helper with `MetaArgs`
Then you are ready for the new typesafety setup:
```ts
// vite.config.ts
declare module "@remix-run/server-runtime" {
interface Future {
unstable_singleFetch: true; // 👈 enable _types_ for single-fetch
}
}
export default defineConfig({
plugins: [
remix({
future: {
unstable_singleFetch: true, // 👈 enable single-fetch
},
}),
],
});
```
For more information, see [Guides > Single Fetch](https://remix.run/docs/en/dev/guides/single-fetch) in our docs.
- Updated dependencies:
- `@remix-run/server-runtime@2.12.0-pre.0`
## 2.11.2

@@ -4,0 +44,0 @@

2

dist/crypto.js
/**
* @remix-run/node v2.11.2
* @remix-run/node v2.12.0-pre.0
*

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

/**
* @remix-run/node v2.11.2
* @remix-run/node v2.12.0-pre.0
*

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

/**
* @remix-run/node v2.11.2
* @remix-run/node v2.12.0-pre.0
*

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

@@ -6,3 +6,3 @@ export { installGlobals } from "./globals";

export { createReadableStreamFromReadable, readableStreamToString, writeAsyncIterableToWritable, writeReadableStreamToWritable, } from "./stream";
export { createRequestHandler, createSession, unstable_data, unstable_defineLoader, unstable_defineAction, defer, broadcastDevReady, logDevReady, isCookie, isSession, json, MaxPartSizeExceededError, redirect, redirectDocument, replace, unstable_composeUploadHandlers, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData, } from "@remix-run/server-runtime";
export { createRequestHandler, createSession, unstable_data, defer, broadcastDevReady, logDevReady, isCookie, isSession, json, MaxPartSizeExceededError, redirect, redirectDocument, replace, unstable_composeUploadHandlers, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData, } from "@remix-run/server-runtime";
export type { ActionFunction, ActionFunctionArgs, AppLoadContext, Cookie, CookieOptions, CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, DataFunctionArgs, EntryContext, ErrorResponse, HandleDataRequestFunction, HandleDocumentRequestFunction, HeadersArgs, HeadersFunction, HtmlLinkDescriptor, JsonFunction, LinkDescriptor, LinksFunction, LoaderFunction, LoaderFunctionArgs, MemoryUploadHandlerFilterArgs, MemoryUploadHandlerOptions, HandleErrorFunction, PageLinkDescriptor, RequestHandler, SerializeFrom, ServerBuild, ServerEntryModule, ServerRuntimeMetaArgs as MetaArgs, ServerRuntimeMetaDescriptor as MetaDescriptor, ServerRuntimeMetaFunction as MetaFunction, Session, SessionData, SessionIdStorageStrategy, SessionStorage, SignFunction, TypedDeferredData, TypedResponse, UnsignFunction, UploadHandler, UploadHandlerPart, } from "@remix-run/server-runtime";
/**
* @remix-run/node v2.11.2
* @remix-run/node v2.12.0-pre.0
*

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

});
Object.defineProperty(exports, 'unstable_defineAction', {
enumerable: true,
get: function () { return serverRuntime.unstable_defineAction; }
});
Object.defineProperty(exports, 'unstable_defineLoader', {
enumerable: true,
get: function () { return serverRuntime.unstable_defineLoader; }
});
Object.defineProperty(exports, 'unstable_parseMultipartFormData', {

@@ -106,0 +98,0 @@ enumerable: true,

/**
* @remix-run/node v2.11.2
* @remix-run/node v2.12.0-pre.0
*

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

/**
* @remix-run/node v2.11.2
* @remix-run/node v2.12.0-pre.0
*

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

/**
* @remix-run/node v2.11.2
* @remix-run/node v2.12.0-pre.0
*

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

{
"name": "@remix-run/node",
"version": "2.11.2",
"version": "2.12.0-pre.0",
"description": "Node.js platform abstractions for Remix",

@@ -26,3 +26,3 @@ "bugs": {

"undici": "^6.11.1",
"@remix-run/server-runtime": "2.11.2"
"@remix-run/server-runtime": "2.12.0-pre.0"
},

@@ -29,0 +29,0 @@ "devDependencies": {

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