@remix-run/cloudflare
Advanced tools
Comparing version 0.0.0-nightly-d8bcdc1-20230506 to 0.0.0-nightly-d9061d154-20241010
/** | ||
* @remix-run/cloudflare v0.0.0-nightly-d8bcdc1-20230506 | ||
* @remix-run/cloudflare v0.0.0-nightly-d9061d154-20241010 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/cloudflare v0.0.0-nightly-d8bcdc1-20230506 | ||
* @remix-run/cloudflare v0.0.0-nightly-d9061d154-20241010 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
import "./globals"; | ||
import { createWorkersKVSessionStorage } from "./sessions/workersKVStorage"; | ||
/** @deprecated Use `createWorkersKVSessionStorage` instead. */ | ||
export declare const createCloudflareKVSessionStorage: typeof createWorkersKVSessionStorage; | ||
export { createWorkersKVSessionStorage } from "./sessions/workersKVStorage"; | ||
export { createCookie, createCookieSessionStorage, createMemorySessionStorage, createSessionStorage, } from "./implementations"; | ||
export { createRequestHandler, createSession, defer, broadcastDevReady, logDevReady, isCookie, isSession, json, MaxPartSizeExceededError, redirect, unstable_composeUploadHandlers, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData, } from "@remix-run/server-runtime"; | ||
export type { ActionArgs, ActionFunction, AppData, AppLoadContext, Cookie, CookieOptions, CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, DataFunctionArgs, EntryContext, ErrorBoundaryComponent, HandleDataRequestFunction, HandleDocumentRequestFunction, HeadersFunction, HtmlLinkDescriptor, HtmlMetaDescriptor, JsonFunction, LinkDescriptor, LinksFunction, LoaderArgs, LoaderFunction, MemoryUploadHandlerFilterArgs, MemoryUploadHandlerOptions, MetaDescriptor, MetaFunction, PageLinkDescriptor, RequestHandler, RouteComponent, RouteHandle, SerializeFrom, ServerBuild, ServerEntryModule, V2_ServerRuntimeMetaArgs as V2_MetaArgs, V2_ServerRuntimeMetaDescriptor as V2_MetaDescriptor, V2_ServerRuntimeMetaDescriptor as V2_HtmlMetaDescriptor, V2_ServerRuntimeMetaFunction as V2_MetaFunction, Session, SessionData, SessionIdStorageStrategy, SessionStorage, SignFunction, TypedDeferredData, TypedResponse, UnsignFunction, UploadHandler, UploadHandlerPart, } from "@remix-run/server-runtime"; | ||
export { createRequestHandler, createSession, 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, Future, 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 v0.0.0-nightly-d8bcdc1-20230506 | ||
* @remix-run/cloudflare v0.0.0-nightly-d9061d154-20241010 | ||
* | ||
@@ -19,9 +19,3 @@ * Copyright (c) Remix Software Inc. | ||
const warn = (fn, message) => (...args) => { | ||
console.warn(message); | ||
return fn(...args); | ||
}; | ||
/** @deprecated Use `createWorkersKVSessionStorage` instead. */ | ||
const createCloudflareKVSessionStorage = warn(workersKVStorage.createWorkersKVSessionStorage, "`createCloudflareKVSessionStorage` is deprecated. Please use `createWorkersKVSessionStorage` instead."); | ||
@@ -49,2 +43,6 @@ exports.createWorkersKVSessionStorage = workersKVStorage.createWorkersKVSessionStorage; | ||
}); | ||
Object.defineProperty(exports, 'data', { | ||
enumerable: true, | ||
get: function () { return serverRuntime.data; } | ||
}); | ||
Object.defineProperty(exports, 'defer', { | ||
@@ -74,2 +72,10 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, 'redirectDocument', { | ||
enumerable: true, | ||
get: function () { return serverRuntime.redirectDocument; } | ||
}); | ||
Object.defineProperty(exports, 'replace', { | ||
enumerable: true, | ||
get: function () { return serverRuntime.replace; } | ||
}); | ||
Object.defineProperty(exports, 'unstable_composeUploadHandlers', { | ||
@@ -87,2 +93,1 @@ enumerable: true, | ||
}); | ||
exports.createCloudflareKVSessionStorage = createCloudflareKVSessionStorage; |
/** | ||
* @remix-run/cloudflare v0.0.0-nightly-d8bcdc1-20230506 | ||
* @remix-run/cloudflare v0.0.0-nightly-d9061d154-20241010 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
MIT License | ||
Copyright (c) Remix Software Inc. 2020-2021 | ||
Copyright (c) Shopify Inc. 2022-2023 | ||
Copyright (c) Shopify Inc. 2022-2024 | ||
@@ -6,0 +6,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "@remix-run/cloudflare", | ||
"version": "0.0.0-nightly-d8bcdc1-20230506", | ||
"version": "0.0.0-nightly-d9061d154-20241010", | ||
"description": "Cloudflare platform abstractions for Remix", | ||
@@ -18,12 +18,19 @@ "bugs": { | ||
"@cloudflare/kv-asset-handler": "^0.1.3", | ||
"@remix-run/server-runtime": "0.0.0-nightly-d8bcdc1-20230506" | ||
"@remix-run/server-runtime": "0.0.0-nightly-d9061d154-20241010" | ||
}, | ||
"devDependencies": { | ||
"@cloudflare/workers-types": "^3.4.0" | ||
"@cloudflare/workers-types": "^4.20230518.0", | ||
"typescript": "^5.1.0" | ||
}, | ||
"peerDependencies": { | ||
"@cloudflare/workers-types": "^2.0.0 || ^3.0.0" | ||
"@cloudflare/workers-types": "^4.0.0", | ||
"typescript": "^5.1.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"typescript": { | ||
"optional": true | ||
} | ||
}, | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=18.0.0" | ||
}, | ||
@@ -35,3 +42,6 @@ "files": [ | ||
"README.md" | ||
] | ||
} | ||
], | ||
"scripts": { | ||
"tsc": "tsc" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12952
4
2
11
264
+ Added@cloudflare/workers-types@4.20241127.0(transitive)
+ Added@remix-run/router@1.20.0-pre.0(transitive)
+ Added@remix-run/server-runtime@0.0.0-nightly-d9061d154-20241010(transitive)
+ Added@types/cookie@0.6.0(transitive)
+ Addedcookie@0.6.0(transitive)
+ Addedturbo-stream@2.4.0(transitive)
+ Addedtypescript@5.7.2(transitive)
- Removed@cloudflare/workers-types@3.19.0(transitive)
- Removed@remix-run/router@1.6.0(transitive)
- Removed@remix-run/server-runtime@0.0.0-nightly-d8bcdc1-20230506(transitive)
- Removedcookie@0.4.2(transitive)
Updated@remix-run/server-runtime@0.0.0-nightly-d9061d154-20241010