🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

preact-redux

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

preact-redux - npm Package Compare versions

Comparing version

to
2.0.1

2

dist/preact-redux.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('preact'), require('redux')) :
typeof define === 'function' && define.amd ? define(['preact', 'redux'], factory) :
(global.preactRedux = factory(global.preact,global.redux));
(global.preactRedux = factory(global.preact,global.Redux));
}(this, (function (preact,redux) {

@@ -6,0 +6,0 @@

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

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("preact"),require("redux")):"function"==typeof define&&define.amd?define(["preact","redux"],e):t.preactRedux=e(t.preact,t.redux)}(this,function(t,e){function n(){}function r(){var t=[],e=[];return{clear:function(){e=D,t=D},notify:function(){for(var n=t=e,r=0;r<n.length;r++)n[r]()},subscribe:function(n){var r=!0;return e===t&&(e=t.slice()),e.push(n),function(){r&&t!==D&&(r=!1,e===t&&(e=t.slice()),e.splice(e.indexOf(n),1))}}}}function o(e){var n,r,o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=o.getDisplayName,s=void 0===i?function(t){return"ConnectAdvanced("+t+")"}:i,u=o.methodName,p=void 0===u?"connectAdvanced":u,a=o.renderCountProp,c=void 0===a?void 0:a,d=o.shouldHandleStateChanges,f=void 0===d||d,l=o.storeKey,h=void 0===l?"store":l,y=o.withRef,b=void 0!==y&&y,v=x(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),m=h+"Subscription",P=_++,S=(n={},n[h]=R,n[m]=T.instanceOf(U),n),O=(r={},r[m]=T.instanceOf(U),r);return function(n){var r=n.displayName||n.name||"Component",o=s(r),i=E({},v,{getDisplayName:s,methodName:p,renderCountProp:c,shouldHandleStateChanges:f,storeKey:h,withRef:b,displayName:o,wrappedComponentName:r,WrappedComponent:n}),u=function(r){function o(t,e){var n=j(this,r.call(this,t,e));return n.version=P,n.state={},n.renderCount=0,n.store=n.props[h]||n.context[h],n.parentSub=t[m]||e[m],n.setWrappedInstance=n.setWrappedInstance.bind(n),n.getState=n.store.getState.bind(n.store),n.initSelector(),n.initSubscription(),n}return N(o,r),o.prototype.getChildContext=function(){var t;return t={},t[m]=this.subscription||this.parentSub,t},o.prototype.componentDidMount=function(){f&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},o.prototype.componentWillReceiveProps=function(t){this.selector.run(t)},o.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},o.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.store=null,this.parentSub=null,this.selector.run=function(){}},o.prototype.getWrappedInstance=function(){return this.wrappedInstance},o.prototype.setWrappedInstance=function(t){this.wrappedInstance=t},o.prototype.initSelector=function(){var t=this.store.dispatch,n=this.getState,r=e(t,i),o=this.selector={shouldComponentUpdate:!0,props:r(n(),this.props),run:function(t){try{var e=r(n(),t);(o.error||e!==o.props)&&(o.shouldComponentUpdate=!0,o.props=e,o.error=null)}catch(t){o.shouldComponentUpdate=!0,o.error=t}}}},o.prototype.initSubscription=function(){var t=this;f&&!function(){var e=t.subscription=new U(t.store,t.parentSub),n={};e.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=function(){this.componentDidUpdate=void 0,e.notifyNestedSubs()},this.setState(n)):e.notifyNestedSubs()}.bind(t)}()},o.prototype.isSubscribed=function(){return!!this.subscription&&this.subscription.isSubscribed()},o.prototype.addExtraProps=function(t){if(!b&&!c)return t;var e=E({},t);return b&&(e.ref=this.setWrappedInstance),c&&(e[c]=this.renderCount++),e},o.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return t.h(n,this.addExtraProps(e.props))},o}(t.Component);return u.WrappedComponent=n,u.displayName=o,u.childContextTypes=O,u.contextTypes=S,A(u,n)}}function i(t,e){if(t===e)return!0;var n=0,r=0;for(var o in t){if(K.call(t,o)&&t[o]!==e[o])return!1;n++}for(var i in e)K.call(e,i)&&r++;return n===r}function s(t){return function(e,n){function r(){return o}var o=t(e,n);return r.dependsOnOwnProps=!1,r}}function u(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?!!t.dependsOnOwnProps:1!==t.length}function p(t){return function(e,n){var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=u(t),r.mapToProps=function(e,n){r.mapToProps=t;var o=r(e,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=u(o),o=r(e,n)),o},r}}function a(t){return"function"==typeof t?p(t,"mapDispatchToProps"):void 0}function c(t){return t?void 0:s(function(t){return{dispatch:t}})}function d(t){return t&&"object"===(void 0===t?"undefined":q(t))?s(function(n){return e.bindActionCreators(t,n)}):void 0}function f(t){return"function"==typeof t?p(t,"mapStateToProps"):void 0}function l(t){return t?void 0:s(function(){return{}})}function h(t,e,n){return E({},n,t,e)}function y(t){return function(e,n){var r=n.pure,o=n.areMergedPropsEqual,i=!1,s=void 0;return function(e,n,u){var p=t(e,n,u);return i?r&&o(p,s)||(s=p):(i=!0,s=p),s}}}function b(t){return"function"==typeof t?y(t):void 0}function v(t){return t?void 0:function(){return h}}function m(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function P(t,e,n,r,o){function i(o,i){return h=o,y=i,b=t(h,y),v=e(r,y),m=n(b,v,y),l=!0,m}function s(){return b=t(h,y),e.dependsOnOwnProps&&(v=e(r,y)),m=n(b,v,y)}function u(){return t.dependsOnOwnProps&&(b=t(h,y)),e.dependsOnOwnProps&&(v=e(r,y)),m=n(b,v,y)}function p(){var e=t(h,y),r=!f(e,b);return b=e,r&&(m=n(b,v,y)),m}function a(t,e){var n=!d(e,y),r=!c(t,h);return h=t,y=e,n&&r?s():n?u():r?p():m}var c=o.areStatesEqual,d=o.areOwnPropsEqual,f=o.areStatePropsEqual,l=!1,h=void 0,y=void 0,b=void 0,v=void 0,m=void 0;return function(t,e){return l?a(t,e):i(t,e)}}function S(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,i=x(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),s=n(t,i),u=r(t,i),p=o(t,i);return(i.pure?P:m)(s,u,p,t,i)}function O(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw Error("Invalid value of type "+(void 0===t?"undefined":q(t))+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function g(t,e){return t===e}function C(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=t.connectHOC,n=void 0===e?o:e,r=t.mapStateToPropsFactories,s=void 0===r?B:r,u=t.mapDispatchToPropsFactories,p=void 0===u?z:u,a=t.mergePropsFactories,c=void 0===a?G:a,d=t.selectorFactory,f=void 0===d?S:d;return function(t,e,r){var o=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],u=o.pure,a=void 0===u||u,d=o.areStatesEqual,l=void 0===d?g:d,h=o.areOwnPropsEqual,y=void 0===h?i:h,b=o.areStatePropsEqual,v=void 0===b?i:b,m=o.areMergedPropsEqual,P=void 0===m?i:m,S=x(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),C=O(t,s,"mapStateToProps"),w=O(e,p,"mapDispatchToProps"),T=O(r,c,"mergeProps");return n(f,E({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:!!t,initMapStateToProps:C,initMapDispatchToProps:w,initMergeProps:T,pure:a,areStatesEqual:l,areOwnPropsEqual:y,areStatePropsEqual:v,areMergedPropsEqual:P},S))}}var w={only:function(t){return t&&t[0]||null}};n.isRequired=n;var T={element:n,func:n,shape:function(){return n},instanceOf:function(){return n}},q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},N=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},x=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},j=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},D=null,M={notify:function(){}},U=function(){function t(t,e){this.store=t,this.parentSub=e,this.unsubscribe=null,this.listeners=M}return t.prototype.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},t.prototype.notifyNestedSubs=function(){this.listeners.notify()},t.prototype.isSubscribed=function(){return!!this.unsubscribe},t.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=r())},t.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=M)},t}(),R=T.shape({subscribe:T.func.isRequired,dispatch:T.func.isRequired,getState:T.func.isRequired}),W=function(t){function e(e,n){var r=j(this,t.call(this,e,n));return r.store=e.store,r}return N(e,t),e.prototype.getChildContext=function(){return{store:this.store,storeSubscription:null}},e.prototype.render=function(){return w.only(this.props.children)},e}(t.Component);W.childContextTypes={store:R.isRequired,storeSubscription:T.instanceOf(U)},W.displayName="Provider";var I={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},F={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},H="function"==typeof Object.getOwnPropertySymbols,A=function(t,e,n){if("string"!=typeof e){var r=Object.getOwnPropertyNames(e);H&&(r=r.concat(Object.getOwnPropertySymbols(e)));for(var o=0;o<r.length;++o)if(!(I[r[o]]||F[r[o]]||n&&n[r[o]]))try{t[r[o]]=e[r[o]]}catch(t){}}return t},_=0,K=Object.prototype.hasOwnProperty,k=(Object.getPrototypeOf,Object.prototype,Function.prototype.toString),z=(k.call(Object),[a,c,d]),B=[f,l],G=[b,v];return{Provider:W,connect:C(),connectAdvanced:o}});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("preact"),require("redux")):"function"==typeof define&&define.amd?define(["preact","redux"],e):t.preactRedux=e(t.preact,t.Redux)}(this,function(t,e){function n(){}function r(){var t=[],e=[];return{clear:function(){e=D,t=D},notify:function(){for(var n=t=e,r=0;r<n.length;r++)n[r]()},subscribe:function(n){var r=!0;return e===t&&(e=t.slice()),e.push(n),function(){r&&t!==D&&(r=!1,e===t&&(e=t.slice()),e.splice(e.indexOf(n),1))}}}}function o(e){var n,r,o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=o.getDisplayName,s=void 0===i?function(t){return"ConnectAdvanced("+t+")"}:i,u=o.methodName,p=void 0===u?"connectAdvanced":u,a=o.renderCountProp,c=void 0===a?void 0:a,d=o.shouldHandleStateChanges,f=void 0===d||d,l=o.storeKey,h=void 0===l?"store":l,y=o.withRef,b=void 0!==y&&y,v=x(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),m=h+"Subscription",P=_++,S=(n={},n[h]=R,n[m]=T.instanceOf(U),n),O=(r={},r[m]=T.instanceOf(U),r);return function(n){var r=n.displayName||n.name||"Component",o=s(r),i=E({},v,{getDisplayName:s,methodName:p,renderCountProp:c,shouldHandleStateChanges:f,storeKey:h,withRef:b,displayName:o,wrappedComponentName:r,WrappedComponent:n}),u=function(r){function o(t,e){var n=j(this,r.call(this,t,e));return n.version=P,n.state={},n.renderCount=0,n.store=n.props[h]||n.context[h],n.parentSub=t[m]||e[m],n.setWrappedInstance=n.setWrappedInstance.bind(n),n.getState=n.store.getState.bind(n.store),n.initSelector(),n.initSubscription(),n}return N(o,r),o.prototype.getChildContext=function(){var t;return t={},t[m]=this.subscription||this.parentSub,t},o.prototype.componentDidMount=function(){f&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},o.prototype.componentWillReceiveProps=function(t){this.selector.run(t)},o.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},o.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.store=null,this.parentSub=null,this.selector.run=function(){}},o.prototype.getWrappedInstance=function(){return this.wrappedInstance},o.prototype.setWrappedInstance=function(t){this.wrappedInstance=t},o.prototype.initSelector=function(){var t=this.store.dispatch,n=this.getState,r=e(t,i),o=this.selector={shouldComponentUpdate:!0,props:r(n(),this.props),run:function(t){try{var e=r(n(),t);(o.error||e!==o.props)&&(o.shouldComponentUpdate=!0,o.props=e,o.error=null)}catch(t){o.shouldComponentUpdate=!0,o.error=t}}}},o.prototype.initSubscription=function(){var t=this;f&&!function(){var e=t.subscription=new U(t.store,t.parentSub),n={};e.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=function(){this.componentDidUpdate=void 0,e.notifyNestedSubs()},this.setState(n)):e.notifyNestedSubs()}.bind(t)}()},o.prototype.isSubscribed=function(){return!!this.subscription&&this.subscription.isSubscribed()},o.prototype.addExtraProps=function(t){if(!b&&!c)return t;var e=E({},t);return b&&(e.ref=this.setWrappedInstance),c&&(e[c]=this.renderCount++),e},o.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return t.h(n,this.addExtraProps(e.props))},o}(t.Component);return u.WrappedComponent=n,u.displayName=o,u.childContextTypes=O,u.contextTypes=S,A(u,n)}}function i(t,e){if(t===e)return!0;var n=0,r=0;for(var o in t){if(K.call(t,o)&&t[o]!==e[o])return!1;n++}for(var i in e)K.call(e,i)&&r++;return n===r}function s(t){return function(e,n){function r(){return o}var o=t(e,n);return r.dependsOnOwnProps=!1,r}}function u(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?!!t.dependsOnOwnProps:1!==t.length}function p(t){return function(e,n){var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=u(t),r.mapToProps=function(e,n){r.mapToProps=t;var o=r(e,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=u(o),o=r(e,n)),o},r}}function a(t){return"function"==typeof t?p(t,"mapDispatchToProps"):void 0}function c(t){return t?void 0:s(function(t){return{dispatch:t}})}function d(t){return t&&"object"===(void 0===t?"undefined":q(t))?s(function(n){return e.bindActionCreators(t,n)}):void 0}function f(t){return"function"==typeof t?p(t,"mapStateToProps"):void 0}function l(t){return t?void 0:s(function(){return{}})}function h(t,e,n){return E({},n,t,e)}function y(t){return function(e,n){var r=n.pure,o=n.areMergedPropsEqual,i=!1,s=void 0;return function(e,n,u){var p=t(e,n,u);return i?r&&o(p,s)||(s=p):(i=!0,s=p),s}}}function b(t){return"function"==typeof t?y(t):void 0}function v(t){return t?void 0:function(){return h}}function m(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function P(t,e,n,r,o){function i(o,i){return h=o,y=i,b=t(h,y),v=e(r,y),m=n(b,v,y),l=!0,m}function s(){return b=t(h,y),e.dependsOnOwnProps&&(v=e(r,y)),m=n(b,v,y)}function u(){return t.dependsOnOwnProps&&(b=t(h,y)),e.dependsOnOwnProps&&(v=e(r,y)),m=n(b,v,y)}function p(){var e=t(h,y),r=!f(e,b);return b=e,r&&(m=n(b,v,y)),m}function a(t,e){var n=!d(e,y),r=!c(t,h);return h=t,y=e,n&&r?s():n?u():r?p():m}var c=o.areStatesEqual,d=o.areOwnPropsEqual,f=o.areStatePropsEqual,l=!1,h=void 0,y=void 0,b=void 0,v=void 0,m=void 0;return function(t,e){return l?a(t,e):i(t,e)}}function S(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,i=x(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),s=n(t,i),u=r(t,i),p=o(t,i);return(i.pure?P:m)(s,u,p,t,i)}function O(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw Error("Invalid value of type "+(void 0===t?"undefined":q(t))+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function g(t,e){return t===e}function C(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=t.connectHOC,n=void 0===e?o:e,r=t.mapStateToPropsFactories,s=void 0===r?B:r,u=t.mapDispatchToPropsFactories,p=void 0===u?z:u,a=t.mergePropsFactories,c=void 0===a?G:a,d=t.selectorFactory,f=void 0===d?S:d;return function(t,e,r){var o=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],u=o.pure,a=void 0===u||u,d=o.areStatesEqual,l=void 0===d?g:d,h=o.areOwnPropsEqual,y=void 0===h?i:h,b=o.areStatePropsEqual,v=void 0===b?i:b,m=o.areMergedPropsEqual,P=void 0===m?i:m,S=x(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),C=O(t,s,"mapStateToProps"),w=O(e,p,"mapDispatchToProps"),T=O(r,c,"mergeProps");return n(f,E({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:!!t,initMapStateToProps:C,initMapDispatchToProps:w,initMergeProps:T,pure:a,areStatesEqual:l,areOwnPropsEqual:y,areStatePropsEqual:v,areMergedPropsEqual:P},S))}}var w={only:function(t){return t&&t[0]||null}};n.isRequired=n;var T={element:n,func:n,shape:function(){return n},instanceOf:function(){return n}},q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},N=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},x=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},j=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},D=null,M={notify:function(){}},U=function(){function t(t,e){this.store=t,this.parentSub=e,this.unsubscribe=null,this.listeners=M}return t.prototype.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},t.prototype.notifyNestedSubs=function(){this.listeners.notify()},t.prototype.isSubscribed=function(){return!!this.unsubscribe},t.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=r())},t.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=M)},t}(),R=T.shape({subscribe:T.func.isRequired,dispatch:T.func.isRequired,getState:T.func.isRequired}),W=function(t){function e(e,n){var r=j(this,t.call(this,e,n));return r.store=e.store,r}return N(e,t),e.prototype.getChildContext=function(){return{store:this.store,storeSubscription:null}},e.prototype.render=function(){return w.only(this.props.children)},e}(t.Component);W.childContextTypes={store:R.isRequired,storeSubscription:T.instanceOf(U)},W.displayName="Provider";var I={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},F={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},H="function"==typeof Object.getOwnPropertySymbols,A=function(t,e,n){if("string"!=typeof e){var r=Object.getOwnPropertyNames(e);H&&(r=r.concat(Object.getOwnPropertySymbols(e)));for(var o=0;o<r.length;++o)if(!(I[r[o]]||F[r[o]]||n&&n[r[o]]))try{t[r[o]]=e[r[o]]}catch(t){}}return t},_=0,K=Object.prototype.hasOwnProperty,k=(Object.getPrototypeOf,Object.prototype,Function.prototype.toString),z=(k.call(Object),[a,c,d]),B=[f,l],G=[b,v];return{Provider:W,connect:C(),connectAdvanced:o}});
//# sourceMappingURL=preact-redux.min.js.map
{
"name": "preact-redux",
"amdName": "preactRedux",
"version": "2.0.0",
"version": "2.0.1",
"description": "Wraps react-redux up for Preact, without preact-compat",

@@ -6,0 +6,0 @@ "main": "dist/preact-redux.js",

@@ -25,5 +25,5 @@ import fs from 'fs';

globals: {
preact: 'preact',
redux: 'redux'
},
preact: 'preact',
redux: 'Redux'
},
targets: [

@@ -30,0 +30,0 @@ {