es-iterator-helpers
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -6,5 +6,5 @@ 'use strict'; | ||
var GeneratorStart = require('./GeneratorStart'); | ||
var IsArray = require('es-abstract/2023/IsArray'); | ||
var IsCallable = require('es-abstract/2023/IsCallable'); | ||
var OrdinaryObjectCreate = require('es-abstract/2023/OrdinaryObjectCreate'); | ||
var IsArray = require('es-abstract/2024/IsArray'); | ||
var IsCallable = require('es-abstract/2024/IsCallable'); | ||
var OrdinaryObjectCreate = require('es-abstract/2024/OrdinaryObjectCreate'); | ||
@@ -11,0 +11,0 @@ var every = require('es-abstract/helpers/every'); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var CreateIterResultObject = require('es-abstract/2023/CreateIterResultObject'); | ||
var CreateIterResultObject = require('es-abstract/2024/CreateIterResultObject'); | ||
var GeneratorValidate = require('./GeneratorValidate'); | ||
@@ -8,0 +8,0 @@ |
@@ -5,5 +5,6 @@ 'use strict'; | ||
var CompletionRecord = require('es-abstract/2023/CompletionRecord'); | ||
var CreateIterResultObject = require('es-abstract/2023/CreateIterResultObject'); | ||
var CompletionRecord = require('es-abstract/2024/CompletionRecord'); | ||
var CreateIterResultObject = require('es-abstract/2024/CreateIterResultObject'); | ||
var GeneratorValidate = require('./GeneratorValidate'); | ||
var NormalCompletion = require('es-abstract/2024/NormalCompletion'); | ||
@@ -36,3 +37,3 @@ var SLOT = require('internal-slot'); | ||
// due to representing `GeneratorContext` as a function, we can't safely re-invoke it, so we can't support sending it a return completion | ||
return CreateIterResultObject(SLOT.get(generator, '[[CloseIfAbrupt]]')(abruptCompletion), true); | ||
return CreateIterResultObject(SLOT.get(generator, '[[CloseIfAbrupt]]')(NormalCompletion(abruptCompletion.value())), true); | ||
} | ||
@@ -39,0 +40,0 @@ |
@@ -5,5 +5,5 @@ 'use strict'; | ||
var CreateIterResultObject = require('es-abstract/2023/CreateIterResultObject'); | ||
var IsCallable = require('es-abstract/2023/IsCallable'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var CreateIterResultObject = require('es-abstract/2024/CreateIterResultObject'); | ||
var IsCallable = require('es-abstract/2024/IsCallable'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -10,0 +10,0 @@ var SLOT = require('internal-slot'); |
@@ -5,4 +5,4 @@ 'use strict'; | ||
var Get = require('es-abstract/2023/Get'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var Get = require('es-abstract/2024/Get'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -9,0 +9,0 @@ module.exports = function GetIteratorDirect(obj) { |
@@ -5,8 +5,8 @@ 'use strict'; | ||
var AdvanceStringIndex = require('es-abstract/2023/AdvanceStringIndex'); | ||
var Call = require('es-abstract/2023/Call'); | ||
var AdvanceStringIndex = require('es-abstract/2024/AdvanceStringIndex'); | ||
var Call = require('es-abstract/2024/Call'); | ||
var GetIteratorDirect = require('./GetIteratorDirect'); | ||
var GetMethod = require('es-abstract/2023/GetMethod'); | ||
var IsArray = require('es-abstract/2023/IsArray'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var GetMethod = require('es-abstract/2024/GetMethod'); | ||
var IsArray = require('es-abstract/2024/IsArray'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -13,0 +13,0 @@ var getIteratorMethod = require('es-abstract/helpers/getIteratorMethod'); |
@@ -8,2 +8,11 @@ # Changelog | ||
## [v1.0.18](https://github.com/es-shims/iterator-helpers/compare/v1.0.17...v1.0.18) - 2024-03-15 | ||
### Commits | ||
- [Deps] update `es-abstract` [`6b45f15`](https://github.com/es-shims/iterator-helpers/commit/6b45f150e939cfbf93b816431a407c0838250e85) | ||
- [Deps] update `es-set-tostringtag`, `has-proto`, `safe-array-concat` [`6350106`](https://github.com/es-shims/iterator-helpers/commit/6350106c9e5c18a67754ced3fd90465b0032f1e3) | ||
- [Dev Deps] update `tape` [`5509b40`](https://github.com/es-shims/iterator-helpers/commit/5509b408791402d2f7d7882f905741e5a5dd805b) | ||
- [Deps] remove an unused dep [`78e34a5`](https://github.com/es-shims/iterator-helpers/commit/78e34a5452e7b7ef3dc239a62dd8a7324fbb2305) | ||
## [v1.0.17](https://github.com/es-shims/iterator-helpers/compare/v1.0.16...v1.0.17) - 2024-02-13 | ||
@@ -10,0 +19,0 @@ |
@@ -6,4 +6,4 @@ 'use strict'; | ||
var GetIteratorFlattenable = require('../aos/GetIteratorFlattenable'); | ||
var OrdinaryHasInstance = require('es-abstract/2023/OrdinaryHasInstance'); | ||
var OrdinaryObjectCreate = require('es-abstract/2023/OrdinaryObjectCreate'); | ||
var OrdinaryHasInstance = require('es-abstract/2024/OrdinaryHasInstance'); | ||
var OrdinaryObjectCreate = require('es-abstract/2024/OrdinaryObjectCreate'); | ||
@@ -10,0 +10,0 @@ var $Iterator = require('../Iterator/polyfill')(); |
@@ -6,12 +6,12 @@ 'use strict'; | ||
var CompletionRecord = require('es-abstract/2023/CompletionRecord'); | ||
var CompletionRecord = require('es-abstract/2024/CompletionRecord'); | ||
var CreateIteratorFromClosure = require('../aos/CreateIteratorFromClosure'); | ||
var GetIteratorDirect = require('../aos/GetIteratorDirect'); | ||
var IteratorClose = require('../aos/IteratorClose'); | ||
var IteratorStep = require('es-abstract/2023/IteratorStep'); | ||
var IteratorStepValue = require('../aos/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2023/ThrowCompletion'); | ||
var ToIntegerOrInfinity = require('es-abstract/2023/ToIntegerOrInfinity'); | ||
var ToNumber = require('es-abstract/2023/ToNumber'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var IteratorClose = require('es-abstract/2024/IteratorClose'); | ||
var IteratorStep = require('es-abstract/2024/IteratorStep'); | ||
var IteratorStepValue = require('es-abstract/2024/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2024/ThrowCompletion'); | ||
var ToIntegerOrInfinity = require('es-abstract/2024/ToIntegerOrInfinity'); | ||
var ToNumber = require('es-abstract/2024/ToNumber'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -18,0 +18,0 @@ var iterHelperProto = require('../IteratorHelperPrototype'); |
@@ -5,11 +5,11 @@ 'use strict'; | ||
var Call = require('es-abstract/2023/Call'); | ||
var Call = require('es-abstract/2024/Call'); | ||
var GetIteratorDirect = require('../aos/GetIteratorDirect'); | ||
var IsCallable = require('es-abstract/2023/IsCallable'); | ||
var IteratorClose = require('../aos/IteratorClose'); | ||
var IteratorStepValue = require('../aos/IteratorStepValue'); | ||
var NormalCompletion = require('es-abstract/2023/NormalCompletion'); | ||
var ThrowCompletion = require('es-abstract/2023/ThrowCompletion'); | ||
var ToBoolean = require('es-abstract/2023/ToBoolean'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var IsCallable = require('es-abstract/2024/IsCallable'); | ||
var IteratorClose = require('es-abstract/2024/IteratorClose'); | ||
var IteratorStepValue = require('es-abstract/2024/IteratorStepValue'); | ||
var NormalCompletion = require('es-abstract/2024/NormalCompletion'); | ||
var ThrowCompletion = require('es-abstract/2024/ThrowCompletion'); | ||
var ToBoolean = require('es-abstract/2024/ToBoolean'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -16,0 +16,0 @@ module.exports = function every(predicate) { |
@@ -5,12 +5,12 @@ 'use strict'; | ||
var Call = require('es-abstract/2023/Call'); | ||
var CompletionRecord = require('es-abstract/2023/CompletionRecord'); | ||
var Call = require('es-abstract/2024/Call'); | ||
var CompletionRecord = require('es-abstract/2024/CompletionRecord'); | ||
var CreateIteratorFromClosure = require('../aos/CreateIteratorFromClosure'); | ||
var GetIteratorDirect = require('../aos/GetIteratorDirect'); | ||
var IsCallable = require('es-abstract/2023/IsCallable'); | ||
var IteratorClose = require('../aos/IteratorClose'); | ||
var IteratorStepValue = require('../aos/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2023/ThrowCompletion'); | ||
var ToBoolean = require('es-abstract/2023/ToBoolean'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var IsCallable = require('es-abstract/2024/IsCallable'); | ||
var IteratorClose = require('es-abstract/2024/IteratorClose'); | ||
var IteratorStepValue = require('es-abstract/2024/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2024/ThrowCompletion'); | ||
var ToBoolean = require('es-abstract/2024/ToBoolean'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -17,0 +17,0 @@ var iterHelperProto = require('../IteratorHelperPrototype'); |
@@ -5,11 +5,11 @@ 'use strict'; | ||
var Call = require('es-abstract/2023/Call'); | ||
var Call = require('es-abstract/2024/Call'); | ||
var GetIteratorDirect = require('../aos/GetIteratorDirect'); | ||
var IsCallable = require('es-abstract/2023/IsCallable'); | ||
var IteratorClose = require('../aos/IteratorClose'); | ||
var IteratorStepValue = require('../aos/IteratorStepValue'); | ||
var NormalCompletion = require('es-abstract/2023/NormalCompletion'); | ||
var ThrowCompletion = require('es-abstract/2023/ThrowCompletion'); | ||
var ToBoolean = require('es-abstract/2023/ToBoolean'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var IsCallable = require('es-abstract/2024/IsCallable'); | ||
var IteratorClose = require('es-abstract/2024/IteratorClose'); | ||
var IteratorStepValue = require('es-abstract/2024/IteratorStepValue'); | ||
var NormalCompletion = require('es-abstract/2024/NormalCompletion'); | ||
var ThrowCompletion = require('es-abstract/2024/ThrowCompletion'); | ||
var ToBoolean = require('es-abstract/2024/ToBoolean'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -16,0 +16,0 @@ module.exports = function find(predicate) { |
@@ -5,12 +5,12 @@ 'use strict'; | ||
var Call = require('es-abstract/2023/Call'); | ||
var CompletionRecord = require('es-abstract/2023/CompletionRecord'); | ||
var Call = require('es-abstract/2024/Call'); | ||
var CompletionRecord = require('es-abstract/2024/CompletionRecord'); | ||
var CreateIteratorFromClosure = require('../aos/CreateIteratorFromClosure'); | ||
var GetIteratorDirect = require('../aos/GetIteratorDirect'); | ||
var GetIteratorFlattenable = require('../aos/GetIteratorFlattenable'); | ||
var IsCallable = require('es-abstract/2023/IsCallable'); | ||
var IteratorClose = require('../aos/IteratorClose'); | ||
var IteratorStepValue = require('../aos/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2023/ThrowCompletion'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var IsCallable = require('es-abstract/2024/IsCallable'); | ||
var IteratorClose = require('es-abstract/2024/IteratorClose'); | ||
var IteratorStepValue = require('es-abstract/2024/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2024/ThrowCompletion'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -17,0 +17,0 @@ var iterHelperProto = require('../IteratorHelperPrototype'); |
@@ -5,9 +5,9 @@ 'use strict'; | ||
var Call = require('es-abstract/2023/Call'); | ||
var Call = require('es-abstract/2024/Call'); | ||
var GetIteratorDirect = require('../aos/GetIteratorDirect'); | ||
var IsCallable = require('es-abstract/2023/IsCallable'); | ||
var IteratorClose = require('../aos/IteratorClose'); | ||
var IteratorStepValue = require('../aos/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2023/ThrowCompletion'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var IsCallable = require('es-abstract/2024/IsCallable'); | ||
var IteratorClose = require('es-abstract/2024/IteratorClose'); | ||
var IteratorStepValue = require('es-abstract/2024/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2024/ThrowCompletion'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -14,0 +14,0 @@ module.exports = function forEach(fn) { |
@@ -5,11 +5,11 @@ 'use strict'; | ||
var Call = require('es-abstract/2023/Call'); | ||
var CompletionRecord = require('es-abstract/2023/CompletionRecord'); | ||
var Call = require('es-abstract/2024/Call'); | ||
var CompletionRecord = require('es-abstract/2024/CompletionRecord'); | ||
var CreateIteratorFromClosure = require('../aos/CreateIteratorFromClosure'); | ||
var GetIteratorDirect = require('../aos/GetIteratorDirect'); | ||
var IsCallable = require('es-abstract/2023/IsCallable'); | ||
var IteratorClose = require('../aos/IteratorClose'); | ||
var IteratorStepValue = require('../aos/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2023/ThrowCompletion'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var IsCallable = require('es-abstract/2024/IsCallable'); | ||
var IteratorClose = require('es-abstract/2024/IteratorClose'); | ||
var IteratorStepValue = require('es-abstract/2024/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2024/ThrowCompletion'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -16,0 +16,0 @@ var iterHelperProto = require('../IteratorHelperPrototype'); |
@@ -5,9 +5,9 @@ 'use strict'; | ||
var Call = require('es-abstract/2023/Call'); | ||
var Call = require('es-abstract/2024/Call'); | ||
var GetIteratorDirect = require('../aos/GetIteratorDirect'); | ||
var IsCallable = require('es-abstract/2023/IsCallable'); | ||
var IteratorClose = require('../aos/IteratorClose'); | ||
var IteratorStepValue = require('../aos/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2023/ThrowCompletion'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var IsCallable = require('es-abstract/2024/IsCallable'); | ||
var IteratorClose = require('es-abstract/2024/IteratorClose'); | ||
var IteratorStepValue = require('es-abstract/2024/IteratorStepValue'); | ||
var ThrowCompletion = require('es-abstract/2024/ThrowCompletion'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -14,0 +14,0 @@ module.exports = function reduce(reducer) { |
@@ -5,11 +5,11 @@ 'use strict'; | ||
var Call = require('es-abstract/2023/Call'); | ||
var Call = require('es-abstract/2024/Call'); | ||
var GetIteratorDirect = require('../aos/GetIteratorDirect'); | ||
var IsCallable = require('es-abstract/2023/IsCallable'); | ||
var IteratorClose = require('../aos/IteratorClose'); | ||
var IteratorStepValue = require('../aos/IteratorStepValue'); | ||
var NormalCompletion = require('es-abstract/2023/NormalCompletion'); | ||
var ThrowCompletion = require('es-abstract/2023/ThrowCompletion'); | ||
var ToBoolean = require('es-abstract/2023/ToBoolean'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var IsCallable = require('es-abstract/2024/IsCallable'); | ||
var IteratorClose = require('es-abstract/2024/IteratorClose'); | ||
var IteratorStepValue = require('es-abstract/2024/IteratorStepValue'); | ||
var NormalCompletion = require('es-abstract/2024/NormalCompletion'); | ||
var ThrowCompletion = require('es-abstract/2024/ThrowCompletion'); | ||
var ToBoolean = require('es-abstract/2024/ToBoolean'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -16,0 +16,0 @@ module.exports = function some(predicate) { |
@@ -6,11 +6,11 @@ 'use strict'; | ||
var CompletionRecord = require('es-abstract/2023/CompletionRecord'); | ||
var CompletionRecord = require('es-abstract/2024/CompletionRecord'); | ||
var CreateIteratorFromClosure = require('../aos/CreateIteratorFromClosure'); | ||
var GetIteratorDirect = require('../aos/GetIteratorDirect'); | ||
var IteratorClose = require('../aos/IteratorClose'); | ||
var IteratorStepValue = require('../aos/IteratorStepValue'); | ||
var NormalCompletion = require('es-abstract/2023/NormalCompletion'); | ||
var ToIntegerOrInfinity = require('es-abstract/2023/ToIntegerOrInfinity'); | ||
var ToNumber = require('es-abstract/2023/ToNumber'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var IteratorClose = require('es-abstract/2024/IteratorClose'); | ||
var IteratorStepValue = require('es-abstract/2024/IteratorStepValue'); | ||
var NormalCompletion = require('es-abstract/2024/NormalCompletion'); | ||
var ToIntegerOrInfinity = require('es-abstract/2024/ToIntegerOrInfinity'); | ||
var ToNumber = require('es-abstract/2024/ToNumber'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -17,0 +17,0 @@ var iterHelperProto = require('../IteratorHelperPrototype'); |
@@ -6,4 +6,4 @@ 'use strict'; | ||
var GetIteratorDirect = require('../aos/GetIteratorDirect'); | ||
var IteratorStepValue = require('../aos/IteratorStepValue'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var IteratorStepValue = require('es-abstract/2024/IteratorStepValue'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -10,0 +10,0 @@ var callBound = require('call-bind/callBound'); |
@@ -8,8 +8,8 @@ 'use strict'; | ||
var CompletionRecord = require('es-abstract/2023/CompletionRecord'); | ||
var CreateIterResultObject = require('es-abstract/2023/CreateIterResultObject'); | ||
var CompletionRecord = require('es-abstract/2024/CompletionRecord'); | ||
var CreateIterResultObject = require('es-abstract/2024/CreateIterResultObject'); | ||
var GeneratorResume = require('../aos/GeneratorResume'); | ||
var GeneratorResumeAbrupt = require('../aos/GeneratorResumeAbrupt'); | ||
var IteratorClose = require('../aos/IteratorClose'); | ||
var NormalCompletion = require('es-abstract/2023/NormalCompletion'); | ||
var IteratorClose = require('es-abstract/2024/IteratorClose'); | ||
var NormalCompletion = require('es-abstract/2024/NormalCompletion'); | ||
@@ -16,0 +16,0 @@ var implementation; |
{ | ||
"name": "es-iterator-helpers", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "An ESnext spec-compliant iterator helpers shim/polyfill/replacement that works as far down as ES3.", | ||
@@ -134,8 +134,7 @@ "main": "index.json", | ||
"dependencies": { | ||
"asynciterator.prototype": "^1.0.0", | ||
"call-bind": "^1.0.7", | ||
"define-properties": "^1.2.1", | ||
"es-abstract": "^1.22.4", | ||
"es-abstract": "^1.23.0", | ||
"es-errors": "^1.3.0", | ||
"es-set-tostringtag": "^2.0.2", | ||
"es-set-tostringtag": "^2.0.3", | ||
"function-bind": "^1.1.2", | ||
@@ -145,7 +144,7 @@ "get-intrinsic": "^1.2.4", | ||
"has-property-descriptors": "^1.0.2", | ||
"has-proto": "^1.0.1", | ||
"has-proto": "^1.0.3", | ||
"has-symbols": "^1.0.3", | ||
"internal-slot": "^1.0.7", | ||
"iterator.prototype": "^1.1.2", | ||
"safe-array-concat": "^1.1.0" | ||
"safe-array-concat": "^1.1.2" | ||
}, | ||
@@ -173,3 +172,3 @@ "devDependencies": { | ||
"safe-publish-latest": "^2.0.0", | ||
"tape": "^5.7.4" | ||
"tape": "^5.7.5" | ||
}, | ||
@@ -176,0 +175,0 @@ "auto-changelog": { |
@@ -13,3 +13,3 @@ 'use strict'; | ||
var StringToCodePoints = require('es-abstract/2023/StringToCodePoints'); | ||
var StringToCodePoints = require('es-abstract/2024/StringToCodePoints'); | ||
@@ -16,0 +16,0 @@ var index = require('../Iterator.prototype.flatMap'); |
@@ -5,6 +5,6 @@ 'use strict'; | ||
var Call = require('es-abstract/2023/Call'); | ||
var CreateIterResultObject = require('es-abstract/2023/CreateIterResultObject'); | ||
var GetMethod = require('es-abstract/2023/GetMethod'); | ||
var Type = require('es-abstract/2023/Type'); | ||
var Call = require('es-abstract/2024/Call'); | ||
var CreateIterResultObject = require('es-abstract/2024/CreateIterResultObject'); | ||
var GetMethod = require('es-abstract/2024/GetMethod'); | ||
var Type = require('es-abstract/2024/Type'); | ||
@@ -11,0 +11,0 @@ var SLOT = require('internal-slot'); |
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
156906
14
3647
- Removedasynciterator.prototype@^1.0.0
- Removedasynciterator.prototype@1.0.0(transitive)
Updatedes-abstract@^1.23.0
Updatedes-set-tostringtag@^2.0.3
Updatedhas-proto@^1.0.3
Updatedsafe-array-concat@^1.1.2