Comparing version 0.0.0-d5e1bf0-aee1b84 to 0.0.0-dfabb77a9
@@ -1,2 +0,2 @@ | ||
/** @license React v16.6.1 | ||
/** @license React v0.0.0-dfabb77a9 | ||
* react.development.js | ||
@@ -23,3 +23,3 @@ * | ||
var ReactVersion = '0.0.0-d5e1bf0-aee1b84'; | ||
var ReactVersion = '16.8.1-canary-dfabb77a9'; | ||
@@ -58,39 +58,2 @@ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol | ||
var enableHooks = false; | ||
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers: | ||
// In some cases, StrictMode should also double-render lifecycles. | ||
// This can be confusing for tests though, | ||
// And it can be bad for performance in production. | ||
// This feature flag can be used to control the behavior: | ||
// To preserve the "Pause on caught exceptions" behavior of the debugger, we | ||
// replay the begin phase of a failed component inside invokeGuardedCallback. | ||
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6: | ||
// Gather advanced timing metrics for Profiler subtrees. | ||
// Trace which interactions trigger each commit. | ||
// Only used in www builds. | ||
// Only used in www builds. | ||
// React Fire: prevent the value and checked attributes from syncing | ||
// with their related DOM properties | ||
// These APIs will no longer be "unstable" in the upcoming 16.7 release, | ||
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile. | ||
var enableStableConcurrentModeAPIs = false; | ||
/** | ||
@@ -452,2 +415,13 @@ * Use invariant() to assert state which your program assumes to be true. | ||
/** | ||
* Keeps track of the current dispatcher. | ||
*/ | ||
var ReactCurrentDispatcher = { | ||
/** | ||
* @internal | ||
* @type {ReactComponent} | ||
*/ | ||
current: null | ||
}; | ||
/** | ||
* Keeps track of the current owner. | ||
@@ -463,4 +437,3 @@ * | ||
*/ | ||
current: null, | ||
currentDispatcher: null | ||
current: null | ||
}; | ||
@@ -596,2 +569,3 @@ | ||
var ReactSharedInternals = { | ||
ReactCurrentDispatcher: ReactCurrentDispatcher, | ||
ReactCurrentOwner: ReactCurrentOwner, | ||
@@ -1290,2 +1264,5 @@ // Used by renderers to avoid bundling object-assign twice in UMD bundles: | ||
_currentValue2: defaultValue, | ||
// Used to track how many concurrent renderers this context currently | ||
// supports within in a single renderer. Such as parallel server rendering. | ||
_threadCount: 0, | ||
// These are circular | ||
@@ -1343,2 +1320,10 @@ Provider: null, | ||
}, | ||
_threadCount: { | ||
get: function () { | ||
return context._threadCount; | ||
}, | ||
set: function (_threadCount) { | ||
context._threadCount = _threadCount; | ||
} | ||
}, | ||
Consumer: { | ||
@@ -1367,3 +1352,3 @@ get: function () { | ||
function lazy(ctor) { | ||
return { | ||
var lazyType = { | ||
$$typeof: REACT_LAZY_TYPE, | ||
@@ -1375,2 +1360,40 @@ _ctor: ctor, | ||
}; | ||
{ | ||
// In production, this would just set it on the object. | ||
var defaultProps = void 0; | ||
var propTypes = void 0; | ||
Object.defineProperties(lazyType, { | ||
defaultProps: { | ||
configurable: true, | ||
get: function () { | ||
return defaultProps; | ||
}, | ||
set: function (newDefaultProps) { | ||
warning$1(false, 'React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.'); | ||
defaultProps = newDefaultProps; | ||
// Match production behavior more closely: | ||
Object.defineProperty(lazyType, 'defaultProps', { | ||
enumerable: true | ||
}); | ||
} | ||
}, | ||
propTypes: { | ||
configurable: true, | ||
get: function () { | ||
return propTypes; | ||
}, | ||
set: function (newPropTypes) { | ||
warning$1(false, 'React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.'); | ||
propTypes = newPropTypes; | ||
// Match production behavior more closely: | ||
Object.defineProperty(lazyType, 'propTypes', { | ||
enumerable: true | ||
}); | ||
} | ||
} | ||
}); | ||
} | ||
return lazyType; | ||
} | ||
@@ -1421,10 +1444,12 @@ | ||
function resolveDispatcher() { | ||
var dispatcher = ReactCurrentOwner.currentDispatcher; | ||
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0; | ||
var dispatcher = ReactCurrentDispatcher.current; | ||
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)') : void 0; | ||
return dispatcher; | ||
} | ||
function useContext(Context, observedBits) { | ||
function useContext(Context, unstable_observedBits) { | ||
var dispatcher = resolveDispatcher(); | ||
{ | ||
!(unstable_observedBits === undefined) ? warning$1(false, 'useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://fb.me/rules-of-hooks' : '') : void 0; | ||
// TODO: add a more generic warning for invalid values. | ||
@@ -1442,3 +1467,3 @@ if (Context._context !== undefined) { | ||
} | ||
return dispatcher.useContext(Context, observedBits); | ||
return dispatcher.useContext(Context, unstable_observedBits); | ||
} | ||
@@ -1451,5 +1476,5 @@ | ||
function useReducer(reducer, initialState, initialAction) { | ||
function useReducer(reducer, initialArg, init) { | ||
var dispatcher = resolveDispatcher(); | ||
return dispatcher.useReducer(reducer, initialState, initialAction); | ||
return dispatcher.useReducer(reducer, initialArg, init); | ||
} | ||
@@ -1467,7 +1492,2 @@ | ||
function useMutationEffect(create, inputs) { | ||
var dispatcher = resolveDispatcher(); | ||
return dispatcher.useMutationEffect(create, inputs); | ||
} | ||
function useLayoutEffect(create, inputs) { | ||
@@ -1488,7 +1508,14 @@ var dispatcher = resolveDispatcher(); | ||
function useImperativeMethods(ref, create, inputs) { | ||
function useImperativeHandle(ref, create, inputs) { | ||
var dispatcher = resolveDispatcher(); | ||
return dispatcher.useImperativeMethods(ref, create, inputs); | ||
return dispatcher.useImperativeHandle(ref, create, inputs); | ||
} | ||
function useDebugValue(value, formatterFn) { | ||
{ | ||
var dispatcher = resolveDispatcher(); | ||
return dispatcher.useDebugValue(value, formatterFn); | ||
} | ||
} | ||
/** | ||
@@ -1580,3 +1607,3 @@ * ReactElementValidator provides a wrapper around a element factory | ||
{ | ||
warning$1(false, 'Each child in an array or iterator should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner); | ||
warning$1(false, 'Each child in a list should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner); | ||
} | ||
@@ -1637,12 +1664,13 @@ setCurrentlyValidatingElement(null); | ||
var type = element.type; | ||
var name = void 0, | ||
propTypes = void 0; | ||
if (type === null || type === undefined || typeof type === 'string') { | ||
return; | ||
} | ||
var name = getComponentName(type); | ||
var propTypes = void 0; | ||
if (typeof type === 'function') { | ||
// Class or function component | ||
name = type.displayName || type.name; | ||
propTypes = type.propTypes; | ||
} else if (typeof type === 'object' && type !== null && type.$$typeof === REACT_FORWARD_REF_TYPE) { | ||
// ForwardRef | ||
var functionName = type.render.displayName || type.render.name || ''; | ||
name = type.displayName || (functionName !== '' ? 'ForwardRef(' + functionName + ')' : 'ForwardRef'); | ||
} else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || | ||
// Note: Memo only checks outer props here. | ||
// Inner props are checked in the reconciler. | ||
type.$$typeof === REACT_MEMO_TYPE)) { | ||
propTypes = type.propTypes; | ||
@@ -1778,2 +1806,41 @@ } else { | ||
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers: | ||
// In some cases, StrictMode should also double-render lifecycles. | ||
// This can be confusing for tests though, | ||
// And it can be bad for performance in production. | ||
// This feature flag can be used to control the behavior: | ||
// To preserve the "Pause on caught exceptions" behavior of the debugger, we | ||
// replay the begin phase of a failed component inside invokeGuardedCallback. | ||
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6: | ||
// Gather advanced timing metrics for Profiler subtrees. | ||
// Trace which interactions trigger each commit. | ||
// Only used in www builds. | ||
// TODO: true? Here it might just be false. | ||
// Only used in www builds. | ||
// Only used in www builds. | ||
// React Fire: prevent the value and checked attributes from syncing | ||
// with their related DOM properties | ||
// These APIs will no longer be "unstable" in the upcoming 16.7 release, | ||
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile. | ||
var enableStableConcurrentModeAPIs = false; | ||
var React = { | ||
@@ -1797,2 +1864,13 @@ Children: { | ||
useCallback: useCallback, | ||
useContext: useContext, | ||
useEffect: useEffect, | ||
useImperativeHandle: useImperativeHandle, | ||
useDebugValue: useDebugValue, | ||
useLayoutEffect: useLayoutEffect, | ||
useMemo: useMemo, | ||
useReducer: useReducer, | ||
useRef: useRef, | ||
useState: useState, | ||
Fragment: REACT_FRAGMENT_TYPE, | ||
@@ -1809,28 +1887,22 @@ StrictMode: REACT_STRICT_MODE_TYPE, | ||
unstable_ConcurrentMode: REACT_CONCURRENT_MODE_TYPE, | ||
unstable_Profiler: REACT_PROFILER_TYPE, | ||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals | ||
}; | ||
// Note: some APIs are added with feature flags. | ||
// Make sure that stable builds for open source | ||
// don't modify the React object to avoid deopts. | ||
// Also let's not expose their names in stable builds. | ||
if (enableStableConcurrentModeAPIs) { | ||
React.ConcurrentMode = REACT_CONCURRENT_MODE_TYPE; | ||
React.Profiler = REACT_PROFILER_TYPE; | ||
} else { | ||
React.unstable_ConcurrentMode = REACT_CONCURRENT_MODE_TYPE; | ||
React.unstable_Profiler = REACT_PROFILER_TYPE; | ||
React.unstable_ConcurrentMode = undefined; | ||
React.unstable_Profiler = undefined; | ||
} | ||
if (enableHooks) { | ||
React.useCallback = useCallback; | ||
React.useContext = useContext; | ||
React.useEffect = useEffect; | ||
React.useImperativeMethods = useImperativeMethods; | ||
React.useLayoutEffect = useLayoutEffect; | ||
React.useMemo = useMemo; | ||
React.useMutationEffect = useMutationEffect; | ||
React.useReducer = useReducer; | ||
React.useRef = useRef; | ||
React.useState = useState; | ||
} | ||
var React$2 = Object.freeze({ | ||
@@ -1837,0 +1909,0 @@ default: React |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.6.1 | ||
/** @license React v0.0.0-dfabb77a9 | ||
* react.production.min.js | ||
@@ -10,16 +10,17 @@ * | ||
'use strict';var k=require("object-assign"),n="function"===typeof Symbol&&Symbol.for,p=n?Symbol.for("react.element"):60103,q=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,t=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,w=n?Symbol.for("react.context"):60110,x=n?Symbol.for("react.concurrent_mode"):60111,y=n?Symbol.for("react.forward_ref"):60112,z=n?Symbol.for("react.suspense"):60113,A=n?Symbol.for("react.memo"): | ||
60115,B=n?Symbol.for("react.lazy"):60116,C="function"===typeof Symbol&&Symbol.iterator;function aa(a,b,e,c,d,g,h,f){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[e,c,d,g,h,f],m=0;a=Error(b.replace(/%s/g,function(){return l[m++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}} | ||
function D(a){for(var b=arguments.length-1,e="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)e+="&args[]="+encodeURIComponent(arguments[c+1]);aa(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F={}; | ||
function G(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}G.prototype.isReactComponent={};G.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?D("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};G.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function H(){}H.prototype=G.prototype;function I(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}var J=I.prototype=new H; | ||
J.constructor=I;k(J,G.prototype);J.isPureReactComponent=!0;var K={current:null,currentDispatcher:null},L=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function N(a,b,e){var c=void 0,d={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=""+b.key),b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];d.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:p,type:a,key:g,ref:h,props:d,_owner:K.current}} | ||
function ba(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return"object"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\/+/g,Q=[];function R(a,b,e,c){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}} | ||
function S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)} | ||
function T(a,b,e,c){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return e(c,a,""===b?"."+U(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){d=a[h];var f=b+U(d,h);g+=T(d,f,e,c)}else if(null===a||"object"!==typeof a?f=null:(f=C&&a[C]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),h= | ||
0;!(d=a.next()).done;)d=d.value,f=b+U(d,h++),g+=T(d,f,e,c);else"object"===d&&(e=""+a,D("31","[object Object]"===e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return g}function V(a,b,e){return null==a?0:T(a,"",b,e)}function U(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function ca(a,b){a.func.call(a.context,b,a.count++)} | ||
function da(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,c,e,function(a){return a}):null!=a&&(O(a)&&(a=ba(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),c.push(a))}function W(a,b,e,c,d){var g="";null!=e&&(g=(""+e).replace(P,"$&/")+"/");b=R(b,g,c,d);V(a,da,b);S(b)} | ||
var X={Children:{map:function(a,b,e){if(null==a)return a;var c=[];W(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=R(null,null,b,e);V(a,ca,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){O(a)?void 0:D("143");return a}},createRef:function(){return{current:null}},Component:G,PureComponent:I,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b, | ||
_currentValue:a,_currentValue2:a,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:y,render:a}},lazy:function(a){return{$$typeof:B,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:A,type:a,compare:void 0===b?null:b}},Fragment:r,StrictMode:t,Suspense:z,createElement:N,cloneElement:function(a,b,e){null===a||void 0===a?D("267",a):void 0;var c=void 0,d=k({},a.props),g=a.key,h=a.ref,f=a._owner;if(null!=b){void 0!== | ||
b.ref&&(h=b.ref,f=K.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];d.children=l}return{$$typeof:p,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=N.bind(null,a);b.type=a;return b},isValidElement:O,version:"0.0.0-d5e1bf0-aee1b84", | ||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:K,assign:k}};X.unstable_ConcurrentMode=x;X.unstable_Profiler=u;var Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z; | ||
'use strict';var k=require("object-assign"),n="function"===typeof Symbol&&Symbol.for,p=n?Symbol.for("react.element"):60103,q=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,t=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,w=n?Symbol.for("react.context"):60110,x=n?Symbol.for("react.concurrent_mode"):60111,y=n?Symbol.for("react.forward_ref"):60112,z=n?Symbol.for("react.suspense"):60113,aa=n?Symbol.for("react.memo"): | ||
60115,ba=n?Symbol.for("react.lazy"):60116,A="function"===typeof Symbol&&Symbol.iterator;function ca(a,b,d,c,e,g,h,f){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[d,c,e,g,h,f],m=0;a=Error(b.replace(/%s/g,function(){return l[m++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}} | ||
function B(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)d+="&args[]="+encodeURIComponent(arguments[c+1]);ca(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D={}; | ||
function E(a,b,d){this.props=a;this.context=b;this.refs=D;this.updater=d||C}E.prototype.isReactComponent={};E.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?B("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function F(){}F.prototype=E.prototype;function G(a,b,d){this.props=a;this.context=b;this.refs=D;this.updater=d||C}var H=G.prototype=new F; | ||
H.constructor=G;k(H,E.prototype);H.isPureReactComponent=!0;var I={current:null},J={current:null},K=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function M(a,b,d){var c=void 0,e={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=""+b.key),b)K.call(b,c)&&!L.hasOwnProperty(c)&&(e[c]=b[c]);var f=arguments.length-2;if(1===f)e.children=d;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];e.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===e[c]&&(e[c]=f[c]);return{$$typeof:p,type:a,key:g,ref:h,props:e,_owner:J.current}} | ||
function da(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var O=/\/+/g,P=[];function Q(a,b,d,c){if(P.length){var e=P.pop();e.result=a;e.keyPrefix=b;e.func=d;e.context=c;e.count=0;return e}return{result:a,keyPrefix:b,func:d,context:c,count:0}} | ||
function R(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>P.length&&P.push(a)} | ||
function S(a,b,d,c){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var g=!1;if(null===a)g=!0;else switch(e){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return d(c,a,""===b?"."+T(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){e=a[h];var f=b+T(e,h);g+=S(e,f,d,c)}else if(null===a||"object"!==typeof a?f=null:(f=A&&a[A]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),h= | ||
0;!(e=a.next()).done;)e=e.value,f=b+T(e,h++),g+=S(e,f,d,c);else"object"===e&&(d=""+a,B("31","[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return g}function U(a,b,d){return null==a?0:S(a,"",b,d)}function T(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function ea(a,b){a.func.call(a.context,b,a.count++)} | ||
function fa(a,b,d){var c=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?V(a,c,d,function(a){return a}):null!=a&&(N(a)&&(a=da(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+d)),c.push(a))}function V(a,b,d,c,e){var g="";null!=d&&(g=(""+d).replace(O,"$&/")+"/");b=Q(b,g,c,e);U(a,fa,b);R(b)}function W(){var a=I.current;null===a?B("307"):void 0;return a} | ||
var X={Children:{map:function(a,b,d){if(null==a)return a;var c=[];V(a,c,null,b,d);return c},forEach:function(a,b,d){if(null==a)return a;b=Q(null,null,b,d);U(a,ea,b);R(b)},count:function(a){return U(a,function(){return null},null)},toArray:function(a){var b=[];V(a,b,null,function(a){return a});return b},only:function(a){N(a)?void 0:B("143");return a}},createRef:function(){return{current:null}},Component:E,PureComponent:G,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b, | ||
_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:y,render:a}},lazy:function(a){return{$$typeof:ba,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:aa,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return W().useCallback(a,b)},useContext:function(a,b){return W().useContext(a,b)},useEffect:function(a,b){return W().useEffect(a,b)},useImperativeHandle:function(a, | ||
b,d){return W().useImperativeHandle(a,b,d)},useDebugValue:function(){},useLayoutEffect:function(a,b){return W().useLayoutEffect(a,b)},useMemo:function(a,b){return W().useMemo(a,b)},useReducer:function(a,b,d){return W().useReducer(a,b,d)},useRef:function(a){return W().useRef(a)},useState:function(a){return W().useState(a)},Fragment:r,StrictMode:t,Suspense:z,createElement:M,cloneElement:function(a,b,d){null===a||void 0===a?B("267",a):void 0;var c=void 0,e=k({},a.props),g=a.key,h=a.ref,f=a._owner;if(null!= | ||
b){void 0!==b.ref&&(h=b.ref,f=J.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)K.call(b,c)&&!L.hasOwnProperty(c)&&(e[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)e.children=d;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:p,type:a.type,key:g,ref:h,props:e,_owner:f}},createFactory:function(a){var b=M.bind(null,a);b.type=a;return b},isValidElement:N,version:"16.8.1-canary-dfabb77a9", | ||
unstable_ConcurrentMode:x,unstable_Profiler:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:I,ReactCurrentOwner:J,assign:k}},Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z; |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "0.0.0-d5e1bf0-aee1b84", | ||
"version": "0.0.0-dfabb77a9", | ||
"homepage": "https://reactjs.org/", | ||
@@ -15,2 +15,3 @@ "bugs": "https://github.com/facebook/react/issues", | ||
"README.md", | ||
"build-info.json", | ||
"index.js", | ||
@@ -21,3 +22,7 @@ "cjs/", | ||
"main": "index.js", | ||
"repository": "facebook/react", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/facebook/react.git", | ||
"directory": "packages/react" | ||
}, | ||
"engines": { | ||
@@ -30,3 +35,3 @@ "node": ">=0.10.0" | ||
"prop-types": "^15.6.2", | ||
"scheduler": "0.0.0-d5e1bf0-aee1b84" | ||
"scheduler": "0.0.0-dfabb77a9" | ||
}, | ||
@@ -37,9 +42,3 @@ "browserify": { | ||
] | ||
}, | ||
"buildInfo": { | ||
"buildID": "d5e1bf0-aee1b84", | ||
"checksum": "0ca104599034bd852ab9fc940d9afd26b8480108", | ||
"unstable": true, | ||
"partial": false | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
202761
10
4608
2
1
+ Addedscheduler@0.0.0-dfabb77a9(transitive)
- Removedscheduler@0.0.0-d5e1bf0-aee1b84(transitive)
Updatedscheduler@0.0.0-dfabb77a9