New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

immutable-lens

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immutable-lens - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

2

lib/Lens.d.ts

@@ -1,2 +0,2 @@

export declare type PlainObject<T> = T extends any[] ? never : T extends (...args: any[]) => any ? never : T extends object ? T : never;
export declare type PlainObject<T = object> = T extends any[] ? never : T extends (...args: any[]) => any ? never : T extends object ? T : never;
export declare type Updater<T> = (value: T) => T;

@@ -3,0 +3,0 @@ export declare type FieldValues<T> = Partial<PlainObject<T>>;

{
"name": "immutable-lens",
"version": "0.4.0",
"version": "0.4.1",
"description": "Type-safe Lens API for immutable updates in complex data structures",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,2 +0,2 @@

export type PlainObject<T> = T extends any[]
export type PlainObject<T = object> = T extends any[]
? never

@@ -3,0 +3,0 @@ : T extends (...args: any[]) => any ? never : T extends object ? T : never

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