@xylabs/promise
Advanced tools
Comparing version 3.1.13 to 3.2.0
@@ -5,4 +5,4 @@ import { TypedValue } from './Typed'; | ||
} | ||
export type AnyNonPromise<T = unknown> = Exclude<TypedValue, Promise<T>>; | ||
export type AnyNonPromise = Exclude<TypedValue, Promise<unknown>>; | ||
export declare const isPromise: (value: unknown) => value is Promise<unknown>; | ||
//# sourceMappingURL=isPromise.d.ts.map |
@@ -5,4 +5,4 @@ import { TypedValue } from './Typed'; | ||
} | ||
export type AnyNonPromise<T = unknown> = Exclude<TypedValue, Promise<T>>; | ||
export type AnyNonPromise = Exclude<TypedValue, Promise<unknown>>; | ||
export declare const isPromise: (value: unknown) => value is Promise<unknown>; | ||
//# sourceMappingURL=isPromise.d.ts.map |
@@ -17,8 +17,8 @@ { | ||
"require": { | ||
"types": "./dist/node/index.d.cts", | ||
"default": "./dist/node/index.cjs" | ||
"types": "./dist/neutral/index.d.cts", | ||
"default": "./dist/neutral/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./dist/node/index.d.mts", | ||
"default": "./dist/node/index.js" | ||
"types": "./dist/neutral/index.d.mts", | ||
"default": "./dist/neutral/index.js" | ||
} | ||
@@ -28,5 +28,5 @@ }, | ||
}, | ||
"main": "./dist/node/index.cjs", | ||
"types": "./dist/node/index.d.ts", | ||
"module": "./dist/node/index.js", | ||
"main": "./dist/neutral/index.cjs", | ||
"types": "./dist/neutral/index.d.ts", | ||
"module": "./dist/neutral/index.js", | ||
"homepage": "https://xylabs.com", | ||
@@ -41,4 +41,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^3.9.1", | ||
"@xylabs/tsconfig": "^3.9.1", | ||
"@xylabs/ts-scripts-yarn3": "^3.10.0", | ||
"@xylabs/tsconfig": "^3.10.0", | ||
"typescript": "^5.4.5" | ||
@@ -57,4 +57,4 @@ }, | ||
"sideEffects": false, | ||
"version": "3.1.13", | ||
"version": "3.2.0", | ||
"type": "module" | ||
} |
@@ -8,4 +8,3 @@ import { TypedValue } from './Typed' | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
export type AnyNonPromise<T = unknown> = Exclude<TypedValue, Promise<T>> | ||
export type AnyNonPromise = Exclude<TypedValue, Promise<unknown>> | ||
@@ -12,0 +11,0 @@ export const isPromise = (value: unknown): value is Promise<unknown> => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
165485
186
1189
8