react-dom
Advanced tools
Comparing version 18.3.0-canary-1d5667a12-20240102 to 18.3.0-canary-1dba980e1f-20241220
@@ -19,2 +19,12 @@ /** | ||
var ReactVersion = '18.3.0-canary-1dba980e1f-20241220'; | ||
var Internals = { | ||
usingClientEntryPoint: false, | ||
Events: null, | ||
Dispatcher: { | ||
current: null | ||
} | ||
}; | ||
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
@@ -59,12 +69,2 @@ | ||
var ReactVersion = '18.3.0-canary-1d5667a12-20240102'; | ||
var Internals = { | ||
usingClientEntryPoint: false, | ||
Events: null, | ||
Dispatcher: { | ||
current: null | ||
} | ||
}; | ||
function getCrossOriginString(input) { | ||
@@ -315,26 +315,5 @@ if (typeof input === 'string') { | ||
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; // Since the "not pending" value is always the same, we can reuse the | ||
function resolveDispatcher() { | ||
// Copied from react/src/ReactHooks.js. It's the same thing but in a | ||
// different package. | ||
var dispatcher = ReactCurrentDispatcher.current; | ||
{ | ||
if (dispatcher === null) { | ||
error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.'); | ||
} | ||
} // Will result in a null access error if accessed outside render phase. We | ||
// intentionally don't throw our own error because this is in a hot path. | ||
// Also helps ensure this is inlined. | ||
return dispatcher; | ||
} | ||
function useFormStatus() { | ||
{ | ||
var dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] We know this exists because of the feature check above. | ||
return dispatcher.useHostTransitionStatus(); | ||
throw new Error('Not implemented.'); | ||
} | ||
@@ -344,5 +323,3 @@ } | ||
{ | ||
var dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] This is unstable, thus optional | ||
return dispatcher.useFormState(action, initialState, permalink); | ||
throw new Error('Not implemented.'); | ||
} | ||
@@ -365,21 +342,6 @@ } | ||
function experimental_useFormStatus() { | ||
{ | ||
error('useFormStatus is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); | ||
} | ||
return useFormStatus(); | ||
} | ||
function experimental_useFormState(action, initialState, permalink) { | ||
{ | ||
error('useFormState is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); | ||
} | ||
return useFormState(action, initialState, permalink); | ||
} | ||
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; | ||
exports.createPortal = createPortal; | ||
exports.experimental_useFormState = experimental_useFormState; | ||
exports.experimental_useFormStatus = experimental_useFormStatus; | ||
exports.experimental_useFormState = useFormState; | ||
exports.experimental_useFormStatus = useFormStatus; | ||
exports.flushSync = flushSync; | ||
@@ -393,6 +355,4 @@ exports.preconnect = preconnect; | ||
exports.unstable_batchedUpdates = batchedUpdates; | ||
exports.useFormState = useFormState; | ||
exports.useFormStatus = useFormStatus; | ||
exports.version = ReactVersion; | ||
})(); | ||
} |
@@ -1,19 +0,16 @@ | ||
/* | ||
React | ||
react-dom-server-rendering-stub.production.min.js | ||
Copyright (c) Meta Platforms, Inc. and affiliates. | ||
This source code is licensed under the MIT license found in the | ||
LICENSE file in the root directory of this source tree. | ||
*/ | ||
'use strict';var e=require("react"),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."} | ||
function k(b,a){if("font"===b)return"";if("string"===typeof a)return"use-credentials"===a?a:""}var l=f.Dispatcher,m=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function n(){return m.current.useHostTransitionStatus()}function r(b,a,c){return m.current.useFormState(b,a,c)}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 r(b,a,c)}; | ||
exports.experimental_useFormStatus=function(){return n()};exports.flushSync=function(){throw Error(h(449));};exports.preconnect=function(b,a){var c=l.current;c&&"string"===typeof b&&(a?(a=a.crossOrigin,a="string"===typeof a?"use-credentials"===a?a:"":void 0):a=null,c.preconnect(b,a))};exports.prefetchDNS=function(b){var a=l.current;a&&"string"===typeof b&&a.prefetchDNS(b)}; | ||
exports.preinit=function(b,a){var c=l.current;if(c&&"string"===typeof b&&a&&"string"===typeof a.as){var d=a.as,g=k(d,a.crossOrigin),p="string"===typeof a.integrity?a.integrity:void 0,q="string"===typeof a.fetchPriority?a.fetchPriority:void 0;"style"===d?c.preinitStyle(b,"string"===typeof a.precedence?a.precedence:void 0,{crossOrigin:g,integrity:p,fetchPriority:q}):"script"===d&&c.preinitScript(b,{crossOrigin:g,integrity:p,fetchPriority:q,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}; | ||
exports.preinitModule=function(b,a){var c=l.current;if(c&&"string"===typeof b)if("object"===typeof a&&null!==a){if(null==a.as||"script"===a.as){var d=k(a.as,a.crossOrigin);c.preinitModuleScript(b,{crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}else null==a&&c.preinitModuleScript(b)}; | ||
exports.preload=function(b,a){var c=l.current;if(c&&"string"===typeof b&&"object"===typeof a&&null!==a&&"string"===typeof a.as){var d=a.as,g=k(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=l.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.useFormState=r;exports.useFormStatus=n; | ||
exports.version="18.3.0-canary-1d5667a12-20240102"; | ||
//# sourceMappingURL=react-dom-server-rendering-stub.production.min.js.map | ||
/** | ||
* @license React | ||
* react-dom-server-rendering-stub.production.min.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
'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."}function g(b,a){if("font"===b)return"";if("string"===typeof a)return"use-credentials"===a?a:""} | ||
var k=e.Dispatcher;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.preconnect=function(b,a){var c=k.current;c&&"string"===typeof b&&(a?(a=a.crossOrigin,a="string"===typeof a?"use-credentials"===a?a:"":void 0):a=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,h=g(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=k.current;if(c&&"string"===typeof b)if("object"===typeof a&&null!==a){if(null==a.as||"script"===a.as){var d=g(a.as,a.crossOrigin);c.preinitModuleScript(b,{crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}else null==a&&c.preinitModuleScript(b)}; | ||
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,h=g(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=k.current;if(c&&"string"===typeof b)if(a){var d=g(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-1dba980e1f-20241220"; |
@@ -1170,3 +1170,3 @@ /** | ||
while (true) { | ||
if (node.tag === HostComponent || node.tag === HostText || node.tag === ClassComponent || node.tag === FunctionComponent || (node.tag === HostHoistable ) || node.tag === HostSingleton) { | ||
if (node.tag === HostComponent || node.tag === HostText || node.tag === ClassComponent || node.tag === FunctionComponent || (node.tag === HostHoistable ) || (node.tag === HostSingleton )) { | ||
var publicInst = node.stateNode; | ||
@@ -1522,3 +1522,3 @@ | ||
// do the portal feature. | ||
} while (inst && inst.tag !== HostComponent && inst.tag !== HostSingleton); | ||
} while (inst && inst.tag !== HostComponent && (inst.tag !== HostSingleton)); | ||
@@ -1525,0 +1525,0 @@ if (inst) { |
@@ -1,10 +0,10 @@ | ||
/* | ||
React | ||
react-dom-test-utils.production.min.js | ||
Copyright (c) Meta Platforms, Inc. and affiliates. | ||
This source code is licensed under the MIT license found in the | ||
LICENSE file in the root directory of this source tree. | ||
*/ | ||
/** | ||
* @license React | ||
* react-dom-test-utils.production.min.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
'use strict';var k=require("react"),l=require("react-dom");function m(a){var c=a,b=a;if(a.alternate)for(;c.return;)c=c.return;else{a=c;do c=a,0!==(c.flags&4098)&&(b=c.return),a=c.return;while(a)}return 3===c.tag?b:null}function n(a){if(m(a)!==a)throw Error("Unable to find node on an unmounted component.");} | ||
@@ -41,3 +41,1 @@ function p(a){var c=a.alternate;if(!c){c=m(a);if(null===c)throw Error("Unable to find node on an unmounted component.");return c!==a?null:a}for(var b=a,d=c;;){var f=b.return;if(null===f)break;var g=f.alternate;if(null===g){d=f.return;if(null!==d){b=d;continue}break}if(f.child===g.child){for(g=f.child;g;){if(g===b)return n(f),a;if(g===d)return n(f),c;g=g.sibling}throw Error("Unable to find node on an unmounted component.");}if(b.return!==d.return)b=f,d=g;else{for(var e=!1,h=f.child;h;){if(h===b){e= | ||
exports.scryRenderedDOMComponentsWithClass=T;exports.scryRenderedDOMComponentsWithTag=U;exports.traverseTwoPhase=X; | ||
//# sourceMappingURL=react-dom-test-utils.production.min.js.map |
@@ -1,10 +0,10 @@ | ||
/* | ||
React | ||
react-dom.shared-subset.production.min.js | ||
Copyright (c) Meta Platforms, Inc. and affiliates. | ||
This source code is licensed under the MIT license found in the | ||
LICENSE file in the root directory of this source tree. | ||
*/ | ||
/** | ||
* @license React | ||
* react-dom.shared-subset.production.min.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
'use strict';var e={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function f(b,a){if("font"===b)return"";if("string"===typeof a)return"use-credentials"===a?a:""}var h=e.Dispatcher;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=e;exports.preconnect=function(b,a){var c=h.current;c&&"string"===typeof b&&(a?(a=a.crossOrigin,a="string"===typeof a?"use-credentials"===a?a:"":void 0):a=null,c.preconnect(b,a))}; | ||
@@ -16,3 +16,1 @@ exports.prefetchDNS=function(b){var a=h.current;a&&"string"===typeof b&&a.prefetchDNS(b)}; | ||
typeof a.imageSrcSet?a.imageSrcSet:void 0,imageSizes:"string"===typeof a.imageSizes?a.imageSizes:void 0})}};exports.preloadModule=function(b,a){var c=h.current;if(c&&"string"===typeof b)if(a){var d=f(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)}; | ||
//# sourceMappingURL=react-dom.shared-subset.production.min.js.map |
{ | ||
"name": "react-dom", | ||
"version": "18.3.0-canary-1d5667a12-20240102", | ||
"version": "18.3.0-canary-1dba980e1f-20241220", | ||
"description": "React package for working with the DOM.", | ||
@@ -21,6 +21,6 @@ "main": "index.js", | ||
"loose-envify": "^1.1.0", | ||
"scheduler": "0.24.0-canary-1d5667a12-20240102" | ||
"scheduler": "0.24.0-canary-1dba980e1f-20241220" | ||
}, | ||
"peerDependencies": { | ||
"react": "18.3.0-canary-1d5667a12-20240102" | ||
"react": "18.3.0-canary-1dba980e1f-20241220" | ||
}, | ||
@@ -45,3 +45,2 @@ "files": [ | ||
"unstable_server-external-runtime.js", | ||
"react-dom.shared-subset.js", | ||
"cjs/", | ||
@@ -48,0 +47,0 @@ "umd/" |
@@ -10,3 +10,2 @@ /** | ||
*/ | ||
(function (global, factory) { | ||
@@ -18,2 +17,12 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : | ||
var ReactVersion = '18.3.0-canary-1dba980e1f-20241220'; | ||
var Internals = { | ||
usingClientEntryPoint: false, | ||
Events: null, | ||
Dispatcher: { | ||
current: null | ||
} | ||
}; | ||
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
@@ -58,12 +67,2 @@ | ||
var ReactVersion = '18.3.0-canary-1d5667a12-20240102'; | ||
var Internals = { | ||
usingClientEntryPoint: false, | ||
Events: null, | ||
Dispatcher: { | ||
current: null | ||
} | ||
}; | ||
function getCrossOriginString(input) { | ||
@@ -314,26 +313,5 @@ if (typeof input === 'string') { | ||
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; // Since the "not pending" value is always the same, we can reuse the | ||
function resolveDispatcher() { | ||
// Copied from react/src/ReactHooks.js. It's the same thing but in a | ||
// different package. | ||
var dispatcher = ReactCurrentDispatcher.current; | ||
{ | ||
if (dispatcher === null) { | ||
error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.'); | ||
} | ||
} // Will result in a null access error if accessed outside render phase. We | ||
// intentionally don't throw our own error because this is in a hot path. | ||
// Also helps ensure this is inlined. | ||
return dispatcher; | ||
} | ||
function useFormStatus() { | ||
{ | ||
var dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] We know this exists because of the feature check above. | ||
return dispatcher.useHostTransitionStatus(); | ||
throw new Error('Not implemented.'); | ||
} | ||
@@ -343,5 +321,3 @@ } | ||
{ | ||
var dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] This is unstable, thus optional | ||
return dispatcher.useFormState(action, initialState, permalink); | ||
throw new Error('Not implemented.'); | ||
} | ||
@@ -364,21 +340,6 @@ } | ||
function experimental_useFormStatus() { | ||
{ | ||
error('useFormStatus is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); | ||
} | ||
return useFormStatus(); | ||
} | ||
function experimental_useFormState(action, initialState, permalink) { | ||
{ | ||
error('useFormState is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); | ||
} | ||
return useFormState(action, initialState, permalink); | ||
} | ||
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; | ||
exports.createPortal = createPortal; | ||
exports.experimental_useFormState = experimental_useFormState; | ||
exports.experimental_useFormStatus = experimental_useFormStatus; | ||
exports.experimental_useFormState = useFormState; | ||
exports.experimental_useFormStatus = useFormStatus; | ||
exports.flushSync = flushSync; | ||
@@ -392,6 +353,4 @@ exports.preconnect = preconnect; | ||
exports.unstable_batchedUpdates = batchedUpdates; | ||
exports.useFormState = useFormState; | ||
exports.useFormStatus = useFormStatus; | ||
exports.version = ReactVersion; | ||
})); |
@@ -10,9 +10,8 @@ /** | ||
*/ | ||
'use strict';(function(){(function(d,g){"object"===typeof exports&&"undefined"!==typeof module?g(exports,require("react")):"function"===typeof define&&define.amd?define(["exports","react"],g):(d="undefined"!==typeof globalThis?globalThis:d||self,g(d.ReactDOMServerRenderingStub={},d.React))})(this,function(d,g){function l(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."}function h(b,a){if("font"===b)return"";if("string"===typeof a)return"use-credentials"===a?a:""}function m(){return n.current.useHostTransitionStatus()}function p(b,a,c){return n.current.useFormState(b,a,c)}var q={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}},f=q.Dispatcher,n=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED= | ||
q;d.createPortal=function(){throw Error(l(448));};d.experimental_useFormState=function(b,a,c){return p(b,a,c)};d.experimental_useFormStatus=function(){return m()};d.flushSync=function(){throw Error(l(449));};d.preconnect=function(b,a){var c=f.current;c&&"string"===typeof b&&(a?(a=a.crossOrigin,a="string"===typeof a?"use-credentials"===a?a:"":void 0):a=null,c.preconnect(b,a))};d.prefetchDNS=function(b){var a=f.current;a&&"string"===typeof b&&a.prefetchDNS(b)};d.preinit=function(b,a){var c=f.current; | ||
if(c&&"string"===typeof b&&a&&"string"===typeof a.as){var e=a.as,k=h(e,a.crossOrigin),r="string"===typeof a.integrity?a.integrity:void 0,t="string"===typeof a.fetchPriority?a.fetchPriority:void 0;"style"===e?c.preinitStyle(b,"string"===typeof a.precedence?a.precedence:void 0,{crossOrigin:k,integrity:r,fetchPriority:t}):"script"===e&&c.preinitScript(b,{crossOrigin:k,integrity:r,fetchPriority:t,nonce:"string"===typeof a.nonce?a.nonce:void 0})}};d.preinitModule=function(b,a){var c=f.current;if(c&&"string"=== | ||
typeof b)if("object"===typeof a&&null!==a){if(null==a.as||"script"===a.as){var e=h(a.as,a.crossOrigin);c.preinitModuleScript(b,{crossOrigin:e,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}else null==a&&c.preinitModuleScript(b)};d.preload=function(b,a){var c=f.current;if(c&&"string"===typeof b&&"object"===typeof a&&null!==a&&"string"===typeof a.as){var e=a.as,k=h(e,a.crossOrigin);c.preload(b,e,{crossOrigin:k,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})}};d.preloadModule=function(b,a){var c=f.current;if(c&&"string"===typeof b)if(a){var e=h(a.as,a.crossOrigin);c.preloadModule(b, | ||
{as:"string"===typeof a.as&&"script"!==a.as?a.as:void 0,crossOrigin:e,integrity:"string"===typeof a.integrity?a.integrity:void 0})}else c.preloadModule(b)};d.unstable_batchedUpdates=function(b,a){return b(a)};d.useFormState=p;d.useFormStatus=m;d.version="18.3.0-canary-1d5667a12-20240102"})})(); | ||
(function(){'use strict';(function(d,f){"object"===typeof exports&&"undefined"!==typeof module?f(exports):"function"===typeof define&&define.amd?define(["exports"],f):(d="undefined"!==typeof globalThis?globalThis:d||self,f(d.ReactDOMServerRenderingStub={}))})(this,function(d){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."} | ||
function h(b,a){if("font"===b)return"";if("string"===typeof a)return"use-credentials"===a?a:""}var l={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}},g=l.Dispatcher;d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=l;d.createPortal=function(){throw Error(f(448));};d.experimental_useFormState=function(b,a,c){throw Error(f(248));};d.experimental_useFormStatus=function(){throw Error(f(248));};d.flushSync=function(){throw Error(f(449));};d.preconnect=function(b,a){var c=g.current;c&& | ||
"string"===typeof b&&(a?(a=a.crossOrigin,a="string"===typeof a?"use-credentials"===a?a:"":void 0):a=null,c.preconnect(b,a))};d.prefetchDNS=function(b){var a=g.current;a&&"string"===typeof b&&a.prefetchDNS(b)};d.preinit=function(b,a){var c=g.current;if(c&&"string"===typeof b&&a&&"string"===typeof a.as){var e=a.as,k=h(e,a.crossOrigin),m="string"===typeof a.integrity?a.integrity:void 0,n="string"===typeof a.fetchPriority?a.fetchPriority:void 0;"style"===e?c.preinitStyle(b,"string"===typeof a.precedence? | ||
a.precedence:void 0,{crossOrigin:k,integrity:m,fetchPriority:n}):"script"===e&&c.preinitScript(b,{crossOrigin:k,integrity:m,fetchPriority:n,nonce:"string"===typeof a.nonce?a.nonce:void 0})}};d.preinitModule=function(b,a){var c=g.current;if(c&&"string"===typeof b)if("object"===typeof a&&null!==a){if(null==a.as||"script"===a.as){var e=h(a.as,a.crossOrigin);c.preinitModuleScript(b,{crossOrigin:e,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}else null== | ||
a&&c.preinitModuleScript(b)};d.preload=function(b,a){var c=g.current;if(c&&"string"===typeof b&&"object"===typeof a&&null!==a&&"string"===typeof a.as){var e=a.as,k=h(e,a.crossOrigin);c.preload(b,e,{crossOrigin:k,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})}};d.preloadModule=function(b,a){var c=g.current;if(c&&"string"===typeof b)if(a){var e=h(a.as,a.crossOrigin);c.preloadModule(b,{as:"string"===typeof a.as&&"script"!==a.as?a.as:void 0,crossOrigin:e,integrity:"string"===typeof a.integrity?a.integrity:void 0})}else c.preloadModule(b)};d.unstable_batchedUpdates=function(b,a){return b(a)};d.version="18.3.0-canary-1dba980e1f-20241220"}); | ||
})(); |
@@ -10,3 +10,2 @@ /** | ||
*/ | ||
(function (global, factory) { | ||
@@ -1168,3 +1167,3 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom')) : | ||
while (true) { | ||
if (node.tag === HostComponent || node.tag === HostText || node.tag === ClassComponent || node.tag === FunctionComponent || (node.tag === HostHoistable ) || node.tag === HostSingleton) { | ||
if (node.tag === HostComponent || node.tag === HostText || node.tag === ClassComponent || node.tag === FunctionComponent || (node.tag === HostHoistable ) || (node.tag === HostSingleton )) { | ||
var publicInst = node.stateNode; | ||
@@ -1520,3 +1519,3 @@ | ||
// do the portal feature. | ||
} while (inst && inst.tag !== HostComponent && inst.tag !== HostSingleton); | ||
} while (inst && inst.tag !== HostComponent && (inst.tag !== HostSingleton)); | ||
@@ -1523,0 +1522,0 @@ if (inst) { |
@@ -10,6 +10,5 @@ /** | ||
*/ | ||
'use strict';(function(){(function(k,q){"object"===typeof exports&&"undefined"!==typeof module?q(exports,require("react"),require("react-dom")):"function"===typeof define&&define.amd?define(["exports","react","react-dom"],q):(k="undefined"!==typeof globalThis?globalThis:k||self,q(k.ReactTestUtils={},k.React,k.ReactDOM))})(this,function(k,q,E){function M(a){var c=a,b=a;if(a.alternate)for(;c.return;)c=c.return;else{a=c;do c=a,0!==(c.flags&4098)&&(b=c.return),a=c.return;while(a)}return 3===c.tag?b:null} | ||
function N(a){if(M(a)!==a)throw Error("Unable to find node on an unmounted component.");}function X(a){var c=a.alternate;if(!c){c=M(a);if(null===c)throw Error("Unable to find node on an unmounted component.");return c!==a?null:a}for(var b=a,d=c;;){var f=b.return;if(null===f)break;var g=f.alternate;if(null===g){d=f.return;if(null!==d){b=d;continue}break}if(f.child===g.child){for(g=f.child;g;){if(g===b)return N(f),a;if(g===d)return N(f),c;g=g.sibling}throw Error("Unable to find node on an unmounted component."); | ||
}if(b.return!==d.return)b=f,d=g;else{for(var e=!1,h=f.child;h;){if(h===b){e=!0;b=f;d=g;break}if(h===d){e=!0;d=f;b=g;break}h=h.sibling}if(!e){for(h=g.child;h;){if(h===b){e=!0;b=g;d=f;break}if(h===d){e=!0;d=g;b=f;break}h=h.sibling}if(!e)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");}}if(b.alternate!==d)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue."); | ||
(function(){'use strict';(function(k,q){"object"===typeof exports&&"undefined"!==typeof module?q(exports,require("react"),require("react-dom")):"function"===typeof define&&define.amd?define(["exports","react","react-dom"],q):(k="undefined"!==typeof globalThis?globalThis:k||self,q(k.ReactTestUtils={},k.React,k.ReactDOM))})(this,function(k,q,E){function M(a){var c=a,b=a;if(a.alternate)for(;c.return;)c=c.return;else{a=c;do c=a,0!==(c.flags&4098)&&(b=c.return),a=c.return;while(a)}return 3===c.tag?b:null}function N(a){if(M(a)!== | ||
a)throw Error("Unable to find node on an unmounted component.");}function X(a){var c=a.alternate;if(!c){c=M(a);if(null===c)throw Error("Unable to find node on an unmounted component.");return c!==a?null:a}for(var b=a,d=c;;){var f=b.return;if(null===f)break;var g=f.alternate;if(null===g){d=f.return;if(null!==d){b=d;continue}break}if(f.child===g.child){for(g=f.child;g;){if(g===b)return N(f),a;if(g===d)return N(f),c;g=g.sibling}throw Error("Unable to find node on an unmounted component.");}if(b.return!== | ||
d.return)b=f,d=g;else{for(var e=!1,h=f.child;h;){if(h===b){e=!0;b=f;d=g;break}if(h===d){e=!0;d=f;b=g;break}h=h.sibling}if(!e){for(h=g.child;h;){if(h===b){e=!0;b=g;d=f;break}if(h===d){e=!0;d=g;b=f;break}h=h.sibling}if(!e)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");}}if(b.alternate!==d)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue."); | ||
}if(3!==b.tag)throw Error("Unable to find node on an unmounted component.");return b.stateNode.current===b?a:c}function F(a){var c=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===c&&(a=13)):a=c;10===a&&(a=13);return 32<=a||13===a?a:0}function y(){return!0}function O(){return!1}function n(a){function c(b,d,f,g,e){this._reactName=b;this._targetInst=f;this.type=d;this.nativeEvent=g;this.target=e;this.currentTarget=null;for(var h in a)a.hasOwnProperty(h)&&(b=a[h],this[h]=b?b(g):g[h]);this.isDefaultPrevented= | ||
@@ -34,2 +33,3 @@ (null!=g.defaultPrevented?g.defaultPrevented:!1===g.returnValue)?y:O;this.isPropagationStopped=O;return this}l(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var b=this.nativeEvent;b&&(b.preventDefault?b.preventDefault():"unknown"!==typeof b.returnValue&&(b.returnValue=!1),this.isDefaultPrevented=y)},stopPropagation:function(){var b=this.nativeEvent;b&&(b.stopPropagation?b.stopPropagation():"unknown"!==typeof b.cancelBubble&&(b.cancelBubble=!0),this.isPropagationStopped=y)},persist:function(){}, | ||
c);return a[0]};k.findRenderedDOMComponentWithTag=function(a,c){t(a,"findRenderedDOMComponentWithTag");a=R(a,c);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for tag:"+c);return a[0]};k.isCompositeComponent=J;k.isCompositeComponentWithType=P;k.isDOMComponent=C;k.isDOMComponentElement=function(a){return!!(a&&q.isValidElement(a)&&a.tagName)};k.isElement=function(a){return q.isValidElement(a)};k.isElementOfType=function(a,c){return q.isValidElement(a)&&a.type===c}; | ||
k.mockComponent=function(a,c){c=c||a.mockTagName||"div";a.prototype.render.mockImplementation(function(){return q.createElement(c,null,this.props.children)});return this};k.nativeTouchData=function(a,c){return{touches:[{pageX:a,pageY:c}]}};k.renderIntoDocument=function(a){var c=document.createElement("div");return E.render(a,c)};k.scryRenderedComponentsWithType=S;k.scryRenderedDOMComponentsWithClass=Q;k.scryRenderedDOMComponentsWithTag=R;k.traverseTwoPhase=U})})(); | ||
k.mockComponent=function(a,c){c=c||a.mockTagName||"div";a.prototype.render.mockImplementation(function(){return q.createElement(c,null,this.props.children)});return this};k.nativeTouchData=function(a,c){return{touches:[{pageX:a,pageY:c}]}};k.renderIntoDocument=function(a){var c=document.createElement("div");return E.render(a,c)};k.scryRenderedComponentsWithType=S;k.scryRenderedDOMComponentsWithClass=Q;k.scryRenderedDOMComponentsWithTag=R;k.traverseTwoPhase=U}); | ||
})(); |
@@ -1,7 +0,6 @@ | ||
(function(){function p(b,a,d){a=document.getElementById(a);a.parentNode.removeChild(a);var c=document.getElementById(b);if(c){b=c.previousSibling;if(d)b.data="$!",c.setAttribute("data-dgst",d);else{d=b.parentNode;c=b.nextSibling;var f=0;do{if(c&&8===c.nodeType){var e=c.data;if("/$"===e)if(0===f)break;else f--;else"$"!==e&&"$?"!==e&&"$!"!==e||f++}e=c.nextSibling;d.removeChild(c);c=e}while(c);for(;a.firstChild;)d.insertBefore(a.firstChild,c);b.data="$"}b._reactRetry&&b._reactRetry()}}function B(b,a, | ||
d){for(var c=new Map,f=document,e,h,q=f.querySelectorAll("link[data-precedence],style[data-precedence]"),w=[],r=0;h=q[r++];)"not all"===h.getAttribute("media")?w.push(h):("LINK"===h.tagName&&v.set(h.getAttribute("href"),h),c.set(h.dataset.precedence,e=h));h=0;q=[];var t,g;for(r=!0;;){if(r){var n=d[h++];if(!n){r=!1;h=0;continue}var k=!1,u=0;var l=n[u++];if(g=v.get(l)){var m=g._p;k=!0}else{g=f.createElement("link");g.href=l;g.rel="stylesheet";for(g.dataset.precedence=t=n[u++];m=n[u++];)g.setAttribute(m, | ||
n[u++]);m=g._p=new Promise(function(C,D){g.onload=C;g.onerror=D});v.set(l,g)}l=g.getAttribute("media");!m||"l"===m.s||l&&!window.matchMedia(l).matches||q.push(m);if(k)continue}else{g=w[h++];if(!g)break;t=g.getAttribute("data-precedence");g.removeAttribute("media")}k=c.get(t)||e;k===e&&(e=g);c.set(t,g);k?k.parentNode.insertBefore(g,k.nextSibling):(k=f.head,k.insertBefore(g,k.firstChild))}Promise.all(q).then(p.bind(null,b,a,""),p.bind(null,b,a,"Resource failed to load"))}function x(b){b=b.querySelectorAll("template"); | ||
for(var a=0;a<b.length;a++)y(b[a])}function z(b){function a(c){for(var f=0;f<c.length;f++)for(var e=c[f].addedNodes,h=0;h<e.length;h++)e[h].parentNode&&y(e[h])}var d=new MutationObserver(a);d.observe(b,{childList:!0});window.addEventListener("DOMContentLoaded",function(){a(d.takeRecords());d.disconnect()})}function y(b){if(1===b.nodeType&&b.dataset){var a=b.dataset;if(null!=a.rxi){var d=a.dgst,c=a.msg,f=a.stck,e=document.getElementById(a.bid);e&&(a=e.previousSibling,a.data="$!",e=e.dataset,d&&(e.dgst= | ||
d),c&&(e.msg=c),f&&(e.stck=f),a._reactRetry&&a._reactRetry());b.remove()}else if(null!=a.rri)B(a.bid,a.sid,JSON.parse(a.sty)),b.remove();else if(null!=a.rci)p(a.bid,a.sid),b.remove();else if(null!=a.rsi){d=a.pid;c=document.getElementById(a.sid);d=document.getElementById(d);for(c.parentNode.removeChild(c);c.firstChild;)d.parentNode.insertBefore(c.firstChild,d);d.parentNode.removeChild(d);b.remove()}}}var v=new Map;(function(){addEventListener("submit",function(b){if(!b.defaultPrevented){var a=b.target, | ||
d=b.submitter,c=a.action,f=d;if(d){var e=d.getAttribute("formAction");null!=e&&(c=e,f=null)}"javascript:throw new Error('A React form was unexpectedly submitted.')"===c&&(b.preventDefault(),f?(b=document.createElement("input"),b.name=f.name,b.value=f.value,f.parentNode.insertBefore(b,f),f=new FormData(a),b.parentNode.removeChild(b)):f=new FormData(a),b=a.getRootNode(),(b.$$reactFormReplay=b.$$reactFormReplay||[]).push(a,d,f))}})})();window.$RC||(window.$RC=p,window.$RM=new Map);if(null!=document.body)"loading"=== | ||
document.readyState&&z(document.body),x(document.body);else{var A=new MutationObserver(function(){null!=document.body&&("loading"===document.readyState&&z(document.body),x(document.body),A.disconnect())});A.observe(document.documentElement,{childList:!0})}})(); | ||
(function(){function p(c,a,e){a=document.getElementById(a);a.parentNode.removeChild(a);var b=document.getElementById(c);if(b){c=b.previousSibling;if(e)c.data="$!",b.setAttribute("data-dgst",e);else{e=c.parentNode;b=c.nextSibling;var h=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$!"!==d||h++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;a.firstChild;)e.insertBefore(a.firstChild,b);c.data="$"}c._reactRetry&&c._reactRetry()}}function B(c,a, | ||
e){for(var b=new Map,h=document,d,g,q=h.querySelectorAll("link[data-precedence],style[data-precedence]"),w=[],r=0;g=q[r++];)"not all"===g.getAttribute("media")?w.push(g):("LINK"===g.tagName&&v.set(g.getAttribute("href"),g),b.set(g.dataset.precedence,d=g));g=0;q=[];var t,f;for(r=!0;;){if(r){var n=e[g++];if(!n){r=!1;g=0;continue}var k=!1,u=0;var l=n[u++];if(f=v.get(l)){var m=f._p;k=!0}else{f=h.createElement("link");f.href=l;f.rel="stylesheet";for(f.dataset.precedence=t=n[u++];m=n[u++];)f.setAttribute(m, | ||
n[u++]);m=f._p=new Promise(function(C,D){f.onload=C;f.onerror=D});v.set(l,f)}l=f.getAttribute("media");!m||"l"===m.s||l&&!window.matchMedia(l).matches||q.push(m);if(k)continue}else{f=w[g++];if(!f)break;t=f.getAttribute("data-precedence");f.removeAttribute("media")}k=b.get(t)||d;k===d&&(d=f);b.set(t,f);k?k.parentNode.insertBefore(f,k.nextSibling):(k=h.head,k.insertBefore(f,k.firstChild))}Promise.all(q).then(p.bind(null,c,a,""),p.bind(null,c,a,"Resource failed to load"))}function x(c){c=c.querySelectorAll("template"); | ||
for(var a=0;a<c.length;a++)y(c[a])}function z(c){function a(b){for(var h=0;h<b.length;h++)for(var d=b[h].addedNodes,g=0;g<d.length;g++)d[g].parentNode&&y(d[g])}var e=new MutationObserver(a);e.observe(c,{childList:!0});window.addEventListener("DOMContentLoaded",function(){a(e.takeRecords());e.disconnect()})}function y(c){if(1===c.nodeType&&c.dataset){var a=c.dataset;if(null!=a.rxi){var e=a.dgst,b=a.msg,h=a.stck,d=document.getElementById(a.bid);d&&(a=d.previousSibling,a.data="$!",d=d.dataset,e&&(d.dgst= | ||
e),b&&(d.msg=b),h&&(d.stck=h),a._reactRetry&&a._reactRetry());c.remove()}else if(null!=a.rri)B(a.bid,a.sid,JSON.parse(a.sty)),c.remove();else if(null!=a.rci)p(a.bid,a.sid),c.remove();else if(null!=a.rsi){e=a.pid;b=document.getElementById(a.sid);e=document.getElementById(e);for(b.parentNode.removeChild(b);b.firstChild;)e.parentNode.insertBefore(b.firstChild,e);e.parentNode.removeChild(e);c.remove()}}}var v=new Map;window.$RC||(window.$RC=p,window.$RM=new Map);if(null!=document.body)"loading"===document.readyState&& | ||
z(document.body),x(document.body);else{var A=new MutationObserver(function(){null!=document.body&&("loading"===document.readyState&&z(document.body),x(document.body),A.disconnect())});A.observe(document.documentElement,{childList:!0})}})(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
15
32
7152788
50
142707
+ Addedreact@18.3.0-canary-1dba980e1f-20241220(transitive)
+ Addedscheduler@0.24.0-canary-1dba980e1f-20241220(transitive)
- Removedreact@18.3.0-canary-1d5667a12-20240102(transitive)
- Removedscheduler@0.24.0-canary-1d5667a12-20240102(transitive)