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

redux-dryer

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-dryer - npm Package Compare versions

Comparing version 0.1.9 to 0.2.0

2

dist/generate-reducer.js

@@ -30,3 +30,3 @@ 'use strict';

var action = arguments[1];
return (0, _includes2.default)(actionsTypes, action.type) ? (0, _merge2.default)(state,
return (0, _includes2.default)(actionsTypes, action.type) ? (0, _merge2.default)({}, state,
// if the payload is a function we'll inject state into it

@@ -33,0 +33,0 @@ typeof action.payload === 'function' ? action.payload(state) : action.payload) : state;

{
"name": "redux-dryer",
"version": "0.1.9",
"version": "0.2.0",
"description": "Redux utilities to keep your reducers small and DRY",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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