react 19.0.0-canary-36e62c603-20240418 → 19.0.0-canary-db913d8e17-20240422
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 +7 -4
- package/cjs/react-jsx-dev-runtime.production.js +4 -9
- package/cjs/react-jsx-dev-runtime.profiling.js +4 -9
- package/cjs/react-jsx-runtime.development.js +7 -4
- package/cjs/react-jsx-runtime.production.js +24 -144
- package/cjs/react-jsx-runtime.profiling.js +24 -144
- package/cjs/react-jsx-runtime.react-server.development.js +7 -4
- package/cjs/react-jsx-runtime.react-server.production.js +29 -151
- package/cjs/react.development.js +8 -5
- package/cjs/react.production.js +469 -1032
- package/cjs/react.react-server.development.js +8 -5
- package/cjs/react.react-server.production.js +479 -986
- package/index.js +1 -1
- package/jsx-dev-runtime.js +1 -1
- package/jsx-runtime.js +1 -1
- package/jsx-runtime.react-server.js +1 -1
- package/package.json +1 -1
- package/react.react-server.js +1 -1
- package/cjs/react-jsx-dev-runtime.production.min.js +0 -12
- package/cjs/react-jsx-dev-runtime.production.min.js.map +0 -1
- package/cjs/react-jsx-dev-runtime.profiling.min.js +0 -12
- package/cjs/react-jsx-dev-runtime.profiling.min.js.map +0 -1
- package/cjs/react-jsx-runtime.production.min.js +0 -12
- package/cjs/react-jsx-runtime.production.min.js.map +0 -1
- package/cjs/react-jsx-runtime.profiling.min.js +0 -12
- package/cjs/react-jsx-runtime.profiling.min.js.map +0 -1
- package/cjs/react-jsx-runtime.react-server.production.min.js +0 -13
- package/cjs/react-jsx-runtime.react-server.production.min.js.map +0 -1
- package/cjs/react.production.min.js +0 -30
- package/cjs/react.production.min.js.map +0 -1
- package/cjs/react.react-server.production.min.js +0 -29
- package/cjs/react.react-server.production.min.js.map +0 -1
package/cjs/react.development.js
CHANGED
@@ -23,7 +23,7 @@ if (
|
|
23
23
|
) {
|
24
24
|
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
25
25
|
}
|
26
|
-
var ReactVersion = '19.0.0-canary-
|
26
|
+
var ReactVersion = '19.0.0-canary-db913d8e17-20240422';
|
27
27
|
|
28
28
|
// ATTENTION
|
29
29
|
// When adding new symbols to this file,
|
@@ -1500,11 +1500,14 @@ function validateChildKeys(node, parentType) {
|
|
1500
1500
|
// but now we print a separate warning for them later.
|
1501
1501
|
if (iteratorFn !== node.entries) {
|
1502
1502
|
var iterator = iteratorFn.call(node);
|
1503
|
-
var step;
|
1504
1503
|
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1504
|
+
if (iterator !== node) {
|
1505
|
+
var step;
|
1506
|
+
|
1507
|
+
while (!(step = iterator.next()).done) {
|
1508
|
+
if (isValidElement(step.value)) {
|
1509
|
+
validateExplicitKey(step.value, parentType);
|
1510
|
+
}
|
1508
1511
|
}
|
1509
1512
|
}
|
1510
1513
|
}
|