@remix-run/node
Advanced tools
Comparing version 0.0.0-experimental-50540dc7 to 0.0.0-experimental-52edfc8c
/** | ||
* @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. |
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
42376
1165
+ Added@remix-run/server-runtime@0.0.0-experimental-52edfc8c(transitive)
- Removed@remix-run/server-runtime@0.0.0-experimental-50540dc7(transitive)
Updated@remix-run/server-runtime@0.0.0-experimental-52edfc8c