@xylabs/promise
Advanced tools
Comparing version 2.11.20 to 2.11.21
@@ -1,2 +0,3 @@ | ||
const fulfilled = (val) => { | ||
// src/fulfilled.ts | ||
var fulfilled = (val) => { | ||
return val.status === "fulfilled"; | ||
@@ -3,0 +4,0 @@ }; |
@@ -1,2 +0,3 @@ | ||
const fulfilledValues = (previousValue, currentValue) => { | ||
// src/fulfilledValues.ts | ||
var fulfilledValues = (previousValue, currentValue) => { | ||
if (currentValue.status === "fulfilled") | ||
@@ -3,0 +4,0 @@ previousValue.push(currentValue.value); |
@@ -1,4 +0,17 @@ | ||
import { fulfilled } from "./fulfilled"; | ||
import { fulfilledValues } from "./fulfilledValues"; | ||
import { rejected } from "./rejected"; | ||
// src/fulfilled.ts | ||
var fulfilled = (val) => { | ||
return val.status === "fulfilled"; | ||
}; | ||
// src/fulfilledValues.ts | ||
var fulfilledValues = (previousValue, currentValue) => { | ||
if (currentValue.status === "fulfilled") | ||
previousValue.push(currentValue.value); | ||
return previousValue; | ||
}; | ||
// src/rejected.ts | ||
var rejected = (val) => { | ||
return val.status === "rejected"; | ||
}; | ||
export { | ||
@@ -5,0 +18,0 @@ fulfilled, |
@@ -1,2 +0,3 @@ | ||
const rejected = (val) => { | ||
// src/rejected.ts | ||
var rejected = (val) => { | ||
return val.status === "rejected"; | ||
@@ -3,0 +4,0 @@ }; |
@@ -42,4 +42,4 @@ { | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^3.0.68", | ||
"@xylabs/tsconfig": "^3.0.68", | ||
"@xylabs/ts-scripts-yarn3": "^3.0.70", | ||
"@xylabs/tsconfig": "^3.0.70", | ||
"typescript": "^5.2.2" | ||
@@ -55,3 +55,3 @@ }, | ||
"sideEffects": false, | ||
"version": "2.11.20" | ||
"version": "2.11.21" | ||
} |
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
47651
431