@remix-run/node
Advanced tools
Comparing version 0.0.0-experimental-5d79f855 to 0.0.0-experimental-65ba1bd2
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
import type AbortController from "abort-controller"; | ||
import type { RequestInfo, RequestInit, Response } from "node-fetch"; | ||
import { Request as NodeRequest } from "node-fetch"; | ||
import { Request as BaseNodeRequest } from "node-fetch"; | ||
import type { UploadHandler } from "./formData"; | ||
export type { HeadersInit, RequestInfo, ResponseInit } from "node-fetch"; | ||
export { Headers, Response } from "node-fetch"; | ||
interface RemixRequestInit extends RequestInit { | ||
interface NodeRequestInit extends RequestInit { | ||
abortController?: AbortController; | ||
} | ||
declare class RemixRequest extends NodeRequest { | ||
declare class NodeRequest extends BaseNodeRequest { | ||
private abortController?; | ||
constructor(input: RequestInfo, init?: RemixRequestInit | undefined); | ||
constructor(input: RequestInfo, init?: NodeRequestInit | undefined); | ||
formData(uploadHandler?: UploadHandler): Promise<FormData>; | ||
clone(): RemixRequest; | ||
clone(): NodeRequest; | ||
} | ||
export { RemixRequest as Request, RemixRequestInit as RequestInit }; | ||
export { NodeRequest as Request, NodeRequestInit as RequestInit }; | ||
/** | ||
@@ -18,0 +18,0 @@ * A `fetch` function for node that matches the web Fetch API. Based on |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -80,3 +80,3 @@ * Copyright (c) Remix Software Inc. | ||
class RemixRequest extends nodeFetch.Request { | ||
class NodeRequest extends nodeFetch.Request { | ||
constructor(input, init) { | ||
@@ -108,3 +108,3 @@ var _init; | ||
clone() { | ||
return new RemixRequest(super.clone()); | ||
return new NodeRequest(this); | ||
} | ||
@@ -149,3 +149,3 @@ | ||
}); | ||
exports.Request = RemixRequest; | ||
exports.Request = NodeRequest; | ||
exports.fetch = fetch; |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
@@ -7,5 +7,5 @@ export { AbortController } from "abort-controller"; | ||
export { installGlobals } from "./globals"; | ||
export { parseMultipartFormData } from "./parseMultipartFormData"; | ||
export { parseMultipartFormData as unstable_parseMultipartFormData } from "./parseMultipartFormData"; | ||
export { createFileSessionStorage } from "./sessions/fileStorage"; | ||
export { createFileUploadHandler, NodeOnDiskFile } from "./upload/fileUploadHandler"; | ||
export { createMemoryUploadHandler } from "./upload/memoryUploadHandler"; | ||
export { createFileUploadHandler as unstable_createFileUploadHandler, NodeOnDiskFile } from "./upload/fileUploadHandler"; | ||
export { createMemoryUploadHandler as unstable_createMemoryUploadHandler } from "./upload/memoryUploadHandler"; |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -37,7 +37,7 @@ * Copyright (c) Remix Software Inc. | ||
exports.installGlobals = globals.installGlobals; | ||
exports.parseMultipartFormData = parseMultipartFormData.parseMultipartFormData; | ||
exports.unstable_parseMultipartFormData = parseMultipartFormData.parseMultipartFormData; | ||
exports.createFileSessionStorage = fileStorage.createFileSessionStorage; | ||
exports.NodeOnDiskFile = fileUploadHandler.NodeOnDiskFile; | ||
exports.createFileUploadHandler = fileUploadHandler.createFileUploadHandler; | ||
exports.createMemoryUploadHandler = memoryUploadHandler.createMemoryUploadHandler; | ||
exports.unstable_createFileUploadHandler = fileUploadHandler.createFileUploadHandler; | ||
exports.unstable_createMemoryUploadHandler = memoryUploadHandler.createMemoryUploadHandler; | ||
Object.defineProperty(exports, 'Headers', { | ||
@@ -44,0 +44,0 @@ enumerable: true, |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -11,2 +11,2 @@ * Copyright (c) Remix Software Inc. | ||
*/ | ||
export { createFileSessionStorage, createFileUploadHandler, createMemoryUploadHandler, parseMultipartFormData } from '@remix-run/node'; | ||
export { createFileSessionStorage, unstable_createFileUploadHandler, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData } from '@remix-run/node'; |
@@ -1,1 +0,1 @@ | ||
export { createFileSessionStorage, createFileUploadHandler, createMemoryUploadHandler, parseMultipartFormData } from "@remix-run/node"; | ||
export { createFileSessionStorage, unstable_createFileUploadHandler, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData } from "@remix-run/node"; |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -23,13 +23,13 @@ * Copyright (c) Remix Software Inc. | ||
}); | ||
Object.defineProperty(exports, 'createFileUploadHandler', { | ||
Object.defineProperty(exports, 'unstable_createFileUploadHandler', { | ||
enumerable: true, | ||
get: function () { return node.createFileUploadHandler; } | ||
get: function () { return node.unstable_createFileUploadHandler; } | ||
}); | ||
Object.defineProperty(exports, 'createMemoryUploadHandler', { | ||
Object.defineProperty(exports, 'unstable_createMemoryUploadHandler', { | ||
enumerable: true, | ||
get: function () { return node.createMemoryUploadHandler; } | ||
get: function () { return node.unstable_createMemoryUploadHandler; } | ||
}); | ||
Object.defineProperty(exports, 'parseMultipartFormData', { | ||
Object.defineProperty(exports, 'unstable_parseMultipartFormData', { | ||
enumerable: true, | ||
get: function () { return node.parseMultipartFormData; } | ||
get: function () { return node.unstable_parseMultipartFormData; } | ||
}); |
{ | ||
"name": "@remix-run/node", | ||
"description": "Node.js platform abstractions for Remix", | ||
"version": "0.0.0-experimental-5d79f855", | ||
"version": "0.0.0-experimental-65ba1bd2", | ||
"license": "MIT", | ||
@@ -15,3 +15,3 @@ "repository": { | ||
"dependencies": { | ||
"@remix-run/server-runtime": "0.0.0-experimental-5d79f855", | ||
"@remix-run/server-runtime": "0.0.0-experimental-65ba1bd2", | ||
"@types/busboy": "^0.3.1", | ||
@@ -18,0 +18,0 @@ "@types/node-fetch": "^2.5.12", |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/node v0.0.0-experimental-5d79f855 | ||
* @remix-run/node v0.0.0-experimental-65ba1bd2 | ||
* | ||
@@ -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
41808
+ Added@remix-run/server-runtime@0.0.0-experimental-65ba1bd2(transitive)
- Removed@remix-run/server-runtime@0.0.0-experimental-5d79f855(transitive)
Updated@remix-run/server-runtime@0.0.0-experimental-65ba1bd2