@react-router/serve 7.9.2-pre.2 → 7.9.2-pre.3
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 +10 -0
- package/dist/cli.js +4 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# `@react-router/serve`
|
|
2
2
|
|
|
3
|
+
## 7.9.2-pre.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- disable compression for RSC responses for now ([#14381](https://github.com/remix-run/react-router/pull/14381))
|
|
8
|
+
- Updated dependencies:
|
|
9
|
+
- `react-router@7.9.2-pre.3`
|
|
10
|
+
- `@react-router/express@7.9.2-pre.3`
|
|
11
|
+
- `@react-router/node@7.9.2-pre.3`
|
|
12
|
+
|
|
3
13
|
## 7.9.2-pre.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* @react-router/serve v7.9.2-pre.
|
|
3
|
+
* @react-router/serve v7.9.2-pre.3
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) Remix Software Inc.
|
|
6
6
|
*
|
|
@@ -112,7 +112,9 @@ async function run() {
|
|
|
112
112
|
};
|
|
113
113
|
let app = (0, import_express2.default)();
|
|
114
114
|
app.disable("x-powered-by");
|
|
115
|
-
|
|
115
|
+
if (!isRSCServerBuild(build)) {
|
|
116
|
+
app.use((0, import_compression.default)());
|
|
117
|
+
}
|
|
116
118
|
app.use(
|
|
117
119
|
import_node_path.default.posix.join(build.publicPath, "assets"),
|
|
118
120
|
import_express2.default.static(import_node_path.default.join(build.assetsBuildDirectory, "assets"), {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-router/serve",
|
|
3
|
-
"version": "7.9.2-pre.
|
|
3
|
+
"version": "7.9.2-pre.3",
|
|
4
4
|
"description": "Production application server for React Router",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/remix-run/react-router/issues"
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"get-port": "5.1.1",
|
|
39
39
|
"morgan": "^1.10.0",
|
|
40
40
|
"source-map-support": "^0.5.21",
|
|
41
|
-
"@react-router/express": "7.9.2-pre.
|
|
42
|
-
"@react-router/node": "7.9.2-pre.
|
|
41
|
+
"@react-router/express": "7.9.2-pre.3",
|
|
42
|
+
"@react-router/node": "7.9.2-pre.3"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"react-router": "7.9.2-pre.
|
|
45
|
+
"react-router": "7.9.2-pre.3"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/compression": "^1.7.0",
|