@react-router/node 7.6.3 → 7.7.0-pre.1
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/CHANGELOG.md +14 -0
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# `@react-router/node`
|
|
2
2
|
|
|
3
|
+
## 7.7.0-pre.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies:
|
|
8
|
+
- `react-router@7.7.0-pre.1`
|
|
9
|
+
|
|
10
|
+
## 7.7.0-pre.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies:
|
|
15
|
+
- `react-router@7.7.0-pre.0`
|
|
16
|
+
|
|
3
17
|
## 7.6.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @react-router/node v7.
|
|
2
|
+
* @react-router/node v7.7.0-pre.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -38,8 +38,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
39
39
|
|
|
40
40
|
// index.ts
|
|
41
|
-
var
|
|
42
|
-
__export(
|
|
41
|
+
var index_exports = {};
|
|
42
|
+
__export(index_exports, {
|
|
43
43
|
createFileSessionStorage: () => createFileSessionStorage,
|
|
44
44
|
createReadableStreamFromReadable: () => createReadableStreamFromReadable,
|
|
45
45
|
createRequestListener: () => createRequestListener,
|
|
@@ -47,7 +47,7 @@ __export(react_router_node_exports, {
|
|
|
47
47
|
writeAsyncIterableToWritable: () => writeAsyncIterableToWritable,
|
|
48
48
|
writeReadableStreamToWritable: () => writeReadableStreamToWritable
|
|
49
49
|
});
|
|
50
|
-
module.exports = __toCommonJS(
|
|
50
|
+
module.exports = __toCommonJS(index_exports);
|
|
51
51
|
|
|
52
52
|
// server.ts
|
|
53
53
|
var import_react_router = require("react-router");
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @react-router/node v7.
|
|
2
|
+
* @react-router/node v7.7.0-pre.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -21,8 +21,8 @@ function createRequestListener(options) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
// sessions/fileStorage.ts
|
|
24
|
-
import { promises as fsp } from "
|
|
25
|
-
import * as path from "
|
|
24
|
+
import { promises as fsp } from "fs";
|
|
25
|
+
import * as path from "path";
|
|
26
26
|
import { createSessionStorage } from "react-router";
|
|
27
27
|
function createFileSessionStorage({
|
|
28
28
|
cookie,
|
|
@@ -84,7 +84,7 @@ function getFile(dir, id) {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
// stream.ts
|
|
87
|
-
import { Stream } from "
|
|
87
|
+
import { Stream } from "stream";
|
|
88
88
|
async function writeReadableStreamToWritable(stream, writable) {
|
|
89
89
|
let reader = stream.getReader();
|
|
90
90
|
let flushable = writable;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-router/node",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.7.0-pre.1",
|
|
4
4
|
"description": "Node.js platform abstractions for React Router",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/remix-run/react-router/issues"
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"tsup": "^8.3.0",
|
|
53
53
|
"typescript": "^5.1.6",
|
|
54
54
|
"wireit": "0.14.9",
|
|
55
|
-
"react-router": "7.
|
|
55
|
+
"react-router": "7.7.0-pre.1"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"typescript": "^5.1.0",
|
|
59
|
-
"react-router": "7.
|
|
59
|
+
"react-router": "7.7.0-pre.1"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
62
62
|
"typescript": {
|