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.
Files changed (32) hide show
  1. package/cjs/react-jsx-dev-runtime.development.js +7 -4
  2. package/cjs/react-jsx-dev-runtime.production.js +4 -9
  3. package/cjs/react-jsx-dev-runtime.profiling.js +4 -9
  4. package/cjs/react-jsx-runtime.development.js +7 -4
  5. package/cjs/react-jsx-runtime.production.js +24 -144
  6. package/cjs/react-jsx-runtime.profiling.js +24 -144
  7. package/cjs/react-jsx-runtime.react-server.development.js +7 -4
  8. package/cjs/react-jsx-runtime.react-server.production.js +29 -151
  9. package/cjs/react.development.js +8 -5
  10. package/cjs/react.production.js +469 -1032
  11. package/cjs/react.react-server.development.js +8 -5
  12. package/cjs/react.react-server.production.js +479 -986
  13. package/index.js +1 -1
  14. package/jsx-dev-runtime.js +1 -1
  15. package/jsx-runtime.js +1 -1
  16. package/jsx-runtime.react-server.js +1 -1
  17. package/package.json +1 -1
  18. package/react.react-server.js +1 -1
  19. package/cjs/react-jsx-dev-runtime.production.min.js +0 -12
  20. package/cjs/react-jsx-dev-runtime.production.min.js.map +0 -1
  21. package/cjs/react-jsx-dev-runtime.profiling.min.js +0 -12
  22. package/cjs/react-jsx-dev-runtime.profiling.min.js.map +0 -1
  23. package/cjs/react-jsx-runtime.production.min.js +0 -12
  24. package/cjs/react-jsx-runtime.production.min.js.map +0 -1
  25. package/cjs/react-jsx-runtime.profiling.min.js +0 -12
  26. package/cjs/react-jsx-runtime.profiling.min.js.map +0 -1
  27. package/cjs/react-jsx-runtime.react-server.production.min.js +0 -13
  28. package/cjs/react-jsx-runtime.react-server.production.min.js.map +0 -1
  29. package/cjs/react.production.min.js +0 -30
  30. package/cjs/react.production.min.js.map +0 -1
  31. package/cjs/react.react-server.production.min.js +0 -29
  32. package/cjs/react.react-server.production.min.js.map +0 -1
@@ -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-36e62c603-20240418';
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
- while (!(step = iterator.next()).done) {
1506
- if (isValidElement(step.value)) {
1507
- validateExplicitKey(step.value, parentType);
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
  }