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

redux-state-branch

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-state-branch - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

2

dist/index.d.ts

@@ -49,3 +49,3 @@ export declare const makeType: (prefix: string, suffix?: string | undefined) => string;

type: string;
items: any;
items: any[];
};

@@ -52,0 +52,0 @@ update(items: ItemsT<T>, devToolsSuffix?: string): {

@@ -61,3 +61,3 @@ "use strict";

var _this = this;
var newCreateItems = exports.ensureArray(items || {}).reduce(function (acc, item) {
var newCreateItems = exports.ensureArray(items || {}).map(function (item) {
if (item.id === undefined) {

@@ -68,5 +68,4 @@ item.id = "-" + Math.random()

}
acc[item.id] = __assign({}, _this.defaultItem, item);
return acc;
}, {});
return __assign({}, _this.defaultItem, item);
});
return {

@@ -73,0 +72,0 @@ type: exports.makeType(this.constant.CREATE, devToolsSuffix),

{
"name": "redux-state-branch",
"version": "0.0.18",
"version": "0.0.19",
"private": false,

@@ -5,0 +5,0 @@ "description": "A redux wrapper for sane people.",

Sorry, the diff of this file is not supported yet

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