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.7 to 1.2.8

lib/helper/key-value.d.ts

32

index.d.ts

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

import { ITSMapLike, ITSTypeFunction } from './lib';
export * from './lib';

@@ -7,32 +6,1 @@ export * from 'typedarray-dts';

export default ITSType;
/**
* Same property names, but make the value a promise instead of a concrete one
* @see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-1.html
*/
export declare type ITSDeferred<T> = {
[P in keyof T]: Promise<T[P]>;
};
/**
* Wrap proxies around properties of T
* @see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-1.html
*/
export declare type ITSProxify<T> = {
[P in keyof T]: {
get(): T[P];
set(v: T[P]): void;
};
};
export declare type ITSAnyFunction = ITSTypeFunction<any>;
export declare type ITSOverwriteThisFunction<T extends any, F extends (...args: any[]) => any> = (this: T, ...args: Parameters<F>) => ReturnType<F>;
export declare type ITSUnpackedThisFunction<T extends (...args: any[]) => any> = T extends (this: infer R, ...args: any[]) => any ? R : unknown;
/**
* https://stackoverflow.com/questions/49285864/is-there-a-valueof-similar-to-keyof-in-typescript
*/
export declare type ITSValueOf<T> = T[keyof T];
export declare type ITSKeyOf<T> = keyof T;
export declare type ITSPickValueOf<T, K extends keyof T> = ITSValueOf<Pick<T, K>>;
export declare type ITSValueOfIterator<T extends ITSIteratorLazy<any>> = (T extends Iterator<infer U> ? U : T extends IteratorResult<infer U> ? U : any)[];
export declare type ITSValueOfMap<T extends ITSMapLike<any, any>> = T extends ITSMapLike<any, infer U> ? U[] : any[];
export declare type ITSIteratorLazy<T extends Iterator<any> | IteratorResult<any>> = T extends IteratorResult<infer U> ? IteratorResult<U> : T extends Iterator<infer U> ? Iterator<U> : T;
export declare type ITSTypeOfArrayLike<T extends any[]> = T extends (infer U)[] ? U : T extends ArrayLike<infer U> ? U : any;
export declare type ITSTypeOfIterator<T extends ITSIteratorLazy<any>> = T extends Iterator<infer U> ? U : T extends IteratorResult<infer U> ? U : any;

2

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

