Socket
Socket
Sign inDemoInstall

immer

Package Overview
Dependencies
Maintainers
2
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immer - npm Package Compare versions

Comparing version 1.10.1 to 1.10.2

10

dist/immer.d.ts

@@ -99,3 +99,6 @@ /** Object types that should never be mapped */

defaultBase: Default
): (base: Base | undefined, ...rest: Rest) => Produced<Base, Return>
): <T>(
base: (Draft<T> extends Draft<Base> ? T : Base) | undefined,
...rest: Rest
) => Produced<Base, Return>

@@ -105,3 +108,6 @@ /** Curried producer with no default value */

recipe: (this: Draft<Base>, draft: Draft<Base>, ...rest: Rest) => Return
): (base: Base, ...rest: Rest) => Produced<Base, Return>
): <T>(
base: Draft<T> extends Draft<Base> ? T : Base,
...rest: Rest
) => Produced<Base, Return>
}

@@ -108,0 +114,0 @@

2

package.json
{
"name": "immer",
"version": "1.10.1",
"version": "1.10.2",
"description": "Create your next immutable state by mutating the current one",

@@ -5,0 +5,0 @@ "main": "dist/immer.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