ES Proposal spec-compliant shim for Promise.allSettled
Overall
score
94%
Multiple Usage Modes (Standalone, Polyfill, Shim, Auto-shim)
Standalone Usage
20%
100%
Polyfill Detection
100%
100%
Shim Installation
0%
100%
Auto-shim Usage
60%
100%
Promise Settlement Tracking
Uses promise.allsettled
100%
100%
Passes promise array
100%
100%
Checks settlement status
100%
100%
Extracts fulfilled values
100%
100%
Extracts rejection reasons
0%
53%
Processes all results
100%
100%
Promise Subclass Support
Package Import
100%
100%
Core Function Usage
100%
100%
Subclass Preservation
80%
40%
Result Handling
100%
100%
Edge Case Handling
100%
100%
ES Abstract Operations Integration
Package Import
100%
100%
Core Function Usage
100%
100%
Thenable Handling
100%
100%
Result Format
100%
100%
Direct Pass-through
50%
100%
Advanced Error Handling (Poisoned .then(), Async Errors)
Uses promise.allsettled
100%
100%
Handles poisoned .then()
48%
40%
Captures all error types
100%
100%
Returns correct format
100%
100%
Handles mixed scenarios
100%
100%
Robust Type Checking and Validation
Package Import
100%
100%
Core Function Usage
100%
100%
Iterable Validation
25%
0%
Context Validation
25%
100%
Mixed Input Handling
100%
100%
Result Format
100%
100%
Iteration and Mapping Abstractions
Uses promise.allsettled
100%
100%
Maps items to promises
100%
100%
Handles iterable inputs
100%
100%
Preserves result order
100%
100%
Returns correct structure
100%
100%
Mixed Input Type Handling
Uses allSettled
100%
100%
Handles mixed inputs
100%
100%
Returns correct format
100%
100%
Preserves order
100%
100%
Handles empty arrays
100%
100%
Never rejects
100%
100%
ES-Shims API Compliance
Direct Import Usage
0%
100%
Polyfill Detection
100%
100%
Global Shimming
100%
100%
Correct Result Format
100%
100%
Intrinsic Method Binding
Package Import
100%
100%
Core Function Usage
100%
100%
Result Handling
100%
100%
Input Forwarding
100%
100%
Promise Return
100%
100%
Install with Tessl CLI
npx tessl i tessl/npm-promise-allsettledTable of Contents