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

redux-subspace

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-subspace - npm Package Compare versions

Comparing version 6.0.0 to 6.1.0

4

es/index.js

@@ -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 @@ }

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