Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-redux

Package Overview
Dependencies
Maintainers
2
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-redux - npm Package Compare versions

Comparing version 6.0.0-beta.3 to 6.0.0

2

dist/react-redux.min.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("redux")):"function"==typeof define&&define.amd?define(["exports","react","redux"],t):t(e.ReactRedux={},e.React,e.Redux)}(this,function(e,g,r){"use strict";var w="default"in g?g.default:g;function S(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function t(e,t){return e(t={exports:{}},t.exports),t.exports}function n(){}var o=t(function(e){e.exports=function(){function e(e,t,r,n,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}var r={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r}()}),C=w.createContext(null),i=function(n){function e(e){var t;t=n.call(this,e)||this;var r=e.store;return t.state={storeState:r.getState(),store:r},t}S(e,n);var t=e.prototype;return t.componentDidMount=function(){this._isMounted=!0,this.subscribe()},t.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},t.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},t.subscribe=function(){var e=this,r=this.props.store;this.unsubscribe=r.subscribe(function(){var t=r.getState();e._isMounted&&e.setState(function(e){return e.storeState===t?null:{storeState:t}})});var t=r.getState();t!==this.state.storeState&&this.setState({storeState:t})},t.render=function(){return w.createElement((this.props.context||C).Provider,{value:this.state},this.props.children)},e}(g.Component);function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(){return(E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function R(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])<0&&(o[r]=e[r]);return o}i.propTypes={store:o.shape({subscribe:o.func.isRequired,dispatch:o.func.isRequired,getState:o.func.isRequired}),context:o.object,children:o.any};var a,s=t(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,l=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case p:case i:case s:case a:return e;default:switch(e=e&&e.$$typeof){case c:case f:case u:return e;default:return t}}case o:return t}}}function y(e){return v(e)===p}t.typeOf=v,t.AsyncMode=p,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=u,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Profiler=s,t.Portal=o,t.StrictMode=a,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===c||e.$$typeof===f)},t.isAsyncMode=function(e){return y(e)},t.isConcurrentMode=y,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===f},t.isFragment=function(e){return v(e)===i},t.isProfiler=function(e){return v(e)===s},t.isPortal=function(e){return v(e)===o},t.isStrictMode=function(e){return v(e)===a}});(a=s)&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default");var u,c=t(function(e){e.exports=s});function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},d={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l=p({},c.ForwardRef,(p(u={},"$$typeof",!0),p(u,"render",!0),u)),m=Object.defineProperty,v=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,P=Object.getPrototypeOf,b=Object.prototype;var T=function e(t,r,n){if("string"==typeof r)return t;if(b){var o=P(r);o&&o!==b&&e(t,o,n)}var i=v(r);y&&(i=i.concat(y(r)));for(var a=l[t.$$typeof]||f,s=l[r.$$typeof]||f,u=0;u<i.length;++u){var c=i[u];if(!(d[c]||n&&n[c]||s&&s[c]||a&&a[c])){var p=h(r,c);try{m(t,c,p)}catch(e){}}}return t},M=function(e,t,r,n,o,i,a,s){if(!e){var u;if(void 0===t)u=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,i,a,s],p=0;(u=Error(t.replace(/%s/g,function(){return c[p++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}};function O(m,e){void 0===e&&(e={});var t=e.getDisplayName,a=void 0===t?function(e){return"ConnectAdvanced("+e+")"}:t,r=e.methodName,s=void 0===r?"connectAdvanced":r,n=e.renderCountProp,u=void 0===n?void 0:n,o=e.shouldHandleStateChanges,c=void 0===o||o,i=e.storeKey,v=void 0===i?"store":i,p=e.withRef,f=void 0!==p&&p,d=e.forwardRef,y=void 0!==d&&d,l=e.context,h=void 0===l?C:l,P=R(e,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);M(void 0===u,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),M(!f,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var b="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React-Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";M("store"===v,"storeKey has been removed and does not do anything. "+b);var O=h;return function(e){var t=e.displayName||e.name||"Component",o=a(t),f=E({},P,{getDisplayName:a,methodName:s,renderCountProp:u,shouldHandleStateChanges:c,storeKey:v,displayName:o,wrappedComponentName:t,WrappedComponent:e}),d=P.pure,r=g.Component,l=e;d&&(r=g.PureComponent);var n=function(p){function e(e){var t,o,i,a,s,u,r,n,c;return t=p.call(this,e)||this,M(y?!e.wrapperProps[v]:!e[v],"Passing redux store in props has been removed and does not do anything. "+b),t.selectDerivedProps=function(e,t,r){if(d&&o===t&&i===e)return a;r!==s&&(u=m((s=r).dispatch,f));var n=u(i=e,o=t);return a===n?a:a=n},t.selectChildElement=function(e,t){return e===r&&t===n||(c=w.createElement(l,E({},r=e,{ref:n=t}))),c},t.renderWrappedComponent=t.renderWrappedComponent.bind(x(x(t))),t}S(e,p);var t=e.prototype;return t.renderWrappedComponent=function(e){M(e,'Could not find "store" in the context of "'+o+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+o+" in connect options.");var t,r=this.props;y&&(r=this.props.wrapperProps,t=this.props.forwardedRef);var n=this.selectDerivedProps(e.storeState,r,e.store);return this.selectChildElement(n,t)},t.render=function(){return w.createElement((this.props.context||O).Consumer,null,this.renderWrappedComponent)},e}(r);if(n.WrappedComponent=e,n.displayName=o,y){var i=w.forwardRef(function(e,t){return w.createElement(n,{wrapperProps:e,forwardedRef:t})});return i.displayName=o,i.WrappedComponent=e,T(i,e)}return T(n,e)}}var j=Object.prototype.hasOwnProperty;function _(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function q(e,t){if(_(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(var n=0;n<r.length;n++)if(!j.call(t,r[n])||!_(e[r[n]],t[r[n]]))return!1;return!0}function $(o){return function(e,t){var r=o(e,t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function D(e){return null!=e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function N(o,e){return function(e,t){var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(e,t){n.mapToProps=o,n.dependsOnOwnProps=D(o);var r=n(e,t);return"function"==typeof r&&(n.mapToProps=r,n.dependsOnOwnProps=D(r),r=n(e,t)),r},n}}function F(e,t,r){return E({},r,e,t)}function W(r,n,o,i){return function(e,t){return o(r(e,t),n(i,t),t)}}function k(a,s,u,c,e){var p,f,d,l,m,v=e.areStatesEqual,y=e.areOwnPropsEqual,h=e.areStatePropsEqual,r=!1;function n(e,t){var r,n,o=!y(t,f),i=!v(e,p);return p=e,f=t,o&&i?(d=a(p,f),s.dependsOnOwnProps&&(l=s(c,f)),m=u(d,l,f)):o?(a.dependsOnOwnProps&&(d=a(p,f)),s.dependsOnOwnProps&&(l=s(c,f)),m=u(d,l,f)):(i&&(r=a(p,f),n=!h(r,d),d=r,n&&(m=u(d,l,f))),m)}return function(e,t){return r?n(e,t):(d=a(p=e,f=t),l=s(c,f),m=u(d,l,f),r=!0,m)}}function A(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,o=t.initMergeProps,i=R(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=r(e,i),s=n(e,i),u=o(e,i);return(i.pure?k:W)(a,s,u,e,i)}function H(r,e,n){for(var t=e.length-1;0<=t;t--){var o=e[t](r);if(o)return o}return function(e,t){throw Error("Invalid value of type "+typeof r+" for "+n+" argument when connecting component "+t.wrappedComponentName+".")}}function I(e,t){return e===t}var K,U,V,L,Y,z,B,G,J,Q,X,Z,ee=(L=void 0===(V=(U=void 0===K?{}:K).connectHOC)?O:V,z=void 0===(Y=U.mapStateToPropsFactories)?[function(e){return"function"==typeof e?N(e):void 0},function(e){return e?void 0:$(function(){return{}})}]:Y,G=void 0===(B=U.mapDispatchToPropsFactories)?[function(e){return"function"==typeof e?N(e):void 0},function(e){return e?void 0:$(function(e){return{dispatch:e}})},function(t){return t&&"object"==typeof t?$(function(e){return r.bindActionCreators(t,e)}):void 0}]:B,Q=void 0===(J=U.mergePropsFactories)?[function(e){return"function"==typeof e?(u=e,function(e,t){var o,i=t.pure,a=t.areMergedPropsEqual,s=!1;return function(e,t,r){var n=u(e,t,r);return s?i&&a(n,o)||(o=n):(s=!0,o=n),o}}):void 0;var u},function(e){return e?void 0:function(){return F}}]:J,Z=void 0===(X=U.selectorFactory)?A:X,function(e,t,r,n){void 0===n&&(n={});var o=n.pure,i=void 0===o||o,a=n.areStatesEqual,s=void 0===a?I:a,u=n.areOwnPropsEqual,c=void 0===u?q:u,p=n.areStatePropsEqual,f=void 0===p?q:p,d=n.areMergedPropsEqual,l=void 0===d?q:d,m=R(n,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),v=H(e,z,"mapStateToProps"),y=H(t,G,"mapDispatchToProps"),h=H(r,Q,"mergeProps");return L(Z,E({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:!!e,initMapStateToProps:v,initMapDispatchToProps:y,initMergeProps:h,pure:i,areStatesEqual:s,areOwnPropsEqual:c,areStatePropsEqual:f,areMergedPropsEqual:l},m))});e.Provider=i,e.connectAdvanced=O,e.ReactReduxContext=C,e.connect=ee,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("redux")):"function"==typeof define&&define.amd?define(["exports","react","redux"],t):t(e.ReactRedux={},e.React,e.Redux)}(this,function(e,g,r){"use strict";var S="default"in g?g.default:g;function w(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function t(e,t){return e(t={exports:{}},t.exports),t.exports}function n(){}var o=t(function(e){e.exports=function(){function e(e,t,r,n,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}var r={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r}()}),x=S.createContext(null),i=function(n){function e(e){var t;t=n.call(this,e)||this;var r=e.store;return t.state={storeState:r.getState(),store:r},t}w(e,n);var t=e.prototype;return t.componentDidMount=function(){this._isMounted=!0,this.subscribe()},t.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},t.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},t.subscribe=function(){var e=this,r=this.props.store;this.unsubscribe=r.subscribe(function(){var t=r.getState();e._isMounted&&e.setState(function(e){return e.storeState===t?null:{storeState:t}})});var t=r.getState();t!==this.state.storeState&&this.setState({storeState:t})},t.render=function(){return S.createElement((this.props.context||x).Provider,{value:this.state},this.props.children)},e}(g.Component);function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(){return(E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function R(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])<0&&(o[r]=e[r]);return o}i.propTypes={store:o.shape({subscribe:o.func.isRequired,dispatch:o.func.isRequired,getState:o.func.isRequired}),context:o.object,children:o.any};var a,s=t(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,p=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,l=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case i:case s:case a:return e;default:switch(e=e&&e.$$typeof){case c:case d:case p:return e;default:return t}}case o:return t}}}function h(e){return v(e)===f}t.typeOf=v,t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=p,t.Element=n,t.ForwardRef=d,t.Fragment=i,t.Profiler=s,t.Portal=o,t.StrictMode=a,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===s||e===a||e===l||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===p||e.$$typeof===c||e.$$typeof===d)},t.isAsyncMode=function(e){return h(e)||v(e)===u},t.isConcurrentMode=h,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===p},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===d},t.isFragment=function(e){return v(e)===i},t.isProfiler=function(e){return v(e)===s},t.isPortal=function(e){return v(e)===o},t.isStrictMode=function(e){return v(e)===a}});(a=s)&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default");var p=t(function(e){e.exports=s}),f={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},d={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={};l[p.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var m=Object.defineProperty,y=Object.getOwnPropertyNames,v=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,P=Object.getPrototypeOf,b=Object.prototype;var T=function e(t,r,n){if("string"==typeof r)return t;if(b){var o=P(r);o&&o!==b&&e(t,o,n)}var i=y(r);v&&(i=i.concat(v(r)));for(var a=l[t.$$typeof]||f,s=l[r.$$typeof]||f,p=0;p<i.length;++p){var c=i[p];if(!(d[c]||n&&n[c]||s&&s[c]||a&&a[c])){var u=h(r,c);try{m(t,c,u)}catch(e){}}}return t},M=function(e,t,r,n,o,i,a,s){if(!e){var p;if(void 0===t)p=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,i,a,s],u=0;(p=Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw p.framesToPop=1,p}};function c(m,e){void 0===e&&(e={});var t=e.getDisplayName,a=void 0===t?function(e){return"ConnectAdvanced("+e+")"}:t,r=e.methodName,s=void 0===r?"connectAdvanced":r,n=e.renderCountProp,p=void 0===n?void 0:n,o=e.shouldHandleStateChanges,c=void 0===o||o,i=e.storeKey,y=void 0===i?"store":i,u=e.withRef,f=void 0!==u&&u,d=e.forwardRef,v=void 0!==d&&d,l=e.context,h=void 0===l?x:l,P=R(e,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);M(void 0===p,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),M(!f,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var b="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React-Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";M("store"===y,"storeKey has been removed and does not do anything. "+b);var O=h;return function(e){var t=e.displayName||e.name||"Component",o=a(t),f=E({},P,{getDisplayName:a,methodName:s,renderCountProp:p,shouldHandleStateChanges:c,storeKey:y,displayName:o,wrappedComponentName:t,WrappedComponent:e}),d=P.pure,r=g.Component,l=e;d&&(r=g.PureComponent);var n=function(u){function e(e){var t,o,i,a,s,p,r,n,c;return t=u.call(this,e)||this,M(v?!e.wrapperProps[y]:!e[y],"Passing redux store in props has been removed and does not do anything. "+b),t.selectDerivedProps=function(e,t,r){if(d&&o===t&&i===e)return a;r!==s&&(p=m((s=r).dispatch,f));var n=p(i=e,o=t);return a===n?a:a=n},t.selectChildElement=function(e,t){return e===r&&t===n||(c=S.createElement(l,E({},r=e,{ref:n=t}))),c},t.renderWrappedComponent=t.renderWrappedComponent.bind(C(C(t))),t}w(e,u);var t=e.prototype;return t.renderWrappedComponent=function(e){M(e,'Could not find "store" in the context of "'+o+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+o+" in connect options.");var t,r=this.props;v&&(r=this.props.wrapperProps,t=this.props.forwardedRef);var n=this.selectDerivedProps(e.storeState,r,e.store);return this.selectChildElement(n,t)},t.render=function(){return S.createElement((this.props.context||O).Consumer,null,this.renderWrappedComponent)},e}(r);if(n.WrappedComponent=e,n.displayName=o,v){var i=S.forwardRef(function(e,t){return S.createElement(n,{wrapperProps:e,forwardedRef:t})});return i.displayName=o,i.WrappedComponent=e,T(i,e)}return T(n,e)}}var u=Object.prototype.hasOwnProperty;function O(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function j(e,t){if(O(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(var n=0;n<r.length;n++)if(!u.call(t,r[n])||!O(e[r[n]],t[r[n]]))return!1;return!0}function _(o){return function(e,t){var r=o(e,t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function q(e){return null!=e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function $(o,e){return function(e,t){var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(e,t){n.mapToProps=o,n.dependsOnOwnProps=q(o);var r=n(e,t);return"function"==typeof r&&(n.mapToProps=r,n.dependsOnOwnProps=q(r),r=n(e,t)),r},n}}function D(e,t,r){return E({},r,e,t)}function N(r,n,o,i){return function(e,t){return o(r(e,t),n(i,t),t)}}function F(a,s,p,c,e){var u,f,d,l,m,y=e.areStatesEqual,v=e.areOwnPropsEqual,h=e.areStatePropsEqual,r=!1;function n(e,t){var r,n,o=!v(t,f),i=!y(e,u);return u=e,f=t,o&&i?(d=a(u,f),s.dependsOnOwnProps&&(l=s(c,f)),m=p(d,l,f)):o?(a.dependsOnOwnProps&&(d=a(u,f)),s.dependsOnOwnProps&&(l=s(c,f)),m=p(d,l,f)):(i&&(r=a(u,f),n=!h(r,d),d=r,n&&(m=p(d,l,f))),m)}return function(e,t){return r?n(e,t):(d=a(u=e,f=t),l=s(c,f),m=p(d,l,f),r=!0,m)}}function W(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,o=t.initMergeProps,i=R(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=r(e,i),s=n(e,i),p=o(e,i);return(i.pure?F:N)(a,s,p,e,i)}function k(r,e,n){for(var t=e.length-1;0<=t;t--){var o=e[t](r);if(o)return o}return function(e,t){throw Error("Invalid value of type "+typeof r+" for "+n+" argument when connecting component "+t.wrappedComponentName+".")}}function A(e,t){return e===t}var H,I,K,U,V,L,Y,z,B,G,J,Q,X=(U=void 0===(K=(I=void 0===H?{}:H).connectHOC)?c:K,L=void 0===(V=I.mapStateToPropsFactories)?[function(e){return"function"==typeof e?$(e):void 0},function(e){return e?void 0:_(function(){return{}})}]:V,z=void 0===(Y=I.mapDispatchToPropsFactories)?[function(e){return"function"==typeof e?$(e):void 0},function(e){return e?void 0:_(function(e){return{dispatch:e}})},function(t){return t&&"object"==typeof t?_(function(e){return r.bindActionCreators(t,e)}):void 0}]:Y,G=void 0===(B=I.mergePropsFactories)?[function(e){return"function"==typeof e?(p=e,function(e,t){var o,i=t.pure,a=t.areMergedPropsEqual,s=!1;return function(e,t,r){var n=p(e,t,r);return s?i&&a(n,o)||(o=n):(s=!0,o=n),o}}):void 0;var p},function(e){return e?void 0:function(){return D}}]:B,Q=void 0===(J=I.selectorFactory)?W:J,function(e,t,r,n){void 0===n&&(n={});var o=n.pure,i=void 0===o||o,a=n.areStatesEqual,s=void 0===a?A:a,p=n.areOwnPropsEqual,c=void 0===p?j:p,u=n.areStatePropsEqual,f=void 0===u?j:u,d=n.areMergedPropsEqual,l=void 0===d?j:d,m=R(n,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),y=k(e,L,"mapStateToProps"),v=k(t,z,"mapDispatchToProps"),h=k(r,G,"mergeProps");return U(Q,E({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:!!e,initMapStateToProps:y,initMapDispatchToProps:v,initMergeProps:h,pure:i,areStatesEqual:s,areOwnPropsEqual:c,areStatePropsEqual:f,areMergedPropsEqual:l},m))});e.Provider=i,e.connectAdvanced=c,e.ReactReduxContext=x,e.connect=X,Object.defineProperty(e,"__esModule",{value:!0})});
{
"name": "react-redux",
"version": "6.0.0-beta.3",
"version": "6.0.0",
"description": "Official React bindings for Redux",

@@ -8,8 +8,2 @@ "keywords": [

"reactjs",
"hot",
"reload",
"hmr",
"live",
"edit",
"flux",
"redux"

@@ -50,21 +44,21 @@ ],

"dependencies": {
"@babel/runtime": "^7.1.2",
"hoist-non-react-statics": "^3.0.1",
"@babel/runtime": "^7.2.0",
"hoist-non-react-statics": "^3.2.1",
"invariant": "^2.2.4",
"loose-envify": "^1.1.0",
"loose-envify": "^1.4.0",
"prop-types": "^15.6.2",
"react-is": "^16.6.0"
"react-is": "^16.6.3"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-decorators": "^7.1.2",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-react-display-name": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-decorators": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-react-display-name": "^7.2.0",
"@babel/plugin-transform-react-jsx": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"codecov": "^3.0.2",
"codecov": "^3.1.0",
"create-react-class": "^15.6.3",

@@ -74,24 +68,24 @@ "cross-env": "^5.2.0",

"es3ify": "^0.2.0",
"eslint": "^4.19.1",
"eslint-config-prettier": "^3.1.0",
"eslint": "^5.9.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.9.1",
"glob": "^7.1.1",
"eslint-plugin-react": "^7.11.1",
"glob": "^7.1.3",
"jest": "^23.6.0",
"jest-dom": "^1.12.0",
"jest-dom": "^3.0.0",
"npm-run": "^5.0.1",
"prettier": "1.14.3",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-testing-library": "^5.0.0",
"redux": "^4.0.0",
"prettier": "^1.15.3",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-testing-library": "^5.3.1",
"redux": "^4.0.1",
"rimraf": "^2.6.2",
"rollup": "^0.66.5",
"rollup": "^0.67.4",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-uglify": "^6.0.0",
"semver": "^5.5.0"
"semver": "^5.6.0"
},

@@ -98,0 +92,0 @@ "browserify": {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc