redux-subspace
Advanced tools
Comparing version 6.0.0 to 6.1.0
@@ -379,3 +379,3 @@ import { compose } from 'redux'; | ||
var createSubspace = function createSubspace(store, enhancer) { | ||
if (typeof enhancer !== 'undefined') { | ||
if (enhancer !== undefined) { | ||
return enhancer(createSubspace)(store); | ||
@@ -456,3 +456,3 @@ } | ||
return function (state, action) { | ||
if (typeof state === 'undefined') { | ||
if (state === undefined) { | ||
return reducer(state, action); | ||
@@ -459,0 +459,0 @@ } |
@@ -383,3 +383,3 @@ 'use strict'; | ||
var createSubspace = function createSubspace(store, enhancer) { | ||
if (typeof enhancer !== 'undefined') { | ||
if (enhancer !== undefined) { | ||
return enhancer(createSubspace)(store); | ||
@@ -460,3 +460,3 @@ } | ||
return function (state, action) { | ||
if (typeof state === 'undefined') { | ||
if (state === undefined) { | ||
return reducer(state, action); | ||
@@ -463,0 +463,0 @@ } |
{ | ||
"name": "redux-subspace", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"description": "Create isolated subspaces of a Redux store", | ||
@@ -37,7 +37,7 @@ "author": "Michael Peyper", | ||
"devDependencies": { | ||
"@babel/core": "7.6.0", | ||
"@babel/plugin-proposal-object-rest-spread": "7.5.5", | ||
"@babel/core": "7.6.2", | ||
"@babel/plugin-proposal-object-rest-spread": "7.6.2", | ||
"@babel/plugin-transform-modules-commonjs": "7.6.0", | ||
"@babel/preset-env": "7.6.0", | ||
"@babel/register": "7.6.0", | ||
"@babel/preset-env": "7.6.2", | ||
"@babel/register": "7.6.2", | ||
"babel-eslint": "10.0.3", | ||
@@ -58,3 +58,3 @@ "babel-plugin-annotate-pure-calls": "0.4.0", | ||
"rollup-plugin-babel": "4.3.3", | ||
"sinon": "7.4.2", | ||
"sinon": "7.5.0", | ||
"sinon-chai": "3.3.0", | ||
@@ -72,3 +72,3 @@ "typescript": "3.6.3", | ||
}, | ||
"gitHead": "9d8f1bc24841ce967e446b1c474e6031d58e3cbe" | ||
"gitHead": "93d779bc1fdcfac16608ec7c2a918566560f505c" | ||
} |
@@ -14,3 +14,3 @@ /** | ||
return (reducer) => (state, action) => { | ||
if (typeof state === 'undefined') { | ||
if (state === undefined) { | ||
return reducer(state, action) | ||
@@ -17,0 +17,0 @@ } |
@@ -52,3 +52,3 @@ /** | ||
if (typeof enhancer !== 'undefined') { | ||
if (enhancer !== undefined) { | ||
return enhancer(createSubspace)(store) | ||
@@ -55,0 +55,0 @@ } |
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
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
57050