promise.allsettled
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -8,2 +8,8 @@ # Changelog | ||
## [v1.0.4](https://github.com/es-shims/Promise.allSettled/compare/v1.0.3...v1.0.4) - 2021-01-20 | ||
### Commits | ||
- [Fix] properly call-bind `Promise.all` and `Promise.reject` [`1f90b0e`](https://github.com/es-shims/Promise.allSettled/commit/1f90b0efc3208486709391ffe1dd16b79ca214d4) | ||
## [v1.0.3](https://github.com/es-shims/Promise.allSettled/compare/v1.0.2...v1.0.3) - 2021-01-20 | ||
@@ -10,0 +16,0 @@ |
@@ -11,6 +11,7 @@ 'use strict'; | ||
var map = require('array.prototype.map'); | ||
var callBound = require('call-bind/callBound'); | ||
var GetIntrinsic = require('get-intrinsic'); | ||
var callBind = require('call-bind'); | ||
var all = callBound('Promise.all'); | ||
var reject = callBound('Promise.reject'); | ||
var all = callBind(GetIntrinsic('%Promise.all%')); | ||
var reject = callBind(GetIntrinsic('%Promise.reject%')); | ||
@@ -17,0 +18,0 @@ module.exports = function allSettled(iterable) { |
{ | ||
"name": "promise.allsettled", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"author": "Jordan Harband <ljharb@gmail.com>", | ||
@@ -60,2 +60,3 @@ "funding": { | ||
"es-abstract": "^1.18.0-next.2", | ||
"get-intrinsic": "^1.0.2", | ||
"iterate-value": "^1.0.2" | ||
@@ -62,0 +63,0 @@ }, |
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
22953
275
6
+ Addedget-intrinsic@^1.0.2