mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-07-11 20:43:57 -04:00
Build for 2e13b73198
chore(deps): update dependency react-redux to v5.1.2 (#1721)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
8bc13c4329
commit
ab5a652200
2 changed files with 20 additions and 8 deletions
|
@ -19233,6 +19233,7 @@ function _inheritsLoose(subClass, superClass) {
|
|||
}
|
||||
// EXTERNAL MODULE: ./node_modules/react/index.js
|
||||
var react = __webpack_require__(2);
|
||||
var react_default = /*#__PURE__*/__webpack_require__.n(react);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/prop-types/index.js
|
||||
var prop_types = __webpack_require__(0);
|
||||
|
@ -19282,6 +19283,7 @@ function warning(message) {
|
|||
|
||||
|
||||
|
||||
var prefixUnsafeLifecycleMethods = typeof react_default.a.forwardRef !== "undefined";
|
||||
var didWarnAboutReceivingStore = false;
|
||||
|
||||
function warnAboutReceivingStore() {
|
||||
|
@ -19330,7 +19332,7 @@ function createProvider(storeKey) {
|
|||
return Provider;
|
||||
}(react["Component"]);
|
||||
|
||||
if (false) {}
|
||||
if (false) { var eventName; }
|
||||
|
||||
Provider.propTypes = {
|
||||
store: storeShape.isRequired,
|
||||
|
@ -19486,6 +19488,7 @@ function () {
|
|||
|
||||
|
||||
|
||||
var connectAdvanced_prefixUnsafeLifecycleMethods = typeof react_default.a.forwardRef !== "undefined";
|
||||
var hotReloadingVersion = 0;
|
||||
var dummyState = {};
|
||||
|
||||
|
@ -19624,7 +19627,8 @@ _ref) {
|
|||
this.subscription.trySubscribe();
|
||||
this.selector.run(this.props);
|
||||
if (this.selector.shouldComponentUpdate) this.forceUpdate();
|
||||
};
|
||||
}; // Note: this is renamed below to the UNSAFE_ version in React >=16.3.0
|
||||
|
||||
|
||||
_proto.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
|
||||
this.selector.run(nextProps);
|
||||
|
@ -19725,6 +19729,12 @@ _ref) {
|
|||
|
||||
return Connect;
|
||||
}(react["Component"]);
|
||||
|
||||
if (connectAdvanced_prefixUnsafeLifecycleMethods) {
|
||||
// Use UNSAFE_ event name where supported
|
||||
Connect.prototype.UNSAFE_componentWillReceiveProps = Connect.prototype.componentWillReceiveProps;
|
||||
delete Connect.prototype.componentWillReceiveProps;
|
||||
}
|
||||
/* eslint-enable react/no-deprecated */
|
||||
|
||||
|
||||
|
@ -19734,7 +19744,7 @@ _ref) {
|
|||
Connect.contextTypes = contextTypes;
|
||||
Connect.propTypes = contextTypes;
|
||||
|
||||
if (false) {}
|
||||
if (false) { var eventName; }
|
||||
|
||||
return hoist_non_react_statics_cjs_default()(Connect, WrappedComponent);
|
||||
};
|
||||
|
@ -19779,13 +19789,15 @@ var es = __webpack_require__(15);
|
|||
*/
|
||||
function isPlainObject(obj) {
|
||||
if (typeof obj !== 'object' || obj === null) return false;
|
||||
var proto = obj;
|
||||
var proto = Object.getPrototypeOf(obj);
|
||||
if (proto === null) return true;
|
||||
var baseProto = proto;
|
||||
|
||||
while (Object.getPrototypeOf(proto) !== null) {
|
||||
proto = Object.getPrototypeOf(proto);
|
||||
while (Object.getPrototypeOf(baseProto) !== null) {
|
||||
baseProto = Object.getPrototypeOf(baseProto);
|
||||
}
|
||||
|
||||
return Object.getPrototypeOf(obj) === proto;
|
||||
return proto === baseProto;
|
||||
}
|
||||
// CONCATENATED MODULE: ./node_modules/react-redux/es/utils/verifyPlainObject.js
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue