vest-utils
Advanced tools
Comparing version 0.0.2 to 0.0.3-dev-fcaa09
{ | ||
"version": "0.0.2", | ||
"version": "0.0.3-dev-fcaa09", | ||
"name": "vest-utils", | ||
@@ -4,0 +4,0 @@ "author": "ealush", |
@@ -1,2 +0,2 @@ | ||
import { CB } from 'utilityTypes'; | ||
import type { CB } from 'utilityTypes'; | ||
@@ -3,0 +3,0 @@ export function createBus(): { |
@@ -1,2 +0,2 @@ | ||
import { CB } from 'utilityTypes'; | ||
import type { CB } from 'utilityTypes'; | ||
@@ -3,0 +3,0 @@ export default function callEach(arr: CB[]): void { |
@@ -0,3 +1,4 @@ | ||
import type { Stringable } from 'utilityTypes'; | ||
import optionalFunctionValue from 'optionalFunctionValue'; | ||
import { Stringable } from 'utilityTypes'; | ||
@@ -4,0 +5,0 @@ export default function invariant( |
@@ -32,1 +32,6 @@ export { default as cache } from 'cache'; | ||
export { isPositive } from 'isPositive'; | ||
export type { DropFirst } from 'utilityTypes'; | ||
export type { Stringable } from 'utilityTypes'; | ||
export type { CB } from 'utilityTypes'; | ||
export type { ValueOf } from 'utilityTypes'; |
{ | ||
"extends": "../../tsconfig.json", | ||
"rootDir": ".", | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"declarationMap": true, | ||
"declarationDir": "./types", | ||
"outDir": "./dist" | ||
"outDir": "./dist", | ||
"paths": { | ||
"asArray": ["src/asArray.ts"], | ||
"assign": ["src/assign.ts"], | ||
"bindNot": ["src/bindNot.ts"], | ||
"bus": ["src/bus.ts"], | ||
"cache": ["src/cache.ts"], | ||
"callEach": ["src/callEach.ts"], | ||
"defaultTo": ["src/defaultTo.ts"], | ||
"deferThrow": ["src/deferThrow.ts"], | ||
"either": ["src/either.ts"], | ||
"globals.d": ["src/globals.d.ts"], | ||
"greaterThan": ["src/greaterThan.ts"], | ||
"hasOwnProperty": ["src/hasOwnProperty.ts"], | ||
"invariant": ["src/invariant.ts"], | ||
"isArrayValue": ["src/isArrayValue.ts"], | ||
"isBooleanValue": ["src/isBooleanValue.ts"], | ||
"isEmpty": ["src/isEmpty.ts"], | ||
"isFunction": ["src/isFunction.ts"], | ||
"isNull": ["src/isNull.ts"], | ||
"isNullish": ["src/isNullish.ts"], | ||
"isNumeric": ["src/isNumeric.ts"], | ||
"isPositive": ["src/isPositive.ts"], | ||
"isPromise": ["src/isPromise.ts"], | ||
"isStringValue": ["src/isStringValue.ts"], | ||
"isUndefined": ["src/isUndefined.ts"], | ||
"last": ["src/last.ts"], | ||
"lengthEquals": ["src/lengthEquals.ts"], | ||
"longerThan": ["src/longerThan.ts"], | ||
"mapFirst": ["src/mapFirst.ts"], | ||
"nestedArray": ["src/nestedArray.ts"], | ||
"numberEquals": ["src/numberEquals.ts"], | ||
"optionalFunctionValue": ["src/optionalFunctionValue.ts"], | ||
"seq": ["src/seq.ts"], | ||
"utilityTypes": ["src/utilityTypes.ts"], | ||
"vest-utils": ["src/vest-utils.ts"] | ||
} | ||
} | ||
} |
@@ -23,4 +23,9 @@ /** | ||
declare function asArray<T>(possibleArg: T | T[]): T[]; | ||
type DropFirst<T extends unknown[]> = T extends [ | ||
unknown, | ||
...infer U | ||
] ? U : never; | ||
type Stringable = string | ((...args: any[]) => string); | ||
type CB = (...args: any[]) => any; | ||
type ValueOf<T> = T[keyof T]; | ||
declare function callEach(arr: CB[]): void; | ||
@@ -94,1 +99,3 @@ /** | ||
export { createCache as cache, isNullish, isNotNullish, nestedArray, asArray, callEach, hasOwnProperty, isPromise, optionalFunctionValue, _default as assign, defaultTo, invariant, StringObject, isStringValue, bindNot, either, isBoolean, last, deferThrow, bus, seq, isFunction, mapFirst, greaterThan, longerThan, isNumeric, isNotNumeric, lengthEquals, lengthNotEquals, numberEquals, numberNotEquals, isNull, isNotNull, isUndefined, isNotUndefined, isArray, isNotArray, isEmpty, isNotEmpty, isPositive }; | ||
export type { DropFirst, Stringable, CB, ValueOf }; | ||
//# sourceMappingURL=vest-utils.d.ts.map |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
81853
66
2080
0