@remix-run/node 0.0.0-experimental-60f7226a → 0.0.0-experimental-84a312db

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.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-60f7226a
2
+ * @remix-run/node v0.0.0-experimental-84a312db
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/crypto.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-60f7226a
2
+ * @remix-run/node v0.0.0-experimental-84a312db
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/fetch.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-60f7226a
2
+ * @remix-run/node v0.0.0-experimental-84a312db
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/globals.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ /// <reference types="node" />
2
+ import { TextDecoder, TextEncoder } from "util";
1
3
  import { atob, btoa } from "./base64";
2
4
  declare global {
3
5
  namespace NodeJS {
@@ -16,6 +18,8 @@ declare global {
16
18
  FormData: typeof FormData;
17
19
  ReadableStream: typeof ReadableStream;
18
20
  WritableStream: typeof WritableStream;
21
+ TextDecoder: typeof TextDecoder;
22
+ TextEncoder: typeof TextEncoder;
19
23
  }
20
24
  }
21
25
  }
package/globals.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-60f7226a
2
+ * @remix-run/node v0.0.0-experimental-84a312db
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -12,6 +12,7 @@
12
12
 
13
13
  Object.defineProperty(exports, '__esModule', { value: true });
14
14
 
15
+ var util = require('util');
15
16
  var webStream = require('@remix-run/web-stream');
16
17
  var base64 = require('./base64.js');
17
18
  var fetch = require('./fetch.js');
@@ -30,6 +31,8 @@ function installGlobals() {
30
31
  global.FormData = webFetch.FormData;
31
32
  global.ReadableStream = webStream.ReadableStream;
32
33
  global.WritableStream = webStream.WritableStream;
34
+ global.TextDecoder = util.TextDecoder;
35
+ global.TextEncoder = util.TextEncoder;
33
36
  }
34
37
 
35
38
  exports.installGlobals = installGlobals;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-60f7226a
2
+ * @remix-run/node v0.0.0-experimental-84a312db
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/index.d.ts CHANGED
@@ -7,4 +7,4 @@ export { createFileUploadHandler as unstable_createFileUploadHandler, NodeOnDisk
7
7
  export { createCookie, createCookieSessionStorage, createMemorySessionStorage, createSessionStorage, } from "./implementations";
8
8
  export { createReadableStreamFromReadable, readableStreamToString, writeAsyncIterableToWritable, writeReadableStreamToWritable, } from "./stream";
9
9
  export { createRequestHandler, createSession, deferred, 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";
10
+ export type { ActionFunction, AppData, AppLoadContext, Cookie, CookieOptions, CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, CreateRequestHandlerFunction, DataFunctionArgs, Deferrable, EntryContext, ErrorBoundaryComponent, HandleDataRequestFunction, HandleDocumentRequestFunction, HeadersFunction, HtmlLinkDescriptor, HtmlMetaDescriptor, LinkDescriptor, LinksFunction, LoaderFunction, MemoryUploadHandlerFilterArgs, MemoryUploadHandlerOptions, MetaDescriptor, MetaFunction, PageLinkDescriptor, RequestHandler, ResolvedDeferrable, RouteComponent, RouteHandle, ServerBuild, ServerEntryModule, Session, SessionData, SessionIdStorageStrategy, SessionStorage, UploadHandler, UploadHandlerPart, } from "@remix-run/server-runtime";
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-60f7226a
2
+ * @remix-run/node v0.0.0-experimental-84a312db
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-60f7226a
2
+ * @remix-run/node v0.0.0-experimental-84a312db
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-60f7226a
2
+ * @remix-run/node v0.0.0-experimental-84a312db
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remix-run/node",
3
- "version": "0.0.0-experimental-60f7226a",
3
+ "version": "0.0.0-experimental-84a312db",
4
4
  "description": "Node.js platform abstractions for Remix",
5
5
  "bugs": {
6
6
  "url": "https://github.com/remix-run/remix/issues"
@@ -13,7 +13,7 @@
13
13
  "license": "MIT",
14
14
  "sideEffects": false,
15
15
  "dependencies": {
16
- "@remix-run/server-runtime": "0.0.0-experimental-60f7226a",
16
+ "@remix-run/server-runtime": "0.0.0-experimental-84a312db",
17
17
  "@remix-run/web-fetch": "^4.1.3",
18
18
  "@remix-run/web-file": "^3.0.2",
19
19
  "@remix-run/web-stream": "^1.0.3",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-60f7226a
2
+ * @remix-run/node v0.0.0-experimental-84a312db
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/stream.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-60f7226a
2
+ * @remix-run/node v0.0.0-experimental-84a312db
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-60f7226a
2
+ * @remix-run/node v0.0.0-experimental-84a312db
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *