@remix-run/node 0.0.0-experimental-708e229e → 0.0.0-experimental-da3dbd2a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{base64.d.ts → dist/base64.d.ts} +0 -0
- package/{base64.js → dist/base64.js} +1 -1
- package/{crypto.d.ts → dist/crypto.d.ts} +0 -0
- package/{crypto.js → dist/crypto.js} +1 -1
- package/{fetch.d.ts → dist/fetch.d.ts} +0 -0
- package/{fetch.js → dist/fetch.js} +1 -1
- package/{globals.d.ts → dist/globals.d.ts} +0 -4
- package/{globals.js → dist/globals.js} +1 -4
- package/{implementations.d.ts → dist/implementations.d.ts} +0 -0
- package/{implementations.js → dist/implementations.js} +1 -1
- package/{index.d.ts → dist/index.d.ts} +2 -2
- package/{index.js → dist/index.js} +1 -5
- package/{magicExports → dist/magicExports}/esm/remix.js +1 -1
- package/dist/magicExports/remix.d.ts +12 -0
- package/{magicExports → dist/magicExports}/remix.js +1 -6
- package/{sessions → dist/sessions}/fileStorage.d.ts +0 -0
- package/{sessions → dist/sessions}/fileStorage.js +1 -1
- package/{stream.d.ts → dist/stream.d.ts} +0 -0
- package/{stream.js → dist/stream.js} +1 -1
- package/{upload → dist/upload}/fileUploadHandler.d.ts +0 -0
- package/{upload → dist/upload}/fileUploadHandler.js +1 -1
- package/package.json +11 -3
- package/magicExports/remix.d.ts +0 -2
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { TextDecoder, TextEncoder } from "util";
|
|
3
1
|
import { atob, btoa } from "./base64";
|
|
4
2
|
declare global {
|
|
5
3
|
namespace NodeJS {
|
|
@@ -18,8 +16,6 @@ declare global {
|
|
|
18
16
|
FormData: typeof FormData;
|
|
19
17
|
ReadableStream: typeof ReadableStream;
|
|
20
18
|
WritableStream: typeof WritableStream;
|
|
21
|
-
TextDecoder: typeof TextDecoder;
|
|
22
|
-
TextEncoder: typeof TextEncoder;
|
|
23
19
|
}
|
|
24
20
|
}
|
|
25
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @remix-run/node v0.0.0-experimental-
|
|
2
|
+
* @remix-run/node v0.0.0-experimental-da3dbd2a
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
14
14
|
|
|
15
|
-
var util = require('util');
|
|
16
15
|
var webStream = require('@remix-run/web-stream');
|
|
17
16
|
var base64 = require('./base64.js');
|
|
18
17
|
var fetch = require('./fetch.js');
|
|
@@ -31,8 +30,6 @@ function installGlobals() {
|
|
|
31
30
|
global.FormData = webFetch.FormData;
|
|
32
31
|
global.ReadableStream = webStream.ReadableStream;
|
|
33
32
|
global.WritableStream = webStream.WritableStream;
|
|
34
|
-
global.TextDecoder = util.TextDecoder;
|
|
35
|
-
global.TextEncoder = util.TextEncoder;
|
|
36
33
|
}
|
|
37
34
|
|
|
38
35
|
exports.installGlobals = installGlobals;
|
|
File without changes
|
|
@@ -6,5 +6,5 @@ export { createFileSessionStorage } from "./sessions/fileStorage";
|
|
|
6
6
|
export { createFileUploadHandler as unstable_createFileUploadHandler, NodeOnDiskFile, } from "./upload/fileUploadHandler";
|
|
7
7
|
export { createCookie, createCookieSessionStorage, createMemorySessionStorage, createSessionStorage, } from "./implementations";
|
|
8
8
|
export { createReadableStreamFromReadable, readableStreamToString, writeAsyncIterableToWritable, writeReadableStreamToWritable, } from "./stream";
|
|
9
|
-
export { createRequestHandler, createSession,
|
|
10
|
-
export type { ActionFunction, AppData, AppLoadContext, Cookie, CookieOptions, CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, CreateRequestHandlerFunction, DataFunctionArgs,
|
|
9
|
+
export { createRequestHandler, createSession, isCookie, isSession, json, MaxPartSizeExceededError, redirect, unstable_composeUploadHandlers, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData, } from "@remix-run/server-runtime";
|
|
10
|
+
export type { ActionFunction, AppData, AppLoadContext, Cookie, CookieOptions, CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, CreateRequestHandlerFunction, DataFunctionArgs, EntryContext, ErrorBoundaryComponent, HandleDataRequestFunction, HandleDocumentRequestFunction, HeadersFunction, HtmlLinkDescriptor, HtmlMetaDescriptor, LinkDescriptor, LinksFunction, LoaderFunction, MemoryUploadHandlerFilterArgs, MemoryUploadHandlerOptions, MetaDescriptor, MetaFunction, PageLinkDescriptor, RequestHandler, RouteComponent, RouteHandle, ServerBuild, ServerEntryModule, Session, SessionData, SessionIdStorageStrategy, SessionStorage, UploadHandler, UploadHandlerPart, } from "@remix-run/server-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @remix-run/node v0.0.0-experimental-
|
|
2
|
+
* @remix-run/node v0.0.0-experimental-da3dbd2a
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -60,10 +60,6 @@ Object.defineProperty(exports, 'createSession', {
|
|
|
60
60
|
enumerable: true,
|
|
61
61
|
get: function () { return serverRuntime.createSession; }
|
|
62
62
|
});
|
|
63
|
-
Object.defineProperty(exports, 'deferred', {
|
|
64
|
-
enumerable: true,
|
|
65
|
-
get: function () { return serverRuntime.deferred; }
|
|
66
|
-
});
|
|
67
63
|
Object.defineProperty(exports, 'isCookie', {
|
|
68
64
|
enumerable: true,
|
|
69
65
|
get: function () { return serverRuntime.isCookie; }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @remix-run/node v0.0.0-experimental-da3dbd2a
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) Remix Software Inc.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
8
|
+
*
|
|
9
|
+
* @license MIT
|
|
10
|
+
*/
|
|
11
|
+
export { createCookie, createCookieSessionStorage, createFileSessionStorage, createMemorySessionStorage, createSessionStorage, unstable_createFileUploadHandler, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData } from '@remix-run/node';
|
|
12
|
+
export type { UploadHandler, UploadHandlerPart } from '@remix-run/node';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @remix-run/node v0.0.0-experimental-
|
|
2
|
+
* @remix-run/node v0.0.0-experimental-da3dbd2a
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -9,13 +9,8 @@
|
|
|
9
9
|
* @license MIT
|
|
10
10
|
*/
|
|
11
11
|
'use strict';
|
|
12
|
-
|
|
13
12
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
14
|
-
|
|
15
13
|
var node = require('@remix-run/node');
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
14
|
Object.defineProperty(exports, 'createCookie', {
|
|
20
15
|
enumerable: true,
|
|
21
16
|
get: function () { return node.createCookie; }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remix-run/node",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-da3dbd2a",
|
|
4
4
|
"description": "Node.js platform abstractions for Remix",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/remix-run/remix/issues"
|
|
@@ -11,9 +11,11 @@
|
|
|
11
11
|
"directory": "packages/remix-node"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
|
+
"main": "dist/index.js",
|
|
15
|
+
"typings": "dist/index.d.ts",
|
|
14
16
|
"sideEffects": false,
|
|
15
17
|
"dependencies": {
|
|
16
|
-
"@remix-run/server-runtime": "0.0.0-experimental-
|
|
18
|
+
"@remix-run/server-runtime": "0.0.0-experimental-da3dbd2a",
|
|
17
19
|
"@remix-run/web-fetch": "^4.1.3",
|
|
18
20
|
"@remix-run/web-file": "^3.0.2",
|
|
19
21
|
"@remix-run/web-stream": "^1.0.3",
|
|
@@ -29,5 +31,11 @@
|
|
|
29
31
|
},
|
|
30
32
|
"engines": {
|
|
31
33
|
"node": ">=14"
|
|
32
|
-
}
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist/",
|
|
37
|
+
"CHANGELOG.md",
|
|
38
|
+
"LICENSE.md",
|
|
39
|
+
"README.md"
|
|
40
|
+
]
|
|
33
41
|
}
|
package/magicExports/remix.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { createCookie, createSessionStorage, createCookieSessionStorage, createMemorySessionStorage, createFileSessionStorage, unstable_createFileUploadHandler, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData, } from "@remix-run/node";
|
|
2
|
-
export type { UploadHandler, UploadHandlerPart } from "@remix-run/node";
|