react-on-rails-pro-node-renderer 16.7.0-rc.0 → 16.7.0-rc.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/lib/worker/vm.js +2 -0
- package/package.json +3 -3
package/lib/worker/vm.js
CHANGED
|
@@ -136,6 +136,8 @@ async function buildVM(filePath) {
|
|
|
136
136
|
// 1. docs/oss/building-features/node-renderer/js-configuration.md
|
|
137
137
|
// 2. packages/react-on-rails-pro-node-renderer/src/shared/configBuilder.ts (JSDoc on `supportModules`)
|
|
138
138
|
// 3. docs/oss/migrating/rsc-troubleshooting.md ("Node Renderer VM Context -- Missing Globals")
|
|
139
|
+
// NOTE: fetch, Headers, Request, Response, AbortController, and AbortSignal are intentionally
|
|
140
|
+
// NOT injected here -- callers must provide them via `additionalContext` if their bundle needs them.
|
|
139
141
|
extendContext(contextObject, {
|
|
140
142
|
Buffer,
|
|
141
143
|
TextDecoder,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-on-rails-pro-node-renderer",
|
|
3
|
-
"version": "16.7.0-rc.
|
|
3
|
+
"version": "16.7.0-rc.1",
|
|
4
4
|
"protocolVersion": "2.0.0",
|
|
5
5
|
"description": "React on Rails Pro Node Renderer for server-side rendering",
|
|
6
6
|
"main": "lib/ReactOnRailsProNodeRenderer.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@fastify/formbody": "^7.4.0 || ^8.0.2",
|
|
36
36
|
"@fastify/multipart": "^8.3.1 || ^9.0.3",
|
|
37
|
-
"fastify": "^5.8.
|
|
37
|
+
"fastify": "^5.8.5",
|
|
38
38
|
"fs-extra": "^11.2.0",
|
|
39
39
|
"jsonwebtoken": "^9.0.3",
|
|
40
40
|
"lockfile": "^1.0.4",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"sentry-testkit": "^5.0.6",
|
|
66
66
|
"touch": "^3.1.0",
|
|
67
67
|
"typescript": "^5.4.3",
|
|
68
|
-
"react-on-rails": "16.7.0-rc.
|
|
68
|
+
"react-on-rails": "16.7.0-rc.1"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"@honeybadger-io/js": ">=4.0.0",
|