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
1041
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 0.0.0-experimental-50540dc7 to 0.0.0-experimental-52edfc8c

2

base64.js
/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

let arr = this._fields[name];
return (arr === null || arr === void 0 ? void 0 : arr.slice(-1)[0]) || null;
return (arr === null || arr === void 0 ? void 0 : arr.slice(-1)[0]) ?? null;
}

@@ -56,0 +56,0 @@

/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

@@ -6,2 +6,3 @@ export { AbortController } from "abort-controller";

export { FormData } from "./formData";
export type { UploadHandler, UploadHandlerArgs } from "./formData";
export { installGlobals } from "./globals";

@@ -8,0 +9,0 @@ export { parseMultipartFormData as unstable_parseMultipartFormData } from "./parseMultipartFormData";

/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

export { createFileSessionStorage, unstable_createFileUploadHandler, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData } from "@remix-run/node";
export type { UploadHandler, UploadHandlerArgs } from "@remix-run/node";
/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

{
"name": "@remix-run/node",
"description": "Node.js platform abstractions for Remix",
"version": "0.0.0-experimental-50540dc7",
"version": "0.0.0-experimental-52edfc8c",
"license": "MIT",

@@ -15,3 +15,3 @@ "repository": {

"dependencies": {
"@remix-run/server-runtime": "0.0.0-experimental-50540dc7",
"@remix-run/server-runtime": "0.0.0-experimental-52edfc8c",
"@types/busboy": "^0.3.1",

@@ -18,0 +18,0 @@ "@types/node-fetch": "^2.5.12",

@@ -5,3 +5,8 @@ /// <reference types="node" />

import { FormData as NodeFormData } from "./formData";
/**
* Allows you to handle multipart forms (file uploads) for your app.
*
* @see https://remix.run/api/remix#parsemultipartformdata-node
*/
export declare function parseMultipartFormData(request: Request, uploadHandler: UploadHandler): Promise<FormData>;
export declare function internalParseFormData(contentType: string, body: string | Buffer | Readable, abortController?: AbortController, uploadHandler?: UploadHandler): Promise<NodeFormData>;
/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

@@ -23,2 +23,8 @@ * Copyright (c) Remix Software Inc.

/**
* Allows you to handle multipart forms (file uploads) for your app.
*
* @see https://remix.run/api/remix#parsemultipartformdata-node
*/
function parseMultipartFormData(request, uploadHandler) {

@@ -25,0 +31,0 @@ return request.formData(uploadHandler);

@@ -18,4 +18,6 @@ import type { SessionStorage, SessionIdStorageStrategy } from "@remix-run/server-runtime";

* files may contain much more data than cookies.
*
* @see https://remix.run/api/remix#createfilesessionstorage-node
*/
export declare function createFileSessionStorage({ cookie, dir }: FileSessionStorageOptions): SessionStorage;
export {};
/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

* files may contain much more data than cookies.
*
* @see https://remix.run/api/remix#createfilesessionstorage-node
*/

@@ -48,0 +50,0 @@ function createFileSessionStorage({

/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

/**
* @remix-run/node v0.0.0-experimental-50540dc7
* @remix-run/node v0.0.0-experimental-52edfc8c
*

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

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