From 6b45f150e939cfbf93b816431a407c0838250e85 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 15 Mar 2024 12:29:49 -0700 Subject: [PATCH] [Deps] update `es-abstract` --- Iterator.from/implementation.js | 4 ++-- Iterator.prototype.drop/implementation.js | 16 ++++++++-------- Iterator.prototype.every/implementation.js | 16 ++++++++-------- Iterator.prototype.filter/implementation.js | 16 ++++++++-------- Iterator.prototype.find/implementation.js | 16 ++++++++-------- Iterator.prototype.flatMap/implementation.js | 14 +++++++------- Iterator.prototype.forEach/implementation.js | 12 ++++++------ Iterator.prototype.map/implementation.js | 14 +++++++------- Iterator.prototype.reduce/implementation.js | 12 ++++++------ Iterator.prototype.some/implementation.js | 16 ++++++++-------- Iterator.prototype.take/implementation.js | 14 +++++++------- Iterator.prototype.toArray/implementation.js | 4 ++-- IteratorHelperPrototype/index.js | 8 ++++---- WrapForValidIteratorPrototype/index.js | 8 ++++---- aos/CreateIteratorFromClosure.js | 6 +++--- aos/GeneratorResume.js | 2 +- aos/GeneratorResumeAbrupt.js | 7 ++++--- aos/GeneratorStart.js | 6 +++--- aos/GetIteratorDirect.js | 4 ++-- aos/GetIteratorFlattenable.js | 10 +++++----- package.json | 2 +- test/Iterator.prototype.flatMap.js | 2 +- 22 files changed, 105 insertions(+), 104 deletions(-) diff --git a/Iterator.from/implementation.js b/Iterator.from/implementation.js index 91f94de..4618971 100644 --- a/Iterator.from/implementation.js +++ b/Iterator.from/implementation.js @@ -3,8 +3,8 @@ var $TypeError = require('es-errors/type'); 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'); var $Iterator = require('../Iterator/polyfill')(); var $WrapForValidIteratorPrototype = require('../WrapForValidIteratorPrototype'); diff --git a/Iterator.prototype.drop/implementation.js b/Iterator.prototype.drop/implementation.js index 291c776..44771b3 100644 --- a/Iterator.prototype.drop/implementation.js +++ b/Iterator.prototype.drop/implementation.js @@ -3,16 +3,16 @@ var $RangeError = require('es-errors/range'); var $TypeError = require('es-errors/type'); -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'); var iterHelperProto = require('../IteratorHelperPrototype'); diff --git a/Iterator.prototype.every/implementation.js b/Iterator.prototype.every/implementation.js index 982da2d..7a044b4 100644 --- a/Iterator.prototype.every/implementation.js +++ b/Iterator.prototype.every/implementation.js @@ -2,15 +2,15 @@ var $TypeError = require('es-errors/type'); -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'); module.exports = function every(predicate) { if (this instanceof every) { diff --git a/Iterator.prototype.filter/implementation.js b/Iterator.prototype.filter/implementation.js index d3aecb1..75beec2 100644 --- a/Iterator.prototype.filter/implementation.js +++ b/Iterator.prototype.filter/implementation.js @@ -2,16 +2,16 @@ var $TypeError = require('es-errors/type'); -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'); var iterHelperProto = require('../IteratorHelperPrototype'); diff --git a/Iterator.prototype.find/implementation.js b/Iterator.prototype.find/implementation.js index 025e348..24d8e13 100644 --- a/Iterator.prototype.find/implementation.js +++ b/Iterator.prototype.find/implementation.js @@ -2,15 +2,15 @@ var $TypeError = require('es-errors/type'); -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'); module.exports = function find(predicate) { if (this instanceof find) { diff --git a/Iterator.prototype.flatMap/implementation.js b/Iterator.prototype.flatMap/implementation.js index ad563c7..a3495a4 100644 --- a/Iterator.prototype.flatMap/implementation.js +++ b/Iterator.prototype.flatMap/implementation.js @@ -2,16 +2,16 @@ var $TypeError = require('es-errors/type'); -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'); var iterHelperProto = require('../IteratorHelperPrototype'); diff --git a/Iterator.prototype.forEach/implementation.js b/Iterator.prototype.forEach/implementation.js index 6483dd7..578dc4e 100644 --- a/Iterator.prototype.forEach/implementation.js +++ b/Iterator.prototype.forEach/implementation.js @@ -2,13 +2,13 @@ var $TypeError = require('es-errors/type'); -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'); module.exports = function forEach(fn) { if (this instanceof forEach) { diff --git a/Iterator.prototype.map/implementation.js b/Iterator.prototype.map/implementation.js index bc7d0c4..66a4bcd 100644 --- a/Iterator.prototype.map/implementation.js +++ b/Iterator.prototype.map/implementation.js @@ -2,15 +2,15 @@ var $TypeError = require('es-errors/type'); -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'); var iterHelperProto = require('../IteratorHelperPrototype'); diff --git a/Iterator.prototype.reduce/implementation.js b/Iterator.prototype.reduce/implementation.js index 5ecfcfa..9e33c35 100644 --- a/Iterator.prototype.reduce/implementation.js +++ b/Iterator.prototype.reduce/implementation.js @@ -2,13 +2,13 @@ var $TypeError = require('es-errors/type'); -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'); module.exports = function reduce(reducer) { if (this instanceof reduce) { diff --git a/Iterator.prototype.some/implementation.js b/Iterator.prototype.some/implementation.js index 6095e4d..1a55b78 100644 --- a/Iterator.prototype.some/implementation.js +++ b/Iterator.prototype.some/implementation.js @@ -2,15 +2,15 @@ var $TypeError = require('es-errors/type'); -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'); module.exports = function some(predicate) { if (this instanceof some) { diff --git a/Iterator.prototype.take/implementation.js b/Iterator.prototype.take/implementation.js index dd3481d..d88d523 100644 --- a/Iterator.prototype.take/implementation.js +++ b/Iterator.prototype.take/implementation.js @@ -3,15 +3,15 @@ var $RangeError = require('es-errors/range'); var $TypeError = require('es-errors/type'); -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'); var iterHelperProto = require('../IteratorHelperPrototype'); diff --git a/Iterator.prototype.toArray/implementation.js b/Iterator.prototype.toArray/implementation.js index 0fac324..0450afa 100644 --- a/Iterator.prototype.toArray/implementation.js +++ b/Iterator.prototype.toArray/implementation.js @@ -3,8 +3,8 @@ var $TypeError = require('es-errors/type'); 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'); var callBound = require('call-bind/callBound'); diff --git a/IteratorHelperPrototype/index.js b/IteratorHelperPrototype/index.js index b668f10..b30d1b7 100644 --- a/IteratorHelperPrototype/index.js +++ b/IteratorHelperPrototype/index.js @@ -5,12 +5,12 @@ var hasProto = require('has-proto')(); var iterProto = require('../Iterator.prototype/implementation'); var SLOT = require('internal-slot'); -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'); var implementation; if (hasProto) { diff --git a/WrapForValidIteratorPrototype/index.js b/WrapForValidIteratorPrototype/index.js index 8c528e4..1b7a3b0 100644 --- a/WrapForValidIteratorPrototype/index.js +++ b/WrapForValidIteratorPrototype/index.js @@ -2,10 +2,10 @@ var $TypeError = require('es-errors/type'); -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'); var SLOT = require('internal-slot'); var iterProto = require('../Iterator.prototype/implementation'); diff --git a/aos/CreateIteratorFromClosure.js b/aos/CreateIteratorFromClosure.js index 9a411e3..c6f89cf 100644 --- a/aos/CreateIteratorFromClosure.js +++ b/aos/CreateIteratorFromClosure.js @@ -3,9 +3,9 @@ var $TypeError = require('es-errors/type'); 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'); var every = require('es-abstract/helpers/every'); diff --git a/aos/GeneratorResume.js b/aos/GeneratorResume.js index 0edfc0d..18d5120 100644 --- a/aos/GeneratorResume.js +++ b/aos/GeneratorResume.js @@ -2,7 +2,7 @@ var $TypeError = require('es-errors/type'); -var CreateIterResultObject = require('es-abstract/2023/CreateIterResultObject'); +var CreateIterResultObject = require('es-abstract/2024/CreateIterResultObject'); var GeneratorValidate = require('./GeneratorValidate'); var SLOT = require('internal-slot'); diff --git a/aos/GeneratorResumeAbrupt.js b/aos/GeneratorResumeAbrupt.js index 6e6c293..b93dbb3 100644 --- a/aos/GeneratorResumeAbrupt.js +++ b/aos/GeneratorResumeAbrupt.js @@ -2,9 +2,10 @@ var $TypeError = require('es-errors/type'); -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'); var SLOT = require('internal-slot'); @@ -32,7 +33,7 @@ module.exports = function GeneratorResumeAbrupt(generator, abruptCompletion, gen } if (abruptCompletion.type() === 'return') { // 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); } var genContext = SLOT.get(generator, '[[GeneratorContext]]'); // step 5 diff --git a/aos/GeneratorStart.js b/aos/GeneratorStart.js index ad5de1b..e6fc37f 100644 --- a/aos/GeneratorStart.js +++ b/aos/GeneratorStart.js @@ -2,9 +2,9 @@ var $TypeError = require('es-errors/type'); -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'); var SLOT = require('internal-slot'); diff --git a/aos/GetIteratorDirect.js b/aos/GetIteratorDirect.js index e529154..e94f3f4 100644 --- a/aos/GetIteratorDirect.js +++ b/aos/GetIteratorDirect.js @@ -2,8 +2,8 @@ var $TypeError = require('es-errors/type'); -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'); module.exports = function GetIteratorDirect(obj) { if (Type(obj) !== 'Object') { diff --git a/aos/GetIteratorFlattenable.js b/aos/GetIteratorFlattenable.js index cd8bf2a..7857e89 100644 --- a/aos/GetIteratorFlattenable.js +++ b/aos/GetIteratorFlattenable.js @@ -2,12 +2,12 @@ var $TypeError = require('es-errors/type'); -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'); var getIteratorMethod = require('es-abstract/helpers/getIteratorMethod'); diff --git a/package.json b/package.json index 320b883..1d6e1ea 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "dependencies": { "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.3", "function-bind": "^1.1.2", diff --git a/test/Iterator.prototype.flatMap.js b/test/Iterator.prototype.flatMap.js index 0cf06aa..b8d4f9a 100644 --- a/test/Iterator.prototype.flatMap.js +++ b/test/Iterator.prototype.flatMap.js @@ -10,7 +10,7 @@ var debug = require('object-inspect'); var v = require('es-value-fixtures'); var hasSymbols = require('has-symbols/shams')(); -var StringToCodePoints = require('es-abstract/2023/StringToCodePoints'); +var StringToCodePoints = require('es-abstract/2024/StringToCodePoints'); var index = require('../Iterator.prototype.flatMap'); var impl = require('../Iterator.prototype.flatMap/implementation');