react 0.0.0-experimental-241485a2c-20210708 → 0.0.0-fec00a869

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +0,0 @@
1
- /** @license React vundefined
2
- * react-unstable-shared-subset.production.min.js
3
- *
4
- * Copyright (c) Facebook, Inc. and its affiliates.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- 'use strict';var l=require("object-assign"),n=60103,p=60106;exports.Fragment=60107;exports.StrictMode=60108;exports.Profiler=60114;var q=60112;exports.Suspense=60113;exports.SuspenseList=60120;var r=60115,t=60116;exports.unstable_DebugTracingMode=60129;
10
- if("function"===typeof Symbol&&Symbol.for){var u=Symbol.for;n=u("react.element");p=u("react.portal");exports.Fragment=u("react.fragment");exports.StrictMode=u("react.strict_mode");exports.Profiler=u("react.profiler");q=u("react.forward_ref");exports.Suspense=u("react.suspense");exports.SuspenseList=u("react.suspense_list");r=u("react.memo");t=u("react.lazy");exports.unstable_DebugTracingMode=u("react.debug_trace_mode")}var v="function"===typeof Symbol&&Symbol.iterator;
11
- function w(a){if(null===a||"object"!==typeof a)return null;a=v&&a[v]||a["@@iterator"];return"function"===typeof a?a:null}function x(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,e=1;e<arguments.length;e++)b+="&args[]="+encodeURIComponent(arguments[e]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
12
- var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z={};function A(a,b,e){this.props=a;this.context=b;this.refs=z;this.updater=e||y}A.prototype.isReactComponent={};A.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(x(85));this.updater.enqueueSetState(this,a,b,"setState")};A.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
13
- function B(){}B.prototype=A.prototype;function C(a,b,e){this.props=a;this.context=b;this.refs=z;this.updater=e||y}var D=C.prototype=new B;D.constructor=C;l(D,A.prototype);D.isPureReactComponent=!0;var E=Array.isArray,F=Object.prototype.hasOwnProperty,G={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function I(a,b){return{$$typeof:n,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function J(a){return"object"===typeof a&&null!==a&&a.$$typeof===n}
14
- function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}var K=/\/+/g;function L(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
15
- function M(a,b,e,d,c){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=!1;if(null===a)h=!0;else switch(k){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case n:case p:h=!0}}if(h)return h=a,c=c(h),a=""===d?"."+L(h,0):d,E(c)?(e="",null!=a&&(e=a.replace(K,"$&/")+"/"),M(c,b,e,"",function(a){return a})):null!=c&&(J(c)&&(c=I(c,e+(!c.key||h&&h.key===c.key?"":(""+c.key).replace(K,"$&/")+"/")+a)),b.push(c)),1;h=0;d=""===d?".":d+":";if(E(a))for(var g=0;g<a.length;g++){k=
16
- a[g];var f=d+L(k,g);h+=M(k,b,e,f,c)}else if(f=w(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=d+L(k,g++),h+=M(k,b,e,f,c);else if("object"===k)throw b=""+a,Error(x(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function N(a,b,e){if(null==a)return a;var d=[],c=0;M(a,d,"","",function(a){return b.call(e,a,c++)});return d}
17
- function O(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var P={current:null};function Q(a){return P.current.useDeferredValue(a)}var R={transition:0},S={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:R,ReactCurrentOwner:G,assign:l};
18
- exports.Children={map:N,forEach:function(a,b,e){N(a,function(){b.apply(this,arguments)},e)},count:function(a){var b=0;N(a,function(){b++});return b},toArray:function(a){return N(a,function(a){return a})||[]},only:function(a){if(!J(a))throw Error(x(143));return a}};exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S;
19
- exports.cloneElement=function(a,b,e){if(null===a||void 0===a)throw Error(x(267,a));var d=l({},a.props),c=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=G.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)F.call(b,f)&&!H.hasOwnProperty(f)&&(d[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){g=Array(f);for(var m=0;m<f;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:n,type:a.type,
20
- key:c,ref:k,props:d,_owner:h}};exports.createElement=function(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)F.call(b,d)&&!H.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];c.children=f}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===c[d]&&(c[d]=g[d]);return{$$typeof:n,type:a,key:k,ref:h,props:c,_owner:G.current}};exports.createRef=function(){return{current:null}};
21
- exports.forwardRef=function(a){return{$$typeof:q,render:a}};exports.isValidElement=J;exports.lazy=function(a){return{$$typeof:t,_payload:{_status:-1,_result:a},_init:O}};exports.memo=function(a,b){return{$$typeof:r,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=R.transition;R.transition=1;try{a()}finally{R.transition=b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};
22
- exports.unstable_getCacheForType=function(a){return P.current.getCacheForType(a)};exports.unstable_useDeferredValue=Q;exports.unstable_useMutableSource=function(a,b,e){return P.current.useMutableSource(a,b,e)};exports.unstable_useOpaqueIdentifier=function(){return P.current.useOpaqueIdentifier()};exports.useCallback=function(a,b){return P.current.useCallback(a,b)};exports.useContext=function(a){return P.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=Q;
23
- exports.useMemo=function(a,b){return P.current.useMemo(a,b)};exports.useTransition=function(){return P.current.useTransition()};exports.version="18.0.0-experimental-241485a2c-20210708";
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- if (process.env.NODE_ENV === 'production') {
4
- module.exports = require('./cjs/react-jsx-dev-runtime.production.min.js');
5
- } else {
6
- module.exports = require('./cjs/react-jsx-dev-runtime.development.js');
7
- }
package/jsx-runtime.js DELETED
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- if (process.env.NODE_ENV === 'production') {
4
- module.exports = require('./cjs/react-jsx-runtime.production.min.js');
5
- } else {
6
- module.exports = require('./cjs/react-jsx-runtime.development.js');
7
- }
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- if (process.env.NODE_ENV === 'production') {
4
- module.exports = require('./cjs/react-unstable-shared-subset.production.min.js');
5
- } else {
6
- module.exports = require('./cjs/react-unstable-shared-subset.development.js');
7
- }