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

ts-gems

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-gems - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

22

lib/deep-modify.d.ts

@@ -10,3 +10,3 @@ import {Builtin} from './common';

type _DeepPartial<T> =
T extends Builtin ? T
T extends Builtin ? Exclude<T, undefined>
: T extends Promise<infer U> ? Promise<DeepPartial<U>>

@@ -21,3 +21,3 @@ : T extends Map<infer K, infer V> ? Map<K, DeepPartial<V>>

: T extends (infer U)[] ? DeepPartial<U>[]
: { [P in keyof T]?: DeepPartial<Exclude<T[P], undefined>> };
: { [P in keyof T]?: DeepPartial<T[P]> };

@@ -29,3 +29,3 @@ /**

type _DeepBuildable<T> =
T extends Builtin ? T
T extends Builtin ? Exclude<T, undefined>
: T extends Promise<infer U> ? Promise<DeepBuildable<U>>

@@ -40,3 +40,3 @@ : T extends Map<infer K, infer V> ? Map<K, DeepBuildable<V>>

: T extends (infer U)[] ? DeepBuildable<U>[]
: { -readonly [P in keyof T]?: DeepBuildable<Exclude<T[P], undefined>> };
: { -readonly [P in keyof T]?: DeepBuildable<T[P]> };

@@ -48,3 +48,3 @@ /**

type _DeepRequired<T> =
T extends Builtin ? T
T extends Builtin ? Exclude<T, undefined>
: T extends Promise<infer U> ? Promise<DeepRequired<U>>

@@ -59,3 +59,3 @@ : T extends Map<infer K, infer V> ? Map<K, DeepRequired<V>>

: T extends (infer U)[] ? DeepRequired<U>[]
: { [P in keyof T]-?: DeepRequired<Exclude<T[P], undefined>> };
: { [P in keyof T]-?: DeepRequired<T[P]> };

@@ -68,3 +68,3 @@

type _DeepReadonly<T> =
T extends Builtin ? T
T extends Builtin ? Exclude<T, undefined>
: T extends Promise<infer U> ? Promise<DeepReadonly<U>>

@@ -79,3 +79,3 @@ : T extends Map<infer K, infer V> ? Map<K, DeepReadonly<V>>

: T extends (infer U)[] ? DeepReadonly<U>[]
: { readonly [P in keyof T]: DeepReadonly<Exclude<T[P], undefined>> };
: { readonly [P in keyof T]: DeepReadonly<T[P]> };

@@ -87,3 +87,3 @@ /**

type _DeepWritable<T> =
T extends Builtin ? T
T extends Builtin ? Exclude<T, undefined>
: T extends Promise<infer U> ? Promise<DeepWritable<U>>

@@ -98,3 +98,3 @@ : T extends Map<infer K, infer V> ? Map<K, DeepWritable<V>>

: T extends (infer U)[] ? DeepWritable<U>[]
: { -readonly [P in keyof T]: DeepWritable<Exclude<T[P], undefined>> };
: { -readonly [P in keyof T]: DeepWritable<T[P]> };

@@ -116,2 +116,2 @@ /**

: T extends (infer U)[] ? DeepNullish<U>[] | null | undefined
: { [P in keyof T]: DeepNullish<T[P]>| null | undefined };
: { [P in keyof T]: DeepNullish<T[P]> | null | undefined };

@@ -15,3 +15,3 @@ {

],
"version": "1.2.0",
"version": "1.3.0",
"types": "lib/index.d.ts",

@@ -18,0 +18,0 @@ "repository": "git@github.com:panates/ts-gems.git",

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