You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@xylabs/promise

Package Overview
Dependencies
Maintainers
7
Versions
408
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/promise - npm Package Compare versions

Comparing version

to
3.0.14

dist/browser/isPromise.d.cts

1

dist/browser/index.d.ts
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

2

package.json

@@ -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