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
1030
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-149e932f to 0.0.0-experimental-2ca98589

2

base64.js
/**
* @remix-run/node v0.0.0-experimental-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

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

/**
* @remix-run/node v0.0.0-experimental-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

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

/**
* @remix-run/node v0.0.0-experimental-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

@@ -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-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

@@ -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-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

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

/**
* @remix-run/node v0.0.0-experimental-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

@@ -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-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

@@ -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-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

@@ -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-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

@@ -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-149e932f",
"version": "0.0.0-experimental-2ca98589",
"license": "MIT",
"module": "./esm/index.js",
"types": "./index.d.ts",
"repository": {

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

"dependencies": {
"@remix-run/server-runtime": "0.0.0-experimental-149e932f",
"@remix-run/server-runtime": "0.0.0-experimental-2ca98589",
"@types/busboy": "^0.3.1",

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

/**
* @remix-run/node v0.0.0-experimental-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

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

/**
* @remix-run/node v0.0.0-experimental-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

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

/**
* @remix-run/node v0.0.0-experimental-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

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

/**
* @remix-run/node v0.0.0-experimental-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

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

/**
* @remix-run/node v0.0.0-experimental-149e932f
* @remix-run/node v0.0.0-experimental-2ca98589
*

@@ -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