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 2.9.0 to 2.9.1

10

lib/deep-remove-nulls.d.ts

@@ -0,3 +1,3 @@

import { DeepOmitNever, HighDeepOmitNever } from './deep-omit.js';
import { IfNoDeepValue } from './helpers.js';
import { OmitNever } from './omit.js';

@@ -7,6 +7,6 @@ /**

*/
export type DeepRemoveNulls<T> = _DeepRemoveNulls<T>;
export type DeepRemoveNulls<T> = DeepOmitNever<_DeepRemoveNulls<T>>;
type _DeepRemoveNulls<T> =
IfNoDeepValue<T> extends true ? T
: OmitNever<{ [P in keyof T]: _DeepRemoveNulls<Exclude<T[P], null>> }>;
: { [P in keyof T]: _DeepRemoveNulls<Exclude<T[P], null>> };

@@ -17,6 +17,6 @@

*/
export type HighDeepRemoveNulls<T> = _HighDeepRemoveNulls<T>;
export type HighDeepRemoveNulls<T> = HighDeepOmitNever<_HighDeepRemoveNulls<T>>;
type _HighDeepRemoveNulls<T> =
T extends (infer U)[] ? _HighDeepRemoveNulls<U>[]
: IfNoDeepValue<T> extends true ? T
: OmitNever<{ [P in keyof T]: _HighDeepRemoveNulls<Exclude<T[P], null>> }>;
: { [P in keyof T]: _HighDeepRemoveNulls<Exclude<T[P], null>> };

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

],
"version": "2.9.0",
"version": "2.9.1",
"types": "lib/index.d.ts",

@@ -18,0 +18,0 @@ "main": "lib/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