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

decorated-redux

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decorated-redux - npm Package Compare versions

Comparing version

to
0.1.2

6

index.js

@@ -56,4 +56,5 @@ "use strict";

var key = Array.isArray(path) ? path[0] : path;
var cloned = clone(object);
cloned[path[0]] = newValue;
cloned[key] = newValue;

@@ -68,6 +69,7 @@ return cloned;

var key = Array.isArray(path) ? path[0] : path;
var cloned = clone(object);
delete cloned[path[0]];
delete cloned[key];
return cloned;
}
{
"name": "decorated-redux",
"version": "0.1.1",
"version": "0.1.2",
"description": "",
"main": "./index.js",
"scripts": {
"prepublisha": "babel --out-dir . src --presets es2015",
"prepublish": "babel --out-dir . src --presets es2015",
"watch": "babel --out-dir . src --presets es2015 --watch",
"test": "cd test && tsc && mocha specs"

@@ -9,0 +10,0 @@ },

@@ -44,4 +44,5 @@ export function createActions(ActionDefinitions) {

const key = Array.isArray(path) ? path[0] : path;
const cloned = clone(object);
cloned[path[0]] = newValue;
cloned[key] = newValue;

@@ -56,6 +57,7 @@ return cloned;

const key = Array.isArray(path) ? path[0] : path;
const cloned = clone(object);
delete cloned[path[0]];
delete cloned[key];
return cloned;
}