@xylabs/promise
Advanced tools
Comparing version 3.0.13 to 3.0.14
export { fulfilled } from './fulfilled'; | ||
export { fulfilledValues } from './fulfilledValues'; | ||
export * from './isPromise'; | ||
export * from './PromiseEx'; | ||
@@ -4,0 +5,0 @@ export { rejected } from './rejected'; |
@@ -13,2 +13,10 @@ // src/fulfilled.ts | ||
// src/isPromise.ts | ||
var isPromise = (value) => { | ||
if (typeof value === "object" && !Array.isArray(value)) { | ||
return typeof value.then === "function"; | ||
} | ||
return false; | ||
}; | ||
// src/PromiseEx.ts | ||
@@ -45,4 +53,5 @@ var PromiseEx = class extends Promise { | ||
fulfilledValues, | ||
isPromise, | ||
rejected | ||
}; | ||
//# sourceMappingURL=index.js.map |
export { fulfilled } from './fulfilled'; | ||
export { fulfilledValues } from './fulfilledValues'; | ||
export * from './isPromise'; | ||
export * from './PromiseEx'; | ||
@@ -4,0 +5,0 @@ export { rejected } from './rejected'; |
@@ -13,2 +13,10 @@ // src/fulfilled.ts | ||
// src/isPromise.ts | ||
var isPromise = (value) => { | ||
if (typeof value === "object" && !Array.isArray(value)) { | ||
return typeof value.then === "function"; | ||
} | ||
return false; | ||
}; | ||
// src/PromiseEx.ts | ||
@@ -45,4 +53,5 @@ var PromiseEx = class extends Promise { | ||
fulfilledValues, | ||
isPromise, | ||
rejected | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -54,4 +54,4 @@ { | ||
"sideEffects": false, | ||
"version": "3.0.13", | ||
"version": "3.0.14", | ||
"type": "module" | ||
} |
export { fulfilled } from './fulfilled' | ||
export { fulfilledValues } from './fulfilledValues' | ||
export * from './isPromise' | ||
export * from './PromiseEx' | ||
export { rejected } from './rejected' | ||
export * from './types' |
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
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
74972
102
460