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

@remix-run/cloudflare

Package Overview
Dependencies
Maintainers
2
Versions
956
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remix-run/cloudflare - npm Package Compare versions

Comparing version 2.11.2 to 2.12.0-pre.0

40

CHANGELOG.md
# `@remix-run/cloudflare`
## 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/cloudflare v2.11.2
* @remix-run/cloudflare v2.12.0-pre.0
*

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

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

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

import "./globals";
export { createWorkersKVSessionStorage } from "./sessions/workersKVStorage";
export { createCookie, createCookieSessionStorage, createMemorySessionStorage, createSessionStorage, } from "./implementations";
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/cloudflare v2.11.2
* @remix-run/cloudflare v2.12.0-pre.0
*

@@ -86,10 +86,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', {

@@ -96,0 +88,0 @@ enumerable: true,

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

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

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

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

"@cloudflare/kv-asset-handler": "^0.1.3",
"@remix-run/server-runtime": "2.11.2"
"@remix-run/server-runtime": "2.12.0-pre.0"
},

@@ -21,0 +21,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