Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 0.1.1 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;
}
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