react-dom
Advanced tools
Comparing version 0.0.0-experimental-d900fadbf-20230929 to 18.3.0-canary-09fbee89d-20231013
@@ -19,12 +19,2 @@ /** | ||
var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; | ||
var Internals = { | ||
usingClientEntryPoint: false, | ||
Events: null, | ||
Dispatcher: { | ||
current: null | ||
} | ||
}; | ||
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
@@ -69,2 +59,12 @@ | ||
var ReactVersion = '18.3.0-canary-09fbee89d-20231013'; | ||
var Internals = { | ||
usingClientEntryPoint: false, | ||
Events: null, | ||
Dispatcher: { | ||
current: null | ||
} | ||
}; | ||
function getCrossOriginString(input) { | ||
@@ -363,6 +363,21 @@ if (typeof input === 'string') { | ||
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 = useFormState; | ||
exports.experimental_useFormStatus = useFormStatus; | ||
exports.experimental_useFormState = experimental_useFormState; | ||
exports.experimental_useFormStatus = experimental_useFormStatus; | ||
exports.flushSync = flushSync; | ||
@@ -376,4 +391,6 @@ exports.preconnect = preconnect; | ||
exports.unstable_batchedUpdates = batchedUpdates; | ||
exports.useFormState = useFormState; | ||
exports.useFormStatus = useFormStatus; | ||
exports.version = ReactVersion; | ||
})(); | ||
} |
@@ -11,7 +11,8 @@ /** | ||
'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,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.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),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})}}; | ||
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.version="18.3.0-experimental-d900fadbf-20230929"; | ||
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-09fbee89d-20231013"; |
{ | ||
"name": "react-dom", | ||
"version": "0.0.0-experimental-d900fadbf-20230929", | ||
"version": "18.3.0-canary-09fbee89d-20231013", | ||
"description": "React package for working with the DOM.", | ||
@@ -21,6 +21,6 @@ "main": "index.js", | ||
"loose-envify": "^1.1.0", | ||
"scheduler": "0.0.0-experimental-d900fadbf-20230929" | ||
"scheduler": "0.24.0-canary-09fbee89d-20231013" | ||
}, | ||
"peerDependencies": { | ||
"react": "0.0.0-experimental-d900fadbf-20230929" | ||
"react": "18.3.0-canary-09fbee89d-20231013" | ||
}, | ||
@@ -44,4 +44,4 @@ "files": [ | ||
"test-utils.js", | ||
"unstable_testing.js", | ||
"unstable_server-external-runtime.js", | ||
"react-dom.shared-subset.js", | ||
"cjs/", | ||
@@ -85,3 +85,2 @@ "umd/" | ||
"./test-utils": "./test-utils.js", | ||
"./unstable_testing": "./unstable_testing.js", | ||
"./unstable_server-external-runtime": "./unstable_server-external-runtime.js", | ||
@@ -88,0 +87,0 @@ "./package.json": "./package.json" |
@@ -16,12 +16,2 @@ /** | ||
var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; | ||
var Internals = { | ||
usingClientEntryPoint: false, | ||
Events: null, | ||
Dispatcher: { | ||
current: null | ||
} | ||
}; | ||
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
@@ -66,2 +56,12 @@ | ||
var ReactVersion = '18.3.0-canary-09fbee89d-20231013'; | ||
var Internals = { | ||
usingClientEntryPoint: false, | ||
Events: null, | ||
Dispatcher: { | ||
current: null | ||
} | ||
}; | ||
function getCrossOriginString(input) { | ||
@@ -360,6 +360,21 @@ if (typeof input === 'string') { | ||
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 = useFormState; | ||
exports.experimental_useFormStatus = useFormStatus; | ||
exports.experimental_useFormState = experimental_useFormState; | ||
exports.experimental_useFormStatus = experimental_useFormStatus; | ||
exports.flushSync = flushSync; | ||
@@ -373,4 +388,6 @@ exports.preconnect = preconnect; | ||
exports.unstable_batchedUpdates = batchedUpdates; | ||
exports.useFormState = useFormState; | ||
exports.useFormStatus = useFormStatus; | ||
exports.version = ReactVersion; | ||
})); |
@@ -11,8 +11,8 @@ /** | ||
(function(){'use strict';(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:""}var m={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}},f=m.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=m;d.createPortal=function(){throw Error(l(448));};d.experimental_useFormState= | ||
function(b,a,c){return n.current.useFormState(b,a,c)};d.experimental_useFormStatus=function(){return n.current.useHostTransitionStatus()};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),p="string"===typeof a.integrity?a.integrity:void 0,q="string"===typeof a.fetchPriority?a.fetchPriority:void 0;"style"===e?c.preinitStyle(b,"string"===typeof a.precedence?a.precedence:void 0,{crossOrigin:k,integrity:p,fetchPriority:q}):"script"===e&&c.preinitScript(b,{crossOrigin:k,integrity:p,fetchPriority:q,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.version="18.3.0-experimental-d900fadbf-20230929"}); | ||
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-09fbee89d-20231013"}); | ||
})(); |
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
18
34
7416941
51
147395
+ Addedreact@18.3.0-canary-09fbee89d-20231013(transitive)
+ Addedscheduler@0.24.0-canary-09fbee89d-20231013(transitive)
- Removedreact@0.0.0-experimental-d900fadbf-20230929(transitive)
- Removedscheduler@0.0.0-experimental-d900fadbf-20230929(transitive)