@@ -14,1 +14,5 @@ /**

export declare type ITSParameterDecorator = (target: object, propertyKey: string | symbol, parameterIndex: number) => void;
/**
* Exclude null and undefined from T
*/
export declare type ITSNonNullable<T> = T extends null | undefined ? never : T;

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

Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiX2J1aWxkLWluLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiX2J1aWxkLWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTs7O0dBR0ciLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIHJlLWV4cG9ydCBidWlsZC1pbiB0eXBlXG4gKiBmb3Igc29tZSB0aW1lIGlkZSBpcyBzdHVwaWQgY2FuJ3QgZm91bmQgdHlwZXNcbiAqL1xuXG5leHBvcnQgdHlwZSBJVFNQYXJhbWV0ZXJzPFQgZXh0ZW5kcyAoLi4uYXJnczogYW55W10pID0+IGFueT4gPSBQYXJhbWV0ZXJzPFQ+XG5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WV0aG9kRGVjb3JhdG9yID0gPFQ+KHRhcmdldDogb2JqZWN0LCBwcm9wZXJ0eUtleTogc3RyaW5nIHwgc3ltYm9sLCBkZXNjcmlwdG9yOiBUeXBlZFByb3BlcnR5RGVzY3JpcHRvcjxUPikgPT4gVHlwZWRQcm9wZXJ0eURlc2NyaXB0b3I8VD4gfCB2b2lkO1xuZXhwb3J0IHR5cGUgSVRTUGFyYW1ldGVyRGVjb3JhdG9yID0gKHRhcmdldDogb2JqZWN0LCBwcm9wZXJ0eUtleTogc3RyaW5nIHwgc3ltYm9sLCBwYXJhbWV0ZXJJbmRleDogbnVtYmVyKSA9PiB2b2lkO1xuXG4vKipcbiAqIEV4Y2x1ZGUgbnVsbCBhbmQgdW5kZWZpbmVkIGZyb20gVFxuICovXG5leHBvcnQgdHlwZSBJVFNOb25OdWxsYWJsZTxUPiA9IFQgZXh0ZW5kcyBudWxsIHwgdW5kZWZpbmVkID8gbmV2ZXIgOiBUO1xuIl19
import { ITSArrayListMaybeReadonly } from './type/base';
import { ITSUnpackedReturnType } from './helper/unpacked';
/**
* @see https://stackoverflow.com/questions/49198713/override-the-properties-of-an-interface-in-typescript
*/
export declare type ITSPickMember<T, K extends keyof T> = T[K];
/**
* @deprecated
*/
export declare type ITSDiff<T extends keyof any, U extends keyof any> = ({
[P in T]: P;
} & {
[P in U]: never;
} & {
[x: string]: never;
})[T];
/**
* exclude all key in K at T
*/
export declare type ITSPickNot<T, K extends keyof T> = Omit<T, K>;
/**
* @see https://stackoverflow.com/questions/49198713/override-the-properties-of-an-interface-in-typescript
*
* @example
* export interface A1 { s: string;}
* export declare type A2 = ITSOverwrite<A1, { s: number; }>;
* export declare let a2: A2;
*/
export declare type ITSOverwrite<T, U> = Omit<T, keyof U> & U;
/**
* copy current function with Parameters and return to new value

@@ -43,34 +16,7 @@ *

export declare type ITSWrapFunctionPromise<T extends (...args: any[]) => any> = (...args: Parameters<T>) => Promise<ITSUnpackedReturnType<T>>;
export declare type ITSExtendsOf<T, P> = T extends P ? T : never;
/**
* @deprecated
*/
export declare type ITSExtendsOf<T, U> = Extract<T, U>;
export declare type ITSKeyOfArray<T extends ITSArrayListMaybeReadonly<any>> = Exclude<keyof T, symbol | string>;
export declare type ITSValueOfArray<T extends ITSArrayListMaybeReadonly<any>> = T[ITSKeyOfArray<T>];
/**
* pick K and mark as Required
*/
export declare type ITSRequiredPick<T, K extends keyof T> = {
[P in K]-?: T[P];
};
/**
* pick K and mark as Partial
*/
export declare type ITSPartialPick<T, K extends keyof T> = {
[P in K]?: T[P];
};
/**
* clone a type and mark all RK is Required, PK is Partial
*/
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>;
export declare type ITSRequiredWith<T, K extends keyof T> = Omit<T, K> & ITSRequiredPick<T, K>;
export declare type ITSPartialWith<T, K extends keyof T> = Omit<T, K> & ITSPartialPick<T, K>;
/**
* https://stackoverflow.com/questions/40510611/typescript-interface-require-one-of-two-properties-to-exist
*/
export declare type ITSRequireAtLeastOne<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & {
[K in Keys]-?: ITSRequiredPick<T, K> & ITSPartialPick<T, Exclude<Keys, K>>;
}[Keys];
/**
* https://stackoverflow.com/questions/40510611/typescript-interface-require-one-of-two-properties-to-exist
*/
export declare type ITSRequireOnlyOne<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & {
[K in Keys]-?: ITSRequiredPick<T, K> & Partial<Record<Exclude<Keys, K>, never>>;
}[Keys];
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaGVscGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJVFNBcn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xuICogQGRlcHJlY2F0ZWRcbiAqL1xuZXhwb3J0IHR5cGUgSVRTRXh0ZW5kc09mPFQsIFU+ID0gRXh0cmFjdDxULCBVPjtcblxuZXhwb3J0IHR5cGUgSVRTS2V5T2ZBcnJheTxUIGV4dGVuZHMgSVRTQXJyYXlMaXN0TWF5YmVSZWFkb25seTxhbnk+PiA9IEV4Y2x1ZGU8a2V5b2YgVCwgc3ltYm9sIHwgc3RyaW5nPjtcblxuZXhwb3J0IHR5cGUgSVRTVmFsdWVPZkFycmF5PFQgZXh0ZW5kcyBJVFNBcnJheUxpc3RNYXliZVJlYWRvbmx5PGFueT4+ID0gVFtJVFNLZXlPZkFycmF5PFQ+XTtcblxuIl19

