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 0.0.0-nightly-929d847-20221114 to 0.0.0-nightly-93d1c9dec-20240829

dist/sessions/workersKVStorage.d.ts

6

dist/crypto.js
/**
* @remix-run/cloudflare v0.0.0-nightly-929d847-20221114
* @remix-run/cloudflare v0.0.0-nightly-93d1c9dec-20240829
*

@@ -33,3 +33,2 @@ * Copyright (c) Remix Software Inc.

};
async function createKey(secret, usages) {

@@ -42,10 +41,7 @@ let key = await crypto.subtle.importKey("raw", encoder.encode(secret), {

}
function byteStringToUint8Array(byteString) {
let array = new Uint8Array(byteString.length);
for (let i = 0; i < byteString.length; i++) {
array[i] = byteString.charCodeAt(i);
}
return array;

@@ -52,0 +48,0 @@ }

/**
* @remix-run/cloudflare v0.0.0-nightly-929d847-20221114
* @remix-run/cloudflare v0.0.0-nightly-93d1c9dec-20240829
*

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

import "./globals";
export { createCloudflareKVSessionStorage } from "./sessions/cloudflareKVSessionStorage";
export { createWorkersKVSessionStorage } from "./sessions/workersKVStorage";
export { createCookie, createCookieSessionStorage, createMemorySessionStorage, createSessionStorage, } from "./implementations";
export { createRequestHandler, createSession, 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, LinkDescriptor, LinksFunction, LoaderArgs, LoaderFunction, MemoryUploadHandlerFilterArgs, MemoryUploadHandlerOptions, MetaDescriptor, MetaFunction, PageLinkDescriptor, RequestHandler, RouteComponent, RouteHandle, SerializeFrom, ServerBuild, ServerEntryModule, Session, SessionData, SessionIdStorageStrategy, SessionStorage, SignFunction, TypedResponse, UnsignFunction, UploadHandlerPart, UploadHandler, } 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 v0.0.0-nightly-929d847-20221114
* @remix-run/cloudflare v0.0.0-nightly-93d1c9dec-20240829
*

@@ -15,3 +15,3 @@ * Copyright (c) Remix Software Inc.

var cloudflareKVSessionStorage = require('./sessions/cloudflareKVSessionStorage.js');
var workersKVStorage = require('./sessions/workersKVStorage.js');
var implementations = require('./implementations.js');

@@ -22,3 +22,3 @@ var serverRuntime = require('@remix-run/server-runtime');

exports.createCloudflareKVSessionStorage = cloudflareKVSessionStorage.createCloudflareKVSessionStorage;
exports.createWorkersKVSessionStorage = workersKVStorage.createWorkersKVSessionStorage;
exports.createCookie = implementations.createCookie;

@@ -32,2 +32,6 @@ exports.createCookieSessionStorage = implementations.createCookieSessionStorage;

});
Object.defineProperty(exports, 'broadcastDevReady', {
enumerable: true,
get: function () { return serverRuntime.broadcastDevReady; }
});
Object.defineProperty(exports, 'createRequestHandler', {

@@ -41,2 +45,6 @@ enumerable: true,

});
Object.defineProperty(exports, 'defer', {
enumerable: true,
get: function () { return serverRuntime.defer; }
});
Object.defineProperty(exports, 'isCookie', {

@@ -54,2 +62,6 @@ enumerable: true,

});
Object.defineProperty(exports, 'logDevReady', {
enumerable: true,
get: function () { return serverRuntime.logDevReady; }
});
Object.defineProperty(exports, 'redirect', {

@@ -59,2 +71,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', {

@@ -68,2 +88,6 @@ enumerable: true,

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

@@ -70,0 +94,0 @@ enumerable: true,

@@ -1,7 +0,22 @@

Copyright 2021 Remix Software Inc.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Copyright (c) Remix Software Inc. 2020-2021
Copyright (c) Shopify Inc. 2022-2024
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
{
"name": "@remix-run/cloudflare",
"version": "0.0.0-nightly-929d847-20221114",
"version": "0.0.0-nightly-93d1c9dec-20240829",
"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-929d847-20221114"
"@remix-run/server-runtime": "0.0.0-nightly-93d1c9dec-20240829"
},
"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"
}
}
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