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

@remix-run/deno

Package Overview
Dependencies
Maintainers
2
Versions
933
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remix-run/deno - npm Package Compare versions

Comparing version 0.0.0-experimental-2ca98589 to 0.0.0-experimental-52edfc8c

cookieSigning.js

9

globals.d.ts

@@ -0,1 +1,10 @@

declare global {
interface ProcessEnv {
NODE_ENV: "development" | "production" | "test";
}
interface Process {
env: ProcessEnv;
}
var process: Process;
}
export declare function installGlobals(): void;

4

index.d.ts

@@ -1,2 +0,2 @@

export * from "@remix-run/server-runtime";
export { createRequestHandlerWithStaticFiles } from "./server";
export { createRequestHandler, createRequestHandlerWithStaticFiles, serveStaticFiles } from "./server";
export { createFileSessionStorage } from "./sessions/fileStorage";
{
"name": "@remix-run/deno",
"description": "Deno platform abstractions for Remix",
"version": "0.0.0-experimental-2ca98589",
"version": "0.0.0-experimental-52edfc8c",
"license": "MIT",
"module": "./index.js",
"types": "./index.d.ts",
"repository": {

@@ -15,3 +17,3 @@ "type": "git",

"dependencies": {
"@remix-run/server-runtime": "0.0.0-experimental-2ca98589",
"@remix-run/server-runtime": "0.0.0-experimental-52edfc8c",
"mime": "^3.0.0"

@@ -18,0 +20,0 @@ },

import type { ServerBuild } from "@remix-run/server-runtime";
export declare function defaultCacheControl(url: URL): "public, max-age=31536000, immutable" | "public, max-age=600";
export declare function createRequestHandlerWithStaticFiles({ build, mode, staticFiles: { cacheControl, publicDir } }: {
export declare function createRequestHandler<Context = unknown>({ build, mode, getLoadContext }: {
build: ServerBuild;
mode?: string;
getLoadContext?: (request: Request) => Promise<Context> | Context;
}): (request: Request) => Promise<Response>;
export declare function serveStaticFiles(request: Request, { cacheControl, publicDir, assetsPublicPath }: {
cacheControl?: string | ((url: URL) => string);
publicDir?: string;
assetsPublicPath?: string;
}): Promise<Response>;
export declare function createRequestHandlerWithStaticFiles<Context = unknown>({ build, mode, getLoadContext, staticFiles }: {
build: ServerBuild;
mode?: string;
getLoadContext?: (request: Request) => Promise<Context> | Context;
staticFiles?: {
cacheControl?: string | ((url: URL) => string);
publicDir?: string;
assetsPublicPath?: string;
};
}): (request: Request) => Promise<Response>;
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