react 19.0.0-rc-d025ddd3-20240722 → 19.0.0-rc-f6cce072-20240723
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/cjs/react-jsx-dev-runtime.development.js +11 -9
- package/cjs/react-jsx-dev-runtime.react-server.development.js +11 -9
- package/cjs/react-jsx-runtime.development.js +11 -9
- package/cjs/react-jsx-runtime.react-server.development.js +11 -9
- package/cjs/react.development.js +22 -22
- package/cjs/react.production.js +1 -1
- package/cjs/react.react-server.development.js +22 -22
- package/cjs/react.react-server.production.js +1 -1
- package/package.json +1 -1
|
@@ -152,8 +152,8 @@
|
|
|
152
152
|
-1 < x.stack.indexOf("\n at")
|
|
153
153
|
? " (<anonymous>)"
|
|
154
154
|
: -1 < x.stack.indexOf("@")
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
? "@unknown:0:0"
|
|
156
|
+
: "";
|
|
157
157
|
}
|
|
158
158
|
return "\n" + prefix + name + suffix;
|
|
159
159
|
}
|
|
@@ -470,13 +470,15 @@
|
|
|
470
470
|
null === type
|
|
471
471
|
? (isStaticChildren = "null")
|
|
472
472
|
: isArrayImpl(type)
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
473
|
+
? (isStaticChildren = "array")
|
|
474
|
+
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
475
|
+
? ((isStaticChildren =
|
|
476
|
+
"<" +
|
|
477
|
+
(getComponentNameFromType(type.type) || "Unknown") +
|
|
478
|
+
" />"),
|
|
479
|
+
(children =
|
|
480
|
+
" Did you accidentally export a JSX literal instead of a component?"))
|
|
481
|
+
: (isStaticChildren = typeof type);
|
|
480
482
|
console.error(
|
|
481
483
|
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
482
484
|
isStaticChildren,
|
|
@@ -152,8 +152,8 @@
|
|
|
152
152
|
-1 < x.stack.indexOf("\n at")
|
|
153
153
|
? " (<anonymous>)"
|
|
154
154
|
: -1 < x.stack.indexOf("@")
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
? "@unknown:0:0"
|
|
156
|
+
: "";
|
|
157
157
|
}
|
|
158
158
|
return "\n" + prefix + name + suffix;
|
|
159
159
|
}
|
|
@@ -470,13 +470,15 @@
|
|
|
470
470
|
null === type
|
|
471
471
|
? (isStaticChildren = "null")
|
|
472
472
|
: isArrayImpl(type)
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
473
|
+
? (isStaticChildren = "array")
|
|
474
|
+
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
475
|
+
? ((isStaticChildren =
|
|
476
|
+
"<" +
|
|
477
|
+
(getComponentNameFromType(type.type) || "Unknown") +
|
|
478
|
+
" />"),
|
|
479
|
+
(children =
|
|
480
|
+
" Did you accidentally export a JSX literal instead of a component?"))
|
|
481
|
+
: (isStaticChildren = typeof type);
|
|
480
482
|
console.error(
|
|
481
483
|
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
482
484
|
isStaticChildren,
|
|
@@ -152,8 +152,8 @@
|
|
|
152
152
|
-1 < x.stack.indexOf("\n at")
|
|
153
153
|
? " (<anonymous>)"
|
|
154
154
|
: -1 < x.stack.indexOf("@")
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
? "@unknown:0:0"
|
|
156
|
+
: "";
|
|
157
157
|
}
|
|
158
158
|
return "\n" + prefix + name + suffix;
|
|
159
159
|
}
|
|
@@ -470,13 +470,15 @@
|
|
|
470
470
|
null === type
|
|
471
471
|
? (isStaticChildren = "null")
|
|
472
472
|
: isArrayImpl(type)
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
473
|
+
? (isStaticChildren = "array")
|
|
474
|
+
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
475
|
+
? ((isStaticChildren =
|
|
476
|
+
"<" +
|
|
477
|
+
(getComponentNameFromType(type.type) || "Unknown") +
|
|
478
|
+
" />"),
|
|
479
|
+
(children =
|
|
480
|
+
" Did you accidentally export a JSX literal instead of a component?"))
|
|
481
|
+
: (isStaticChildren = typeof type);
|
|
480
482
|
console.error(
|
|
481
483
|
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
482
484
|
isStaticChildren,
|
|
@@ -152,8 +152,8 @@
|
|
|
152
152
|
-1 < x.stack.indexOf("\n at")
|
|
153
153
|
? " (<anonymous>)"
|
|
154
154
|
: -1 < x.stack.indexOf("@")
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
? "@unknown:0:0"
|
|
156
|
+
: "";
|
|
157
157
|
}
|
|
158
158
|
return "\n" + prefix + name + suffix;
|
|
159
159
|
}
|
|
@@ -470,13 +470,15 @@
|
|
|
470
470
|
null === type
|
|
471
471
|
? (isStaticChildren = "null")
|
|
472
472
|
: isArrayImpl(type)
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
473
|
+
? (isStaticChildren = "array")
|
|
474
|
+
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
475
|
+
? ((isStaticChildren =
|
|
476
|
+
"<" +
|
|
477
|
+
(getComponentNameFromType(type.type) || "Unknown") +
|
|
478
|
+
" />"),
|
|
479
|
+
(children =
|
|
480
|
+
" Did you accidentally export a JSX literal instead of a component?"))
|
|
481
|
+
: (isStaticChildren = typeof type);
|
|
480
482
|
console.error(
|
|
481
483
|
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
482
484
|
isStaticChildren,
|
package/cjs/react.development.js
CHANGED
|
@@ -219,8 +219,8 @@
|
|
|
219
219
|
-1 < x.stack.indexOf("\n at")
|
|
220
220
|
? " (<anonymous>)"
|
|
221
221
|
: -1 < x.stack.indexOf("@")
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
? "@unknown:0:0"
|
|
223
|
+
: "";
|
|
224
224
|
}
|
|
225
225
|
return "\n" + prefix + name + suffix;
|
|
226
226
|
}
|
|
@@ -1268,13 +1268,13 @@
|
|
|
1268
1268
|
isArrayImpl(type)
|
|
1269
1269
|
? (typeString = "array")
|
|
1270
1270
|
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1271
|
+
? ((typeString =
|
|
1272
|
+
"<" +
|
|
1273
|
+
(getComponentNameFromType(type.type) || "Unknown") +
|
|
1274
|
+
" />"),
|
|
1275
|
+
(i =
|
|
1276
|
+
" Did you accidentally export a JSX literal instead of a component?"))
|
|
1277
|
+
: (typeString = typeof type);
|
|
1278
1278
|
console.error(
|
|
1279
1279
|
"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
1280
1280
|
typeString,
|
|
@@ -1343,18 +1343,18 @@
|
|
|
1343
1343
|
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
|
|
1344
1344
|
)
|
|
1345
1345
|
: "function" !== typeof render
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1346
|
+
? console.error(
|
|
1347
|
+
"forwardRef requires a render function but was given %s.",
|
|
1348
|
+
null === render ? "null" : typeof render
|
|
1349
|
+
)
|
|
1350
|
+
: 0 !== render.length &&
|
|
1351
|
+
2 !== render.length &&
|
|
1352
|
+
console.error(
|
|
1353
|
+
"forwardRef render functions accept exactly two parameters: props and ref. %s",
|
|
1354
|
+
1 === render.length
|
|
1355
|
+
? "Did you forget to use the ref parameter?"
|
|
1356
|
+
: "Any additional parameter will be undefined."
|
|
1357
|
+
);
|
|
1358
1358
|
null != render &&
|
|
1359
1359
|
null != render.defaultProps &&
|
|
1360
1360
|
console.error(
|
|
@@ -1517,7 +1517,7 @@
|
|
|
1517
1517
|
exports.useTransition = function () {
|
|
1518
1518
|
return resolveDispatcher().useTransition();
|
|
1519
1519
|
};
|
|
1520
|
-
exports.version = "19.0.0-rc-
|
|
1520
|
+
exports.version = "19.0.0-rc-f6cce072-20240723";
|
|
1521
1521
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
1522
1522
|
"function" ===
|
|
1523
1523
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
package/cjs/react.production.js
CHANGED
|
@@ -181,8 +181,8 @@
|
|
|
181
181
|
-1 < x.stack.indexOf("\n at")
|
|
182
182
|
? " (<anonymous>)"
|
|
183
183
|
: -1 < x.stack.indexOf("@")
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
? "@unknown:0:0"
|
|
185
|
+
: "";
|
|
186
186
|
}
|
|
187
187
|
return "\n" + prefix + name + suffix;
|
|
188
188
|
}
|
|
@@ -952,13 +952,13 @@
|
|
|
952
952
|
isArrayImpl(type)
|
|
953
953
|
? (typeString = "array")
|
|
954
954
|
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
955
|
+
? ((typeString =
|
|
956
|
+
"<" +
|
|
957
|
+
(getComponentNameFromType(type.type) || "Unknown") +
|
|
958
|
+
" />"),
|
|
959
|
+
(i =
|
|
960
|
+
" Did you accidentally export a JSX literal instead of a component?"))
|
|
961
|
+
: (typeString = typeof type);
|
|
962
962
|
console.error(
|
|
963
963
|
"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
964
964
|
typeString,
|
|
@@ -1027,18 +1027,18 @@
|
|
|
1027
1027
|
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
|
|
1028
1028
|
)
|
|
1029
1029
|
: "function" !== typeof render
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1030
|
+
? console.error(
|
|
1031
|
+
"forwardRef requires a render function but was given %s.",
|
|
1032
|
+
null === render ? "null" : typeof render
|
|
1033
|
+
)
|
|
1034
|
+
: 0 !== render.length &&
|
|
1035
|
+
2 !== render.length &&
|
|
1036
|
+
console.error(
|
|
1037
|
+
"forwardRef render functions accept exactly two parameters: props and ref. %s",
|
|
1038
|
+
1 === render.length
|
|
1039
|
+
? "Did you forget to use the ref parameter?"
|
|
1040
|
+
: "Any additional parameter will be undefined."
|
|
1041
|
+
);
|
|
1042
1042
|
null != render &&
|
|
1043
1043
|
null != render.defaultProps &&
|
|
1044
1044
|
console.error(
|
|
@@ -1113,5 +1113,5 @@
|
|
|
1113
1113
|
exports.useMemo = function (create, deps) {
|
|
1114
1114
|
return resolveDispatcher().useMemo(create, deps);
|
|
1115
1115
|
};
|
|
1116
|
-
exports.version = "19.0.0-rc-
|
|
1116
|
+
exports.version = "19.0.0-rc-f6cce072-20240723";
|
|
1117
1117
|
})();
|