Unverified Commit 6f2e9aec authored by Andrew Clark's avatar Andrew Clark Committed by GitHub

Update React from dd480ef92 to d6dcad6a8. (#55399)

### React upstream changes:

- https://github.com/facebook/react/pull/27374
- https://github.com/facebook/react/pull/27369
- https://github.com/facebook/react/pull/27372
- https://github.com/facebook/react/pull/27371
- https://github.com/facebook/react/pull/27370
- https://github.com/facebook/react/pull/27321
- https://github.com/facebook/react/pull/27368
- https://github.com/facebook/react/pull/27367
- https://github.com/facebook/react/pull/27366
- https://github.com/facebook/react/pull/27360
- https://github.com/facebook/react/pull/27361
- https://github.com/facebook/react/pull/27357
- https://github.com/facebook/react/pull/27359
- https://github.com/facebook/react/pull/27358
- https://github.com/facebook/react/pull/27330
- https://github.com/facebook/react/pull/27347
- https://github.com/facebook/react/pull/27307
- https://github.com/facebook/react/pull/27346
- https://github.com/facebook/react/pull/27342
- https://github.com/facebook/react/pull/27340
- https://github.com/facebook/react/pull/27328
- https://github.com/facebook/react/pull/27327
- https://github.com/facebook/react/pull/27325
- https://github.com/facebook/react/pull/27337
- https://github.com/facebook/react/pull/27336
- https://github.com/facebook/react/pull/27323
- https://github.com/facebook/react/pull/27320
- https://github.com/facebook/react/pull/27317
- https://github.com/facebook/react/pull/27318
- https://github.com/facebook/react/pull/27316
- https://github.com/facebook/react/pull/27313
- https://github.com/facebook/react/pull/27309
- https://github.com/facebook/react/pull/27302
- https://github.com/facebook/react/pull/27297
- https://github.com/facebook/react/pull/27295
- https://github.com/facebook/react/pull/27305
- https://github.com/facebook/react/pull/27215
- https://github.com/facebook/react/pull/27304
- https://github.com/facebook/react/pull/27067
- https://github.com/facebook/react/pull/27179
- https://github.com/facebook/react/pull/27278
- https://github.com/facebook/react/pull/27277
- https://github.com/facebook/react/pull/27282
- https://github.com/facebook/react/pull/27230
- https://github.com/facebook/react/pull/27260
- https://github.com/facebook/react/pull/27270
- https://github.com/facebook/react/pull/27273
- https://github.com/facebook/react/pull/27268
- https://github.com/facebook/react/pull/27269
parent e23dac0c
...@@ -194,14 +194,14 @@ ...@@ -194,14 +194,14 @@
"random-seed": "0.3.0", "random-seed": "0.3.0",
"react": "18.2.0", "react": "18.2.0",
"react-17": "npm:react@17.0.2", "react-17": "npm:react@17.0.2",
"react-builtin": "npm:react@18.3.0-canary-dd480ef92-20230822", "react-builtin": "npm:react@18.3.0-canary-d6dcad6a8-20230914",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-dom-17": "npm:react-dom@17.0.2", "react-dom-17": "npm:react-dom@17.0.2",
"react-dom-builtin": "npm:react-dom@18.3.0-canary-dd480ef92-20230822", "react-dom-builtin": "npm:react-dom@18.3.0-canary-d6dcad6a8-20230914",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-dd480ef92-20230822", "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-d6dcad6a8-20230914",
"react-experimental-builtin": "npm:react@0.0.0-experimental-dd480ef92-20230822", "react-experimental-builtin": "npm:react@0.0.0-experimental-d6dcad6a8-20230914",
"react-server-dom-webpack": "18.3.0-canary-dd480ef92-20230822", "react-server-dom-webpack": "18.3.0-canary-d6dcad6a8-20230914",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-dd480ef92-20230822", "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-d6dcad6a8-20230914",
"react-ssr-prepass": "1.0.8", "react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3", "react-virtualized": "9.22.3",
"relay-compiler": "13.0.2", "relay-compiler": "13.0.2",
...@@ -211,8 +211,8 @@ ...@@ -211,8 +211,8 @@
"resolve-from": "5.0.0", "resolve-from": "5.0.0",
"sass": "1.54.0", "sass": "1.54.0",
"satori": "0.10.3", "satori": "0.10.3",
"scheduler-builtin": "npm:scheduler@0.24.0-canary-dd480ef92-20230822", "scheduler-builtin": "npm:scheduler@0.24.0-canary-d6dcad6a8-20230914",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-dd480ef92-20230822", "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-d6dcad6a8-20230914",
"seedrandom": "3.0.5", "seedrandom": "3.0.5",
"selenium-webdriver": "4.0.0-beta.4", "selenium-webdriver": "4.0.0-beta.4",
"semver": "7.3.7", "semver": "7.3.7",
......
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
'use strict';var d=require("next/dist/compiled/react-experimental"),e={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function f(b){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+b,c=1;c<arguments.length;c++)a+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+b+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g=e.Dispatcher,h=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher; 'use strict';var e=require("next/dist/compiled/react-experimental"),f={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function h(b){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+b,c=1;c<arguments.length;c++)a+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+b+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var k=f.Dispatcher;
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=e;exports.createPortal=function(){throw Error(f(448));};exports.experimental_useFormStatus=function(){return h.current.useHostTransitionStatus()};exports.flushSync=function(){throw Error(f(449));};exports.preconnect=function(b,a){var c=g.current;c&&c.preconnect(b,a)};exports.prefetchDNS=function(b){var a=g.current;a&&a.prefetchDNS(b)};exports.preinit=function(b,a){var c=g.current;c&&c.preinit(b,a)}; function l(b,a){return"font"===b?"":"string"===typeof a?"use-credentials"===a?"use-credentials":"":void 0}var p=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=f;exports.createPortal=function(){throw Error(h(448));};exports.experimental_useFormState=function(b,a,c){return p.current.useFormState(b,a,c)};exports.experimental_useFormStatus=function(){return p.current.useHostTransitionStatus()};
exports.preload=function(b,a){var c=g.current;c&&c.preload(b,a)};exports.unstable_batchedUpdates=function(b,a){return b(a)};exports.version="18.3.0-experimental-dd480ef92-20230822"; exports.flushSync=function(){throw Error(h(449));};exports.preconnect=function(b,a){var c=k.current;c&&"string"===typeof b&&(a=a?l("preconnect",a.crossOrigin):null,c.preconnect(b,a))};exports.prefetchDNS=function(b){var a=k.current;a&&"string"===typeof b&&a.prefetchDNS(b)};
exports.preinit=function(b,a){var c=k.current;if(c&&"string"===typeof b&&a&&"string"===typeof a.as){var d=a.as,g=l(d,a.crossOrigin),m="string"===typeof a.integrity?a.integrity:void 0,n="string"===typeof a.fetchPriority?a.fetchPriority:void 0;"style"===d?c.preinitStyle(b,"string"===typeof a.precedence?a.precedence:void 0,{crossOrigin:g,integrity:m,fetchPriority:n}):"script"===d&&c.preinitScript(b,{crossOrigin:g,integrity:m,fetchPriority:n,nonce:"string"===typeof a.nonce?a.nonce:void 0})}};
exports.preinitModule=function(b,a){var c=k.current;if(c&&"string"===typeof b&&(null==a||"object"===typeof a&&(null==a.as||"script"===a.as))){var d=a?l(void 0,a.crossOrigin):void 0;c.preinitModuleScript(b,{crossOrigin:d,integrity:a&&"string"===typeof a.integrity?a.integrity:void 0})}};
exports.preload=function(b,a){var c=k.current;if(c&&"string"===typeof b&&"object"===typeof a&&null!==a&&"string"===typeof a.as){var d=a.as,g=l(d,a.crossOrigin);c.preload(b,d,{crossOrigin:g,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0,type:"string"===typeof a.type?a.type:void 0,fetchPriority:"string"===typeof a.fetchPriority?a.fetchPriority:void 0,referrerPolicy:"string"===typeof a.referrerPolicy?a.referrerPolicy:void 0,imageSrcSet:"string"===
typeof a.imageSrcSet?a.imageSrcSet:void 0,imageSizes:"string"===typeof a.imageSizes?a.imageSizes:void 0})}};exports.preloadModule=function(b,a){var c=k.current;if(c&&"string"===typeof b)if(a){var d=l(a.as,a.crossOrigin);c.preloadModule(b,{as:"string"===typeof a.as&&"script"!==a.as?a.as:void 0,crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0})}else c.preloadModule(b)};exports.unstable_batchedUpdates=function(b,a){return b(a)};exports.version="18.3.0-experimental-d6dcad6a8-20230914";
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -39,10 +39,10 @@ ...@@ -39,10 +39,10 @@
}, },
"dependencies": { "dependencies": {
"loose-envify": "^1.1.0", "loose-envify": "^1.1.0",
"scheduler": "0.0.0-experimental-dd480ef92-20230822" "scheduler": "0.0.0-experimental-d6dcad6a8-20230914"
}, },
"peerDependencies": { "peerDependencies": {
"react": "0.0.0-experimental-dd480ef92-20230822" "react": "0.0.0-experimental-d6dcad6a8-20230914"
}, },
"browser": { "browser": {
"./server.js": "./server.browser.js", "./server.js": "./server.browser.js",
......
...@@ -15,3 +15,6 @@ exports.renderToStaticMarkup = l.renderToStaticMarkup; ...@@ -15,3 +15,6 @@ exports.renderToStaticMarkup = l.renderToStaticMarkup;
exports.renderToNodeStream = l.renderToNodeStream; exports.renderToNodeStream = l.renderToNodeStream;
exports.renderToStaticNodeStream = l.renderToStaticNodeStream; exports.renderToStaticNodeStream = l.renderToStaticNodeStream;
exports.renderToReadableStream = s.renderToReadableStream; exports.renderToReadableStream = s.renderToReadableStream;
if (s.resume) {
exports.resume = s.resume;
}
...@@ -16,3 +16,6 @@ exports.renderToNodeStream = b.renderToNodeStream; ...@@ -16,3 +16,6 @@ exports.renderToNodeStream = b.renderToNodeStream;
exports.renderToStaticNodeStream = b.renderToStaticNodeStream; exports.renderToStaticNodeStream = b.renderToStaticNodeStream;
exports.renderToString = l.renderToString; exports.renderToString = l.renderToString;
exports.renderToStaticMarkup = l.renderToStaticMarkup; exports.renderToStaticMarkup = l.renderToStaticMarkup;
if (b.resume) {
exports.resume = b.resume;
}
...@@ -15,3 +15,6 @@ exports.renderToStaticMarkup = l.renderToStaticMarkup; ...@@ -15,3 +15,6 @@ exports.renderToStaticMarkup = l.renderToStaticMarkup;
exports.renderToNodeStream = l.renderToNodeStream; exports.renderToNodeStream = l.renderToNodeStream;
exports.renderToStaticNodeStream = l.renderToStaticNodeStream; exports.renderToStaticNodeStream = l.renderToStaticNodeStream;
exports.renderToPipeableStream = s.renderToPipeableStream; exports.renderToPipeableStream = s.renderToPipeableStream;
if (s.resumeToPipeableStream) {
exports.resumeToPipeableStream = s.resumeToPipeableStream;
}
'use strict'; 'use strict';
var s;
if (process.env.NODE_ENV === 'production') { if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-dom-static.edge.production.min.js'); s = require('./cjs/react-dom-server.edge.production.min.js');
} else { } else {
module.exports = require('./cjs/react-dom-static.edge.development.js'); s = require('./cjs/react-dom-server.edge.development.js');
} }
exports.version = s.version;
exports.prerender = s.prerender;
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
'use strict';var d={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function e(b){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+b,c=1;c<arguments.length;c++)a+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+b+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f=d.Dispatcher;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d; 'use strict';var e={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function f(b){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+b,c=1;c<arguments.length;c++)a+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+b+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g=e.Dispatcher;
exports.createPortal=function(){throw Error(e(448));};exports.experimental_useFormStatus=function(){throw Error(e(248));};exports.flushSync=function(){throw Error(e(449));};exports.preconnect=function(b,a){var c=f.current;c&&c.preconnect(b,a)};exports.prefetchDNS=function(b){var a=f.current;a&&a.prefetchDNS(b)};exports.preinit=function(b,a){var c=f.current;c&&c.preinit(b,a)};exports.preload=function(b,a){var c=f.current;c&&c.preload(b,a)};exports.unstable_batchedUpdates=function(b,a){return b(a)}; function k(b,a){return"font"===b?"":"string"===typeof a?"use-credentials"===a?"use-credentials":"":void 0}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=e;exports.createPortal=function(){throw Error(f(448));};exports.experimental_useFormState=function(){throw Error(f(248));};exports.experimental_useFormStatus=function(){throw Error(f(248));};exports.flushSync=function(){throw Error(f(449));};
exports.version="18.3.0-canary-dd480ef92-20230822"; exports.preconnect=function(b,a){var c=g.current;c&&"string"===typeof b&&(a=a?k("preconnect",a.crossOrigin):null,c.preconnect(b,a))};exports.prefetchDNS=function(b){var a=g.current;a&&"string"===typeof b&&a.prefetchDNS(b)};
exports.preinit=function(b,a){var c=g.current;if(c&&"string"===typeof b&&a&&"string"===typeof a.as){var d=a.as,h=k(d,a.crossOrigin),l="string"===typeof a.integrity?a.integrity:void 0,m="string"===typeof a.fetchPriority?a.fetchPriority:void 0;"style"===d?c.preinitStyle(b,"string"===typeof a.precedence?a.precedence:void 0,{crossOrigin:h,integrity:l,fetchPriority:m}):"script"===d&&c.preinitScript(b,{crossOrigin:h,integrity:l,fetchPriority:m,nonce:"string"===typeof a.nonce?a.nonce:void 0})}};
exports.preinitModule=function(b,a){var c=g.current;if(c&&"string"===typeof b&&(null==a||"object"===typeof a&&(null==a.as||"script"===a.as))){var d=a?k(void 0,a.crossOrigin):void 0;c.preinitModuleScript(b,{crossOrigin:d,integrity:a&&"string"===typeof a.integrity?a.integrity:void 0})}};
exports.preload=function(b,a){var c=g.current;if(c&&"string"===typeof b&&"object"===typeof a&&null!==a&&"string"===typeof a.as){var d=a.as,h=k(d,a.crossOrigin);c.preload(b,d,{crossOrigin:h,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0,type:"string"===typeof a.type?a.type:void 0,fetchPriority:"string"===typeof a.fetchPriority?a.fetchPriority:void 0,referrerPolicy:"string"===typeof a.referrerPolicy?a.referrerPolicy:void 0,imageSrcSet:"string"===
typeof a.imageSrcSet?a.imageSrcSet:void 0,imageSizes:"string"===typeof a.imageSizes?a.imageSizes:void 0})}};exports.preloadModule=function(b,a){var c=g.current;if(c&&"string"===typeof b)if(a){var d=k(a.as,a.crossOrigin);c.preloadModule(b,{as:"string"===typeof a.as&&"script"!==a.as?a.as:void 0,crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0})}else c.preloadModule(b)};exports.unstable_batchedUpdates=function(b,a){return b(a)};exports.version="18.3.0-canary-d6dcad6a8-20230914";
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -18,6 +18,18 @@ ...@@ -18,6 +18,18 @@
"./server.bun": "./server.bun.js", "./server.bun": "./server.bun.js",
"./server.edge": "./server.edge.js", "./server.edge": "./server.edge.js",
"./server.node": "./server.node.js", "./server.node": "./server.node.js",
"./static": {
"workerd": "./static.edge.js",
"deno": "./static.browser.js",
"worker": "./static.browser.js",
"browser": "./static.browser.js",
"node": "./static.node.js",
"edge-light": "./static.edge.js",
"default": "./static.node.js"
},
"./static.browser": "./static.browser.js",
"./static.edge": "./static.edge.js",
"./static.node": "./static.node.js",
"./server-rendering-stub": "./server-rendering-stub.js", "./server-rendering-stub": "./server-rendering-stub.js",
"./profiling": "./profiling.js", "./profiling": "./profiling.js",
"./test-utils": "./test-utils.js", "./test-utils": "./test-utils.js",
...@@ -26,12 +38,13 @@ ...@@ -26,12 +38,13 @@
}, },
"dependencies": { "dependencies": {
"loose-envify": "^1.1.0", "loose-envify": "^1.1.0",
"scheduler": "0.24.0-canary-dd480ef92-20230822" "scheduler": "0.24.0-canary-d6dcad6a8-20230914"
}, },
"peerDependencies": { "peerDependencies": {
"react": "18.3.0-canary-dd480ef92-20230822" "react": "18.3.0-canary-d6dcad6a8-20230914"
}, },
"browser": { "browser": {
"./server.js": "./server.browser.js" "./server.js": "./server.browser.js",
"./static.js": "./static.browser.js"
} }
} }
\ No newline at end of file
...@@ -15,3 +15,6 @@ exports.renderToStaticMarkup = l.renderToStaticMarkup; ...@@ -15,3 +15,6 @@ exports.renderToStaticMarkup = l.renderToStaticMarkup;
exports.renderToNodeStream = l.renderToNodeStream; exports.renderToNodeStream = l.renderToNodeStream;
exports.renderToStaticNodeStream = l.renderToStaticNodeStream; exports.renderToStaticNodeStream = l.renderToStaticNodeStream;
exports.renderToReadableStream = s.renderToReadableStream; exports.renderToReadableStream = s.renderToReadableStream;
if (s.resume) {
exports.resume = s.resume;
}
...@@ -16,3 +16,6 @@ exports.renderToNodeStream = b.renderToNodeStream; ...@@ -16,3 +16,6 @@ exports.renderToNodeStream = b.renderToNodeStream;
exports.renderToStaticNodeStream = b.renderToStaticNodeStream; exports.renderToStaticNodeStream = b.renderToStaticNodeStream;
exports.renderToString = l.renderToString; exports.renderToString = l.renderToString;
exports.renderToStaticMarkup = l.renderToStaticMarkup; exports.renderToStaticMarkup = l.renderToStaticMarkup;
if (b.resume) {
exports.resume = b.resume;
}
...@@ -15,3 +15,6 @@ exports.renderToStaticMarkup = l.renderToStaticMarkup; ...@@ -15,3 +15,6 @@ exports.renderToStaticMarkup = l.renderToStaticMarkup;
exports.renderToNodeStream = l.renderToNodeStream; exports.renderToNodeStream = l.renderToNodeStream;
exports.renderToStaticNodeStream = l.renderToStaticNodeStream; exports.renderToStaticNodeStream = l.renderToStaticNodeStream;
exports.renderToPipeableStream = s.renderToPipeableStream; exports.renderToPipeableStream = s.renderToPipeableStream;
if (s.resumeToPipeableStream) {
exports.resumeToPipeableStream = s.resumeToPipeableStream;
}
'use strict';
var s;
if (process.env.NODE_ENV === 'production') {
s = require('./cjs/react-dom-server.edge.production.min.js');
} else {
s = require('./cjs/react-dom-server.edge.development.js');
}
exports.version = s.version;
exports.prerender = s.prerender;
...@@ -23,7 +23,7 @@ if ( ...@@ -23,7 +23,7 @@ if (
) { ) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
} }
var ReactVersion = '18.3.0-experimental-dd480ef92-20230822'; var ReactVersion = '18.3.0-experimental-d6dcad6a8-20230914';
// ATTENTION // ATTENTION
// When adding new symbols to this file, // When adding new symbols to this file,
......
...@@ -29,4 +29,4 @@ exports.unstable_DebugTracingMode=aa;exports.unstable_Offscreen=ba;exports.unsta ...@@ -29,4 +29,4 @@ exports.unstable_DebugTracingMode=aa;exports.unstable_Offscreen=ba;exports.unsta
exports.unstable_getCacheSignal=function(){var a=U.current;return a?a.getCacheSignal():(a=new AbortController,a.abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),a.signal)};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=da;throw a;};exports.unstable_useCacheRefresh=function(){return W.current.useCacheRefresh()};exports.unstable_useMemoCache=function(a){return W.current.useMemoCache(a)};exports.use=function(a){return W.current.use(a)}; exports.unstable_getCacheSignal=function(){var a=U.current;return a?a.getCacheSignal():(a=new AbortController,a.abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),a.signal)};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=da;throw a;};exports.unstable_useCacheRefresh=function(){return W.current.useCacheRefresh()};exports.unstable_useMemoCache=function(a){return W.current.useMemoCache(a)};exports.use=function(a){return W.current.use(a)};
exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return W.current.useDeferredValue(a)};exports.useEffect=function(a,b){return W.current.useEffect(a,b)};exports.useId=function(){return W.current.useId()};exports.useImperativeHandle=function(a,b,c){return W.current.useImperativeHandle(a,b,c)}; exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return W.current.useDeferredValue(a)};exports.useEffect=function(a,b){return W.current.useEffect(a,b)};exports.useId=function(){return W.current.useId()};exports.useImperativeHandle=function(a,b,c){return W.current.useImperativeHandle(a,b,c)};
exports.useInsertionEffect=function(a,b){return W.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return W.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.useReducer=function(a,b,c){return W.current.useReducer(a,b,c)};exports.useRef=function(a){return W.current.useRef(a)};exports.useState=function(a){return W.current.useState(a)};exports.useSyncExternalStore=function(a,b,c){return W.current.useSyncExternalStore(a,b,c)}; exports.useInsertionEffect=function(a,b){return W.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return W.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.useReducer=function(a,b,c){return W.current.useReducer(a,b,c)};exports.useRef=function(a){return W.current.useRef(a)};exports.useState=function(a){return W.current.useState(a)};exports.useSyncExternalStore=function(a,b,c){return W.current.useSyncExternalStore(a,b,c)};
exports.useTransition=function(){return W.current.useTransition()};exports.version="18.3.0-experimental-dd480ef92-20230822"; exports.useTransition=function(){return W.current.useTransition()};exports.version="18.3.0-experimental-d6dcad6a8-20230914";
...@@ -304,7 +304,7 @@ function generateCacheKey(request) { ...@@ -304,7 +304,7 @@ function generateCacheKey(request) {
} }
} }
var ReactVersion = '18.3.0-experimental-dd480ef92-20230822'; var ReactVersion = '18.3.0-experimental-d6dcad6a8-20230914';
// ATTENTION // ATTENTION
// When adding new symbols to this file, // When adding new symbols to this file,
......
...@@ -27,4 +27,4 @@ key:e,ref:f,props:c,_owner:h}};exports.createElement=function(a,b,d){var c,e={}, ...@@ -27,4 +27,4 @@ key:e,ref:f,props:c,_owner:h}};exports.createElement=function(a,b,d){var c,e={},
exports.createServerContext=function(a,b){var d=!0;if(!Z[a]){d=!1;var c={$$typeof:z,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};c.Provider={$$typeof:y,_context:c};Z[a]=c}c=Z[a];if(c._defaultValue===D)c._defaultValue=b,c._currentValue===D&&(c._currentValue=b),c._currentValue2===D&&(c._currentValue2=b);else if(d)throw Error(F(429,a));return c};exports.forwardRef=function(a){return{$$typeof:A,render:a}};exports.isValidElement=Q; exports.createServerContext=function(a,b){var d=!0;if(!Z[a]){d=!1;var c={$$typeof:z,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};c.Provider={$$typeof:y,_context:c};Z[a]=c}c=Z[a];if(c._defaultValue===D)c._defaultValue=b,c._currentValue===D&&(c._currentValue=b),c._currentValue2===D&&(c._currentValue2=b);else if(d)throw Error(F(429,a));return c};exports.forwardRef=function(a){return{$$typeof:A,render:a}};exports.isValidElement=Q;
exports.lazy=function(a){return{$$typeof:ba,_payload:{_status:-1,_result:a},_init:ha}};exports.memo=function(a,b){return{$$typeof:aa,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.unstable_DebugTracingMode=ca;exports.unstable_SuspenseList=C;exports.unstable_getCacheForType=function(a){var b=n.current;return b?b.getCacheForType(a):a()}; exports.lazy=function(a){return{$$typeof:ba,_payload:{_status:-1,_result:a},_init:ha}};exports.memo=function(a,b){return{$$typeof:aa,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.unstable_DebugTracingMode=ca;exports.unstable_SuspenseList=C;exports.unstable_getCacheForType=function(a){var b=n.current;return b?b.getCacheForType(a):a()};
exports.unstable_getCacheSignal=function(){var a=n.current;if(!a){a=new AbortController;var b=Error(F(455));a.abort(b);return a.signal}return a.getCacheSignal()};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=da;throw a;};exports.use=function(a){return W.current.use(a)};exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useId=function(){return W.current.useId()}; exports.unstable_getCacheSignal=function(){var a=n.current;if(!a){a=new AbortController;var b=Error(F(455));a.abort(b);return a.signal}return a.getCacheSignal()};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=da;throw a;};exports.use=function(a){return W.current.use(a)};exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useId=function(){return W.current.useId()};
exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.version="18.3.0-experimental-dd480ef92-20230822"; exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.version="18.3.0-experimental-d6dcad6a8-20230914";
...@@ -169,63 +169,121 @@ function dispatchHint(code, model) { ...@@ -169,63 +169,121 @@ function dispatchHint(code, model) {
var dispatcher = ReactDOMCurrentDispatcher.current; var dispatcher = ReactDOMCurrentDispatcher.current;
if (dispatcher) { if (dispatcher) {
var href, options;
if (typeof model === 'string') {
href = model;
} else {
href = model[0];
options = model[1];
}
switch (code) { switch (code) {
case 'D': case 'D':
{ {
// $FlowFixMe[prop-missing] options are not refined to their types by code var refined = refineModel(code, model);
dispatcher.prefetchDNS(href, options); var href = refined;
dispatcher.prefetchDNS(href);
return; return;
} }
case 'C': case 'C':
{ {
// $FlowFixMe[prop-missing] options are not refined to their types by code var _refined = refineModel(code, model);
dispatcher.preconnect(href, options);
if (typeof _refined === 'string') {
var _href = _refined;
dispatcher.preconnect(_href);
} else {
var _href2 = _refined[0];
var crossOrigin = _refined[1];
dispatcher.preconnect(_href2, crossOrigin);
}
return; return;
} }
case 'L': case 'L':
{ {
// $FlowFixMe[prop-missing] options are not refined to their types by code var _refined2 = refineModel(code, model);
// $FlowFixMe[incompatible-call] options are not refined to their types by code
dispatcher.preload(href, options); var _href3 = _refined2[0];
var as = _refined2[1];
if (_refined2.length === 3) {
var options = _refined2[2];
dispatcher.preload(_href3, as, options);
} else {
dispatcher.preload(_href3, as);
}
return; return;
} }
case 'm': case 'm':
{ {
// $FlowFixMe[prop-missing] options are not refined to their types by code var _refined3 = refineModel(code, model);
// $FlowFixMe[incompatible-call] options are not refined to their types by code
dispatcher.preloadModule(href, options); if (typeof _refined3 === 'string') {
var _href4 = _refined3;
dispatcher.preloadModule(_href4);
} else {
var _href5 = _refined3[0];
var _options = _refined3[1];
dispatcher.preloadModule(_href5, _options);
}
return; return;
} }
case 'I': case 'S':
{ {
// $FlowFixMe[prop-missing] options are not refined to their types by code var _refined4 = refineModel(code, model);
// $FlowFixMe[incompatible-call] options are not refined to their types by code
dispatcher.preinit(href, options); if (typeof _refined4 === 'string') {
var _href6 = _refined4;
dispatcher.preinitStyle(_href6);
} else {
var _href7 = _refined4[0];
var precedence = _refined4[1] === 0 ? undefined : _refined4[1];
var _options2 = _refined4.length === 3 ? _refined4[2] : undefined;
dispatcher.preinitStyle(_href7, precedence, _options2);
}
return;
}
case 'X':
{
var _refined5 = refineModel(code, model);
if (typeof _refined5 === 'string') {
var _href8 = _refined5;
dispatcher.preinitScript(_href8);
} else {
var _href9 = _refined5[0];
var _options3 = _refined5[1];
dispatcher.preinitScript(_href9, _options3);
}
return; return;
} }
case 'M': case 'M':
{ {
// $FlowFixMe[prop-missing] options are not refined to their types by code var _refined6 = refineModel(code, model);
// $FlowFixMe[incompatible-call] options are not refined to their types by code
dispatcher.preinitModule(href, options); if (typeof _refined6 === 'string') {
var _href10 = _refined6;
dispatcher.preinitModuleScript(_href10);
} else {
var _href11 = _refined6[0];
var _options4 = _refined6[1];
dispatcher.preinitModuleScript(_href11, _options4);
}
return; return;
} }
} }
} }
} // Flow is having troulbe refining the HintModels so we help it a bit.
// This should be compiled out in the production build.
function refineModel(code, model) {
return model;
} }
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
...@@ -905,14 +963,20 @@ function processReply(root, formFieldPrefix, resolve, reject) { ...@@ -905,14 +963,20 @@ function processReply(root, formFieldPrefix, resolve, reject) {
} }
} }
} }
function registerServerReference(proxy, reference) {
knownServerReferences.set(proxy, reference);
} // $FlowFixMe[method-unbinding]
function createServerReference(id, callServer) { function createServerReference(id, callServer) {
var proxy = function () { var proxy = function () {
// $FlowFixMe[method-unbinding] // $FlowFixMe[method-unbinding]
var args = Array.prototype.slice.call(arguments); var args = Array.prototype.slice.call(arguments);
return callServer(id, args); return callServer(id, args);
}; // Expose encoder for use by SSR. };
knownServerReferences.set(proxy, { registerServerReference(proxy, {
id: id, id: id,
bound: null bound: null
}); });
...@@ -1335,9 +1399,9 @@ function createServerReferenceProxy(response, metaData) { ...@@ -1335,9 +1399,9 @@ function createServerReferenceProxy(response, metaData) {
return Promise.resolve(p).then(function (bound) { return Promise.resolve(p).then(function (bound) {
return callServer(metaData.id, bound.concat(args)); return callServer(metaData.id, bound.concat(args));
}); });
}; // Expose encoder for use by SSR. };
knownServerReferences.set(proxy, metaData); registerServerReference(proxy, metaData);
return proxy; return proxy;
} }
......
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
"loose-envify": "^1.1.0" "loose-envify": "^1.1.0"
}, },
"peerDependencies": { "peerDependencies": {
"react": "0.0.0-experimental-dd480ef92-20230822", "react": "0.0.0-experimental-d6dcad6a8-20230914",
"react-dom": "0.0.0-experimental-dd480ef92-20230822", "react-dom": "0.0.0-experimental-d6dcad6a8-20230914",
"webpack": "^5.59.0" "webpack": "^5.59.0"
} }
} }
\ No newline at end of file
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
"loose-envify": "^1.1.0" "loose-envify": "^1.1.0"
}, },
"peerDependencies": { "peerDependencies": {
"react": "18.3.0-canary-dd480ef92-20230822", "react": "18.3.0-canary-d6dcad6a8-20230914",
"react-dom": "18.3.0-canary-dd480ef92-20230822", "react-dom": "18.3.0-canary-d6dcad6a8-20230914",
"webpack": "^5.59.0" "webpack": "^5.59.0"
} }
} }
\ No newline at end of file
...@@ -23,7 +23,7 @@ if ( ...@@ -23,7 +23,7 @@ if (
) { ) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
} }
var ReactVersion = '18.3.0-canary-dd480ef92-20230822'; var ReactVersion = '18.3.0-canary-d6dcad6a8-20230914';
// ATTENTION // ATTENTION
// When adding new symbols to this file, // When adding new symbols to this file,
......
...@@ -27,4 +27,4 @@ exports.createServerContext=function(a,b){var c=!0;if(!Z[a]){c=!1;var d={$$typeo ...@@ -27,4 +27,4 @@ exports.createServerContext=function(a,b){var c=!0;if(!Z[a]){c=!1;var d={$$typeo
exports.isValidElement=P;exports.lazy=function(a){return{$$typeof:z,_payload:{_status:-1,_result:a},_init:ba}};exports.memo=function(a,b){return{$$typeof:y,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.");};exports.unstable_useCacheRefresh=function(){return W.current.useCacheRefresh()};exports.use=function(a){return W.current.use(a)}; exports.isValidElement=P;exports.lazy=function(a){return{$$typeof:z,_payload:{_status:-1,_result:a},_init:ba}};exports.memo=function(a,b){return{$$typeof:y,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.");};exports.unstable_useCacheRefresh=function(){return W.current.useCacheRefresh()};exports.use=function(a){return W.current.use(a)};
exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return W.current.useDeferredValue(a)};exports.useEffect=function(a,b){return W.current.useEffect(a,b)};exports.useId=function(){return W.current.useId()};exports.useImperativeHandle=function(a,b,c){return W.current.useImperativeHandle(a,b,c)}; exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return W.current.useDeferredValue(a)};exports.useEffect=function(a,b){return W.current.useEffect(a,b)};exports.useId=function(){return W.current.useId()};exports.useImperativeHandle=function(a,b,c){return W.current.useImperativeHandle(a,b,c)};
exports.useInsertionEffect=function(a,b){return W.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return W.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.useReducer=function(a,b,c){return W.current.useReducer(a,b,c)};exports.useRef=function(a){return W.current.useRef(a)};exports.useState=function(a){return W.current.useState(a)};exports.useSyncExternalStore=function(a,b,c){return W.current.useSyncExternalStore(a,b,c)}; exports.useInsertionEffect=function(a,b){return W.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return W.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.useReducer=function(a,b,c){return W.current.useReducer(a,b,c)};exports.useRef=function(a){return W.current.useRef(a)};exports.useState=function(a){return W.current.useState(a)};exports.useSyncExternalStore=function(a,b,c){return W.current.useSyncExternalStore(a,b,c)};
exports.useTransition=function(){return W.current.useTransition()};exports.version="18.3.0-canary-dd480ef92-20230822"; exports.useTransition=function(){return W.current.useTransition()};exports.version="18.3.0-canary-d6dcad6a8-20230914";
...@@ -305,7 +305,7 @@ function generateCacheKey(request) { ...@@ -305,7 +305,7 @@ function generateCacheKey(request) {
} }
} }
var ReactVersion = '18.3.0-canary-dd480ef92-20230822'; var ReactVersion = '18.3.0-canary-d6dcad6a8-20230914';
// ATTENTION // ATTENTION
// When adding new symbols to this file, // When adding new symbols to this file,
......
...@@ -26,4 +26,4 @@ exports.cloneElement=function(a,b,d){if(null===a||void 0===a)throw Error(F(267,a ...@@ -26,4 +26,4 @@ exports.cloneElement=function(a,b,d){if(null===a||void 0===a)throw Error(F(267,a
key:e,ref:f,props:c,_owner:h}};exports.createElement=function(a,b,d){var c,e={},f=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(f=""+b.key),b)N.call(b,c)&&!P.hasOwnProperty(c)&&(e[c]=b[c]);var g=arguments.length-2;if(1===g)e.children=d;else if(1<g){for(var k=Array(g),l=0;l<g;l++)k[l]=arguments[l+2];e.children=k}if(a&&a.defaultProps)for(c in g=a.defaultProps,g)void 0===e[c]&&(e[c]=g[c]);return{$$typeof:t,type:a,key:f,ref:h,props:e,_owner:O.current}};exports.createRef=function(){return{current:null}}; key:e,ref:f,props:c,_owner:h}};exports.createElement=function(a,b,d){var c,e={},f=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(f=""+b.key),b)N.call(b,c)&&!P.hasOwnProperty(c)&&(e[c]=b[c]);var g=arguments.length-2;if(1===g)e.children=d;else if(1<g){for(var k=Array(g),l=0;l<g;l++)k[l]=arguments[l+2];e.children=k}if(a&&a.defaultProps)for(c in g=a.defaultProps,g)void 0===e[c]&&(e[c]=g[c]);return{$$typeof:t,type:a,key:f,ref:h,props:e,_owner:O.current}};exports.createRef=function(){return{current:null}};
exports.createServerContext=function(a,b){var d=!0;if(!Z[a]){d=!1;var c={$$typeof:z,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};c.Provider={$$typeof:y,_context:c};Z[a]=c}c=Z[a];if(c._defaultValue===D)c._defaultValue=b,c._currentValue===D&&(c._currentValue=b),c._currentValue2===D&&(c._currentValue2=b);else if(d)throw Error(F(429,a));return c};exports.forwardRef=function(a){return{$$typeof:A,render:a}};exports.isValidElement=Q; exports.createServerContext=function(a,b){var d=!0;if(!Z[a]){d=!1;var c={$$typeof:z,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};c.Provider={$$typeof:y,_context:c};Z[a]=c}c=Z[a];if(c._defaultValue===D)c._defaultValue=b,c._currentValue===D&&(c._currentValue=b),c._currentValue2===D&&(c._currentValue2=b);else if(d)throw Error(F(429,a));return c};exports.forwardRef=function(a){return{$$typeof:A,render:a}};exports.isValidElement=Q;
exports.lazy=function(a){return{$$typeof:aa,_payload:{_status:-1,_result:a},_init:da}};exports.memo=function(a,b){return{$$typeof:C,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.use=function(a){return W.current.use(a)};exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){}; exports.lazy=function(a){return{$$typeof:aa,_payload:{_status:-1,_result:a},_init:da}};exports.memo=function(a,b){return{$$typeof:C,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.use=function(a){return W.current.use(a)};exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};
exports.useId=function(){return W.current.useId()};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.version="18.3.0-canary-dd480ef92-20230822"; exports.useId=function(){return W.current.useId()};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.version="18.3.0-canary-d6dcad6a8-20230914";
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment