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

tslang

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslang - npm Package Compare versions

Comparing version 0.1.25 to 0.1.26

4

library/assertion.d.ts

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

export type AssertTrue<T extends true> = any;
export type AssertTrue<_T extends true> = any;
export type AssertFalse<T extends false> = any;
export type AssertFalse<_T extends false> = any;
import {IsEqual} from './comparison';
import {PlainObject, Primitive} from './types';
import {PlainObject} from './types';

@@ -269,12 +269,8 @@ // Extract keys

export type OptionalizeUndefinedDeep<T> = T extends PlainObject
? {
[K in KeyOfValueContainingType<T, undefined>]?: OptionalizeUndefinedDeep<
T[K]
>;
} & {
[K in KeyOfValueNotContainingType<
T,
undefined
>]: OptionalizeUndefinedDeep<T[K]>;
}
? PartialByKey<
{
[K in keyof T]: OptionalizeUndefinedDeep<T[K]>;
},
KeyOfValueContainingType<T, undefined>
>
: T;

@@ -281,0 +277,0 @@

{
"name": "tslang",
"version": "0.1.25",
"version": "0.1.26",
"description": "TypeScript Language Type Utilities.",

@@ -20,9 +20,9 @@ "license": "MIT",

"devDependencies": {
"@mufan/code": "^0.2.9",
"@mufan/eslint-plugin": "^0.1.42",
"eslint": "^7.32.0",
"@mufan/code": "^0.2.10",
"@mufan/eslint-plugin": "^0.1.48",
"eslint": "^8.3.0",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"typescript": "^4.4.4"
"typescript": "^4.5.2"
}
}
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