@@ -22,1 +22,18 @@ /**

export declare type ITSKeyofArrayLike<A> = keyof ITSExtractArrayLike<A>;
export declare type ITSNullable<T> = T extends null | undefined ? T : never;
/**
* 找出 T 當中 與 U 相同的 key
*/
export declare type ITSKeyofSame<T, U> = Extract<keyof T, keyof U>;
/**
* 找出 T 當中 與 U 不同的 key
*/
export declare type ITSKeyofDiff<T, U> = Exclude<keyof T, ITSKeyofSame<T, U>>;
/**
* 找出 T 與 U 當中同時存在的 key
*/
export declare type ITSKeyofBothSame<T, U> = ITSKeyofSame<T, U> | ITSKeyofSame<U, T>;
/**
* 去除 T 與 U 當中同時存在的 key
*/
export declare type ITSKeyofBothDiff<T, U> = ITSKeyofDiff<T, U> | ITSKeyofDiff<U, T>;

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

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

@@ -13,1 +13,2 @@ /**

export declare type ITSUnpackedArrayLike<T extends ArrayLike<any> | any[]> = T extends (infer U)[] ? ITSUnpacked<U> : T extends readonly (infer U)[] ? ITSUnpacked<U> : T extends ArrayLike<infer U> ? ITSUnpacked<U> : T;
export declare type ITSUnpackedThisFunction<T extends (...args: any[]) => any> = T extends (this: infer R, ...args: any[]) => any ? R : unknown;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5wYWNrZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ1bnBhY2tlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBmb3IgSXRlcmF0b3IgSXRlcmF0b3JSZXN1bHRcbiAqL1xuLyoqXG4gKiBAc2VlIGh0dHBzOi8vd3d3LnR5cGVzY3JpcHRsYW5nLm9yZy9kb2NzL2hhbmRib29rL3JlbGVhc2Utbm90ZXMvdHlwZXNjcmlwdC0yLTguaHRtbFxuICovXG5pbXBvcnQgeyBJVFNNYXBMaWtlLCBJVFNSZXNvbHZhYmxlLCBJVFNUeXBlRnVuY3Rpb24gfSBmcm9tICcuLi9nZW5lcmljJztcblxuZXhwb3J0IHR5cGUgSVRTVW5wYWNrZWRSZXR1cm5UeXBlPFQgZXh0ZW5kcyAoLi4uYXJnczogYW55W10pID0+IGFueT4gPVxuXHRJVFNVbnBhY2tlZDxSZXR1cm5UeXBlPFQ+PlxuLy9cdFQgZXh0ZW5kcyBJVFNUeXBlRnVuY3Rpb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BleHRlbmRzIChpbmZlciBVKVtdID8gSVRTVW5wYWNrZWQ8VT4gOlxuXHRcdFQgZXh0ZW5kcyByZWFkb25seSAoaW5mZXIgVSlbXSA/IElUU1VucGFja2VkPFU+IDpcblx0XHRcdFQgZXh0ZW5kcyBBcnJheUxpa2U8aW5mZXIgVT4gPyBJVFNVbnBhY2tlZDxVPiA6XG5cdFx0XHRcdFRcblx0O1xuXG5leHBvcnQgdHlwZSBJVFNVbnBhY2tlZFRoaXNGdW5jdGlvbjxUIGV4dGVuZHMgKC4uLmFyZ3M6IGFueVtdKSA9PiBhbnk+ID1cblx0VCBleHRlbmRzICh0aGlzOiBpbmZlciBSLCAuLi5hcmdzOiBhbnlbXSkgPT4gYW55XG5cdFx0PyBSXG5cdFx0OiB1bmtub3duO1xuIl19
export * from './generic';
export * from './helper';
export * from './helper/filter';
export * from './helper/key-value';
export * from './helper/overwrite';
export * from './helper/readonly';
export * from './helper/typeof';
export * from './helper/unpacked';

@@ -9,1 +12,4 @@ export * from './type/base';

export * from './type/decorators';
export * from './type/promise';
export * from './type/proxy';
export * from './type/record';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9nZW5lcmljJztcbmV4cG9ydCAqIGZyb20gJy4vaGVscGVyJztcbmV4cG9ydCAqIGZyb20gJy4vaGVscGVyL2ZpbHRlcic7XG5leHBvcnQgKiBmcm9tICcuL2hlbHBlci9yZWFkb25seSc7XG5leHBvcnQgKiBmcm9tICcuL2hlbHBlci91bnBhY2tlZCc7XG5leHBvcnQgKiBmcm9tICcuL3R5cGUvYmFzZSc7XG5leHBvcnQgKiBmcm9tICcuL3R5cGUvYmx1ZWJpcmQnO1xuZXhwb3J0ICogZnJvbSAnLi90eXBlL2RlY29yYXRvcnMnO1xuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9nZW5lcmljJztcbmV4cG9ydCAqIGZyb20gJy4vaGVscGVyJztcbmV4cG9ydCAqIGZyb20gJy4vaGVscGVyL2ZpbHRlcic7XG5leHBvcnQgKiBmcm9tICcuL2hlbHBlci9rZXktdmFsdWUnO1xuZXhwb3J0ICogZnJvbSAnLi9oZWxwZXIvb3ZlcndyaXRlJztcbmV4cG9ydCAqIGZyb20gJy4vaGVscGVyL3JlYWRvbmx5JztcbmV4cG9ydCAqIGZyb20gJy4vaGVscGVyL3R5cGVvZic7XG5leHBvcnQgKiBmcm9tICcuL2hlbHBlci91bnBhY2tlZCc7XG5leHBvcnQgKiBmcm9tICcuL3R5cGUvYmFzZSc7XG5leHBvcnQgKiBmcm9tICcuL3R5cGUvYmx1ZWJpcmQnO1xuZXhwb3J0ICogZnJvbSAnLi90eXBlL2RlY29yYXRvcnMnO1xuZXhwb3J0ICogZnJvbSAnLi90eXBlL3Byb21pc2UnO1xuZXhwb3J0ICogZnJvbSAnLi90eXBlL3Byb3h5JztcbmV4cG9ydCAqIGZyb20gJy4vdHlwZS9yZWNvcmQnO1xuIl19
/**
* Created by user on 2019/5/17.
*/
import { ITSTypeFunction } from '../generic';
export declare type ITSArrayListMaybeReadonly<T> = T[] | readonly T[];

