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

immer-reducer

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immer-reducer - npm Package Compare versions

Comparing version 0.7.7 to 0.7.8

6

lib/immer-reducer.js

@@ -171,3 +171,7 @@ "use strict";

function getReducerName(klass) {
return klass.customName || klass.name;
var name = klass.customName || klass.name;
if (!name) {
throw new Error("immer-reducer failed to get reducer name for a class. Try adding 'static customName = \"name\"'");
}
return name;
}

@@ -174,0 +178,0 @@ function createReducerFunction(immerReducerClass, initialState) {

4

package.json
{
"name": "immer-reducer",
"version": "0.7.7",
"version": "0.7.8",
"description": "",

@@ -42,4 +42,4 @@ "main": "lib/immer-reducer.js",

"dependencies": {
"immer": "^1.4.0 || ^2.0.0 || ^3.0.0"
"immer": "^1.4.0 || ^2.0.0 || ^3.0.0 || ^4.0.0"
}
}

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