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

ts-type

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-type - npm Package Compare versions

Comparing version 1.2.9 to 1.2.10

lib/helper/record.d.ts

15

lib/helper/filter.d.ts

@@ -5,2 +5,10 @@ /**

import { ITSPropertyKey } from '..';
/**
* Exclude from T those types that are assignable to U, and replace to R
*/
export declare type ITSExclude2<T, U, R = T> = T extends U ? never : R;
/**
* Extract from T those types that are assignable to U, and replace to R
*/
export declare type ITSExtract2<T, U, R = T> = T extends U ? R : never;
export declare type ITSExtractRecord<M, T, K extends keyof M = keyof M> = {

@@ -13,2 +21,9 @@ [P in K]: Extract<M[P], T>;

export declare type ITSExtractKeyofRecord<M, T> = keyof ITSExtractRecord<M, T>;
export declare type ITSExcludeRecord<M, T, K extends keyof M = keyof M> = {
[P in K]: Exclude<M[P], T>;
};
export declare type ITSExcludeRecordNoNull<M, T, K extends keyof M = keyof M> = {
[P in K]: NonNullable<M[P]>;
};
export declare type ITSExcludeKeyofRecord<M, T> = keyof ITSExcludeRecord<M, T>;
/**

@@ -15,0 +30,0 @@ * filter all member is function and key type is string or symbol

2

lib/helper/filter.js

@@ -6,2 +6,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZmlsdGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTs7R0FFRyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ3JlYXRlZCBieSB1c2VyIG9uIDIwMTkvNi84LlxuICovXG5cbmltcG9ydCB7IElUU1Byb3BlcnR5S2V5IH0gZnJvbSAnLi4nO1xuXG5leHBvcnQgdHlwZSBJ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vcnQgdHlwZSBJVFNLZXlvZlNhbWU8VCwgVT4gPSBFeHRyYWN0PGtleW9mIFQsIGtleW9mIFU+O1xuLyoqXG4gKiDmib7lh7ogVCDnlbbkuK0g6IiHIFUg5LiN5ZCM55qEIGtleVxuICovXG5leHBvcnQgdHlwZSBJVFNLZXlvZkRpZmY8VCwgVT4gPSBFeGNsdWRlPGtleW9mIFQsIElUU0tleW9mU2FtZTxULCBVPj47XG5cbi8qKlxuICog5om+5Ye6IFQg6IiHIFUg55W25Lit5ZCM5pmC5a2Y5Zyo55qEIGtleVxuICovXG5leHBvcnQgdHlwZSBJVFNLZXlvZkJvdGhTYW1lPFQsIFU+ID0gSVRTS2V5b2ZTYW1lPFQsIFU+IHwgSVRTS2V5b2ZTYW1lPFUsIFQ+O1xuXG4vKipcbiAqIOWOu+mZpCBUIOiIhyBVIOeVtuS4reWQjOaZguWtmOWcqOeahCBrZXlcbiAqL1xuZXhwb3J0IHR5cGUgSVRTS2V5b2ZCb3RoRGlmZjxULCBVPiA9IElUU0tleW9mRGlmZjxULCBVPiB8IElUU0tleW9mRGlmZjxVLCBUPjtcblxuXG4iXX0=

@@ -8,2 +8,3 @@ export * from './generic';

export * from './helper/readonly';
export * from './helper/record';
export * from './helper/typeof';

@@ -10,0 +11,0 @@ export * from './helper/unpacked';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9nZW5lcmljJztcbmV4cG9ydCAqIGZyb20gJy4vaGVscGVyJztcbmV4cG9ydCAqIGZyb20gJy4vaGVscGVyL2ZpbHRlcic7XG5leHBvcnQgKiBmcm9tICcuL2hlbHBlci9pbmZlcic7XG5leHBvcnQ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ZWxwZXIvdW5wYWNrZWQnO1xuZXhwb3J0ICogZnJvbSAnLi90eXBlL2Jhc2UnO1xuZXhwb3J0ICogZnJvbSAnLi90eXBlL2JsdWViaXJkJztcbmV4cG9ydCAqIGZyb20gJy4vdHlwZS9kZWNvcmF0b3JzJztcbmV4cG9ydCAqIGZyb20gJy4vdHlwZS9wcm9taXNlJztcbmV4cG9ydCAqIGZyb20gJy4vdHlwZS9wcm94eSc7XG5leHBvcnQgKiBmcm9tICcuL3R5cGUvcmVjb3JkJztcbiJdfQ==

@@ -5,2 +5,3 @@ /**

import { ITSKeyofSame, ITSKeyofDiff, ITSKeyofBothSame, ITSKeyofBothDiff } from '../helper/filter';
import { ITSKeyOfRecordExcludeToKey, ITSKeyOfRecordExtractToKey } from '..';
/**

@@ -61,2 +62,6 @@ * @deprecated

export declare type ITSPickExtra<T, RK extends keyof T, PK extends Exclude<keyof T, RK> = Exclude<keyof T, RK>> = ITSRequiredPick<T, RK> & ITSPartialPick<T, PK>;
/**
* clone a type and mark all RK is Required, PK is Partial
*/
export declare type ITSPickExtra2<T, PK extends keyof T, RK extends Exclude<keyof T, PK> = Exclude<keyof T, PK>> = ITSRequiredPick<T, RK> & ITSPartialPick<T, PK>;
export declare type ITSRequiredWith<T, K extends keyof T> = Omit<T, K> & ITSRequiredPick<T, K>;

@@ -82,1 +87,3 @@ export declare type ITSPartialWith<T, K extends keyof T> = Omit<T, K> & ITSPartialPick<T, K>;

};
export declare type ITSPickRecordType<Base, Type> = Pick<Base, ITSKeyOfRecordExtractToKey<Base, Type>>;
export declare type ITSOmitRecordType<Base, Type> = Pick<Base, ITSKeyOfRecordExcludeToKey<Base, Type>>;

@@ -6,2 +6,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjb3JkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicmVjb3JkLnRzIl0sIm5hbWV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wZT4+O1xuXG5leHBvcnQgdHlwZSBJVFNPbWl0UmVjb3JkVHlwZTxCYXNlLCBUeXBlPiA9IFBpY2s8QmFzZSwgIElUU0tleU9mUmVjb3JkRXhjbHVkZVRvS2V5PEJhc2UsIFR5cGU+PjtcbiJdfQ==
{
"name": "ts-type",
"version": "1.2.9",
"version": "1.2.10",
"description": "add some typescript type and re-export some build-in typescript type",

@@ -55,6 +55,7 @@ "keywords": [

"dependencies": {
"ts-toolbelt": "^6.0.1",
"typedarray-dts": "^1.0.0"
},
"devDependencies": {
"@bluelovers/tsconfig": "^1.0.8",
"@bluelovers/tsconfig": "^1.0.13",
"@types/bluebird": "*",

@@ -67,3 +68,3 @@ "@types/node": "*"

},
"gitHead": "cfb094f3fd1e71f166bdc44d1d844ae8c8395f2e"
"gitHead": "591287db825f9b4f086b73d824c7987fd7a05c39"
}

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