@@ -9,1 +10,2 @@ export declare type ITSKeys = symbol | string | number;

export declare type ITSPropertyKey = string | symbol;
export declare type ITSAnyFunction = ITSTypeFunction<any>;

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

Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL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nIHwgbnVtYmVyO1xuXG5leHBvcnQgdHlwZSBJVFNDb25zdHJ1Y3Rvckxpa2U8VCBleHRlbmRzIGFueSA9IGFueT4gPSBuZXcoLi4uYXJnczogYW55KSA9PiBUO1xuXG5leHBvcnQgdHlwZSBJVFNWYWx1ZU9yQXJyYXk8VD4gPSBUIHwgVFtdO1xuXG5leHBvcnQgdHlwZSBJVFNQcm9wZXJ0eUtleSA9IHN0cmluZyB8IHN5bWJvbDtcblxuZXhwb3J0IHR5cGUgSVRTQW55RnVuY3Rpb24gPSBJVFNUeXBlRnVuY3Rpb248YW55PjtcblxuIl19
{
"name": "ts-type",
"version": "1.2.7",
"version": "1.2.8",
"description": "add some typescript type and re-export some build-in typescript type",

@@ -67,3 +67,3 @@ "keywords": [

},
"gitHead": "04ccd42aeaef7a56f55263ff79c024c181bacfb0"
"gitHead": "cfb094f3fd1e71f166bdc44d1d844ae8c8395f2e"
}
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