vite-plugin-react-server 1.0.1 → 1.0.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/README.md +1 -1
- package/bin/patch.mjs +2 -10
- package/dist/package.json +6 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -7
- package/scripts/check-react-version.mjs +1 -12
- package/scripts/react+0.0.0-experimental-eda36a1c-20250228.patch +0 -159
- package/scripts/react-dom+0.0.0-experimental-eda36a1c-20250228.patch +0 -11002
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
diff --git a/node_modules/react/cjs/react-jsx-dev-runtime.development.js b/node_modules/react/cjs/react-jsx-dev-runtime.development.js
|
|
2
|
-
index 585027f..aeca110 100644
|
|
3
|
-
--- a/node_modules/react/cjs/react-jsx-dev-runtime.development.js
|
|
4
|
-
+++ b/node_modules/react/cjs/react-jsx-dev-runtime.development.js
|
|
5
|
-
@@ -300,8 +300,9 @@
|
|
6
|
-
ReactSharedInternals =
|
|
7
|
-
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
8
|
-
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
9
|
-
- isArrayImpl = Array.isArray,
|
|
10
|
-
- createTask = console.createTask
|
|
11
|
-
+ isArrayImpl = Array.isArray;
|
|
12
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
13
|
-
+ var createTask = console.createTask
|
|
14
|
-
? console.createTask
|
|
15
|
-
: function () {
|
|
16
|
-
return null;
|
|
17
|
-
diff --git a/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js b/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js
|
|
18
|
-
index 8d1141c..0d74219 100644
|
|
19
|
-
--- a/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js
|
|
20
|
-
+++ b/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js
|
|
21
|
-
@@ -304,8 +304,9 @@
|
|
22
|
-
'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
|
|
23
|
-
);
|
|
24
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
25
|
-
- isArrayImpl = Array.isArray,
|
|
26
|
-
- createTask = console.createTask
|
|
27
|
-
+ isArrayImpl = Array.isArray;
|
|
28
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
29
|
-
+ var createTask = console.createTask
|
|
30
|
-
? console.createTask
|
|
31
|
-
: function () {
|
|
32
|
-
return null;
|
|
33
|
-
diff --git a/node_modules/react/cjs/react-jsx-runtime.development.js b/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
34
|
-
index 40bddcd..c18bba9 100644
|
|
35
|
-
--- a/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
36
|
-
+++ b/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
37
|
-
@@ -300,8 +300,9 @@
|
|
38
|
-
ReactSharedInternals =
|
|
39
|
-
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
40
|
-
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
41
|
-
- isArrayImpl = Array.isArray,
|
|
42
|
-
- createTask = console.createTask
|
|
43
|
-
+ isArrayImpl = Array.isArray;
|
|
44
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
45
|
-
+ var createTask = console.createTask
|
|
46
|
-
? console.createTask
|
|
47
|
-
: function () {
|
|
48
|
-
return null;
|
|
49
|
-
diff --git a/node_modules/react/cjs/react-jsx-runtime.react-server.development.js b/node_modules/react/cjs/react-jsx-runtime.react-server.development.js
|
|
50
|
-
index dd07748..0b3aaf0 100644
|
|
51
|
-
--- a/node_modules/react/cjs/react-jsx-runtime.react-server.development.js
|
|
52
|
-
+++ b/node_modules/react/cjs/react-jsx-runtime.react-server.development.js
|
|
53
|
-
@@ -304,8 +304,9 @@
|
|
54
|
-
'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
|
|
55
|
-
);
|
|
56
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
57
|
-
- isArrayImpl = Array.isArray,
|
|
58
|
-
- createTask = console.createTask
|
|
59
|
-
+ isArrayImpl = Array.isArray;
|
|
60
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
61
|
-
+ var createTask = console.createTask
|
|
62
|
-
? console.createTask
|
|
63
|
-
: function () {
|
|
64
|
-
return null;
|
|
65
|
-
diff --git a/node_modules/react/cjs/react.development.js b/node_modules/react/cjs/react.development.js
|
|
66
|
-
index e3389a3..2bc8270 100644
|
|
67
|
-
--- a/node_modules/react/cjs/react.development.js
|
|
68
|
-
+++ b/node_modules/react/cjs/react.development.js
|
|
69
|
-
@@ -671,7 +671,9 @@
|
|
70
|
-
getCurrentStack: null
|
|
71
|
-
},
|
|
72
|
-
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
73
|
-
- createTask = console.createTask
|
|
74
|
-
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
75
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
76
|
-
+ var createTask = console.createTask
|
|
77
|
-
? console.createTask
|
|
78
|
-
: function () {
|
|
79
|
-
return null;
|
|
80
|
-
@@ -681,7 +683,6 @@
|
|
81
|
-
var didWarnAboutElementRef = {};
|
|
82
|
-
var didWarnAboutMaps = !1,
|
|
83
|
-
userProvidedKeyEscapeRegex = /\/+/g,
|
|
84
|
-
- REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
85
|
-
reportGlobalError =
|
|
86
|
-
"function" === typeof reportError
|
|
87
|
-
? reportError
|
|
88
|
-
@@ -1276,7 +1277,7 @@
|
|
89
|
-
exports.useTransition = function () {
|
|
90
|
-
return resolveDispatcher().useTransition();
|
|
91
|
-
};
|
|
92
|
-
- exports.version = "19.1.0-experimental-f9d78089-20250306";
|
|
93
|
-
+ exports.version = "19.1.0-experimental-eda36a1c-20250228";
|
|
94
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
95
|
-
"function" ===
|
|
96
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
97
|
-
diff --git a/node_modules/react/cjs/react.production.js b/node_modules/react/cjs/react.production.js
|
|
98
|
-
index f357ca5..24d6e95 100644
|
|
99
|
-
--- a/node_modules/react/cjs/react.production.js
|
|
100
|
-
+++ b/node_modules/react/cjs/react.production.js
|
|
101
|
-
@@ -576,4 +576,4 @@ exports.useSyncExternalStore = function (
|
|
102
|
-
exports.useTransition = function () {
|
|
103
|
-
return ReactSharedInternals.H.useTransition();
|
|
104
|
-
};
|
|
105
|
-
-exports.version = "19.1.0-experimental-f9d78089-20250306";
|
|
106
|
-
+exports.version = "19.1.0-experimental-eda36a1c-20250228";
|
|
107
|
-
diff --git a/node_modules/react/cjs/react.react-server.development.js b/node_modules/react/cjs/react.react-server.development.js
|
|
108
|
-
index 3cbd7eb..8497113 100644
|
|
109
|
-
--- a/node_modules/react/cjs/react.react-server.development.js
|
|
110
|
-
+++ b/node_modules/react/cjs/react.react-server.development.js
|
|
111
|
-
@@ -507,7 +507,9 @@
|
|
112
|
-
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
|
113
|
-
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
114
|
-
assign = Object.assign,
|
|
115
|
-
- createTask = console.createTask
|
|
116
|
-
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
117
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
118
|
-
+ var createTask = console.createTask
|
|
119
|
-
? console.createTask
|
|
120
|
-
: function () {
|
|
121
|
-
return null;
|
|
122
|
-
@@ -517,7 +519,6 @@
|
|
123
|
-
var didWarnAboutElementRef = {};
|
|
124
|
-
var didWarnAboutMaps = !1,
|
|
125
|
-
userProvidedKeyEscapeRegex = /\/+/g,
|
|
126
|
-
- REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
127
|
-
reportGlobalError =
|
|
128
|
-
"function" === typeof reportError
|
|
129
|
-
? reportError
|
|
130
|
-
@@ -980,5 +981,5 @@
|
|
131
|
-
exports.useMemo = function (create, deps) {
|
|
132
|
-
return resolveDispatcher().useMemo(create, deps);
|
|
133
|
-
};
|
|
134
|
-
- exports.version = "19.1.0-experimental-f9d78089-20250306";
|
|
135
|
-
+ exports.version = "19.1.0-experimental-eda36a1c-20250228";
|
|
136
|
-
})();
|
|
137
|
-
diff --git a/node_modules/react/cjs/react.react-server.production.js b/node_modules/react/cjs/react.react-server.production.js
|
|
138
|
-
index 53a5ddf..694169d 100644
|
|
139
|
-
--- a/node_modules/react/cjs/react.react-server.production.js
|
|
140
|
-
+++ b/node_modules/react/cjs/react.react-server.production.js
|
|
141
|
-
@@ -561,4 +561,4 @@ exports.useId = function () {
|
|
142
|
-
exports.useMemo = function (create, deps) {
|
|
143
|
-
return ReactSharedInternals.H.useMemo(create, deps);
|
|
144
|
-
};
|
|
145
|
-
-exports.version = "19.1.0-experimental-f9d78089-20250306";
|
|
146
|
-
+exports.version = "19.1.0-experimental-eda36a1c-20250228";
|
|
147
|
-
diff --git a/node_modules/react/package.json b/node_modules/react/package.json
|
|
148
|
-
index 965519d..b6e85b0 100644
|
|
149
|
-
--- a/node_modules/react/package.json
|
|
150
|
-
+++ b/node_modules/react/package.json
|
|
151
|
-
@@ -4,7 +4,7 @@
|
|
152
|
-
"keywords": [
|
|
153
|
-
"react"
|
|
154
|
-
],
|
|
155
|
-
- "version": "0.0.0-experimental-f9d78089-20250306",
|
|
156
|
-
+ "version": "0.0.0-experimental-eda36a1c-20250228",
|
|
157
|
-
"homepage": "https://react.dev/",
|
|
158
|
-
"bugs": "https://github.com/facebook/react/issues",
|
|
159
|
-
"license": "MIT",
|