You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 KiB
25 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v1.3.2 - 2026-04-09
Commits
- [Fix] detect missing early-error
IteratorClosein native implementations7de2a9d - [Fix] remove invalid expando properties on
indexfiles8416384 - [Fix]
IteratorZip: remove errored iterator fromopenItersin strict mode53f4b4a - [Fix]
filter: add early-errorIteratorClosepattern, fix counter increment orderingef39451 - [Fix]
flatMap: add early-errorIteratorClosepattern, fix inner iterator close semanticsdc122cc - [Fix]
drop,flatMap: do not close iterator onIteratorStepValueprotocol violation8761fe6 - [Fix]
drop: add early-errorIteratorClosepattern, fix validation orderingf5cc006 - [Fix]
take: add early-errorIteratorClosepattern, fix validation orderingfb5db74 - [Fix]
zipKeyed: useGetfor property access, fix missingIfAbruptCloseIteratorsaec8d80 - [Fix]
map: add early-errorIteratorClosepattern per latest specce222a4 - [Fix]
find: add early-errorIteratorClosepattern per latest spece7cb5e9 - [Fix]
every: add early-errorIteratorClosepattern per latest spec64630cb - [Fix]
forEach: add early-errorIteratorClosepattern per latest specbeb0650 - [Fix]
reduce: add early-errorIteratorClosepattern per latest spec14225ab - [Fix]
some: add early-errorIteratorClosepattern per latest spec3bf20c3 - [Fix]
includes: allowInfinity/-InfinityforskippedElements8eddc9e - [Fix]
GeneratorResumeAbrupt: passReturnCompletiontocloseIfAbrupt55dc985 - [Tests]
zipKeyed: work around V8 4.6 (node 5)ownKeysordering bug in accessor test309cdc1 - [Dev Deps] update
@es-shims/api,@ljharb/eslint-config9694b21 - [Deps] remove unused dep
1089a80 - [readme] fix markdown formatting
1545d84 - [Deps] update
call-bind45897c7 - [readme] document
{ next: null }Chrome bug and affected versionseee929c - [Deps] update
es-abstract7bed3ec
v1.3.1 - 2026-03-12
Commits
- [Fix]
includes: close iterator when throwing5b2ed34
v1.3.0 - 2026-03-11
Commits
- [New] add
Iterator.prototype.includes554f43a - [Dev Deps] update
@ljharb/eslint-config,eslintf61fcfa - [Robustness] use
void876d259 - [Dev Deps] update
@ljharb/eslint-config,npmignore07d3e98 - [readme] update spec URL
132faeb - [readme] replace runkit CI badge with shields.io check-runs badge
fbd6ffe
v1.2.2 - 2025-12-13
Commits
- [Tests] joint iteration: add missing & passing test262 tests
34258f3 - [Deps] update
call-bound,es-abstract,get-intrinsice05660b - [Tests]
Iterator.from,Iterator.prototype.toArray: add missing & passing test262 tests7831bd6 - [Dev Deps] update
eslint,@ljharb/eslint-config35ecd14 - [Fix]
IteratorZip: return should close all underlying iterators5bcab73 - [Fix]
IteratorHelperPrototype: throw TypeError whenreturn()is called re-entrantly0acdd41 - [Tests]
Iterator.concat: add missing & passing test262 tests9645f4d - [Fix]
Iterator.concat: preventreturn()from being forwarded multiple times1271d61 - [Fix]
Iterator.zip: strict mode should return sentinel after all iterators donef4c8b99 - [Dev Deps] update
@es-shims/api,@ljharb/eslint-config,eslint,eslint-plugin-import,has-strict-mode,make-generator-function,npmignoreacba233 - [Deps] update
es-abstract,es-set-tostringtag,get-intrinsic,iterator.prototype06515e7 - [Dev Deps] update
es-value-fixtures,for-each,object-inspect2afe7a3 - [Dev Deps] update
@ljharb/eslint-config,eslint18fa1c1 - [Fix]
GeneratorResumeAbrupt: set state to COMPLETED after return completion10e5e21 - [Deps] update
es-abstract3469d15 - [Dev Deps] add missing peer dep
a0d780d
v1.2.1 - 2024-12-20
Commits
- [Tests]
Iterator.concat: add most of the tests from https://github.com/tc39/test262/pull/43262e340da - [Fix]
Iterator.concat: rewrite implementation to match updated spec text1a70fd3 - [Fix]
IteratorZipAO: allow an empty list of iterators265e566 - [actions] split out node 10-20, and 20+
3cc9db0 - [Fix]
IteratorHelperPrototype: in pre-proto envs, use same.returnimplda02ab6 - [Deps] update
call-bind,es-abstract,get-intrinsic,gopd,has-proto,internal-slot,iterator.prototype,safe-array-concate9eefab - [Tests]
Iterator.zip: nullish non-function Symbol.iterator does not throwc6b0705 - [Refactor] use
call-bounddirectly92afc5a - [Deps] update
gopd,has-proto,has-symbols7f8a1c0 - [readme] add missing info for
Iterator.zip,Iterator.zipKeyeddd80b2f - [Dev Deps] update
@es-shims/api1e9857c - [Deps] update
es-abstractc8157da - [Deps] update
es-abstract256de0e - [Dev Deps] update
object-inspect2f8544b
v1.2.0 - 2024-11-04
Commits
- [New] add
Iterator.zip,Iterator.zipKeyedd11073f - [Fix]
concat: add missing slot for.return; convert singular slot to plural slotcc4b586 - [Dev Deps] update
@es-shims/apidd14f1b
v1.1.0 - 2024-10-09
Commits
- [New] add
Iterator.concat1c07c21 - [readme] add ESM and CJS examples
ae0b60c - [Dev Deps] update
@es-shims/api,auto-changelog,es-value-fixtures,eslint-plugin-import,tapebd34766 - [Dev Deps] update
@ljharb/eslint-config,mock-property,object-inspect,tape2016080 - [readme] fix copy-paste errors
799255c - [Tests] replace
audwithnpm audit4c48a77 - [Deps] update
globalthis14d9e97 - [Dev Deps] update
@es-shims/api15d84bb - [Dev Deps] add missing peer dep
34559b9
v1.0.19 - 2024-04-24
Commits
- [patch] remove unused AOs
698cef7 - [Fix]
drop,filter,flatMap,map: rpatch a v8 bug when polyfilling3670395 - [Deps] update
es-abstractd2b47a5
v1.0.18 - 2024-03-15
Commits
- [Deps] update
es-abstract6b45f15 - [Deps] update
es-set-tostringtag,has-proto,safe-array-concat6350106 - [Dev Deps] update
tape5509b40 - [Deps] remove an unused dep
78e34a5
v1.0.17 - 2024-02-13
Fixed
- [Fix] avoid use of internal
assertRecordhelper fromes-abstract#5
Commits
- [Deps] update
call-bind,es-abstract,has-property-descriptorse563ee7
v1.0.16 - 2024-02-09
Commits
- [Refactor] use
IteratorStepValueaa62d72 - [Refactor] use
es-errorsinstead ofget-intrinsicwhere possible05a25ae - [Deps] update
call-bind,es-abstract,es-set-tostringtag,function-bind,get-intrinsic,has-property-descriptors,internal-slot,safe-array-concat6aeee43 - [Dev Deps] update
aud,eslint-plugin-import,mock-property,npmignore,object-inspect,tape0a21fdb - [Deps] update
call-bind,es-errors,get-intrinsic,internal-slot5b10625 - [meta] add missing
engines.node1534039 - [Deps] update
get-intrinsic37da5f2 - [Dev Deps] update
has-tostringtaga7cac51
v1.0.15 - 2023-09-13
Commits
- [New] add
Iterator.prototypeshimc4a6203 - [Tests] add passing tests for native generators
57bae8c - [Deps] update
define-properties,iterator.prototype,safe-array-concat56ca087
v1.0.14 - 2023-08-26
Commits
v1.0.13 - 2023-08-16
Fixed
- [Deps] add missing deps; add eslint-plugin-import
#3
v1.0.12 - 2023-07-14
Commits
- [Fix] avoid creating string wrapper objects with sloppy mode flatMap mappers
db16b34 - [Deps] update
es-abstractf002147 - [Dev Deps] update
@ljharb/eslint-config,aud [42064e8`](42064e80e0) - [meta] fix tidelift funding identifier
896fd4f
v1.0.11 - 2023-05-22
Commits
- [Fix] iterator helpers are not a constructor
8a7f999
v1.0.10 - 2023-05-18
Commits
- [patch] remove IsCallable check on NextMethod, deferring errors to callsite
bbb7efa - [patch] change Symbol.iterator fallback from callable check to nullish check
ec3e255 - [Tests] add test cases
5117c47 - [Dev Deps] update
@es-shims/api9fa13a0 - [Dev Deps] update
@es-shims/apib74b0ac
v1.0.9 - 2023-05-02
Commits
- [Refactor] use 2022 AO instead of 2015 AO
75ee5c4
v1.0.8 - 2023-05-02
Commits
- [Fix]
flatMap: close the inner iterator when applicable4dc94e0
v1.0.7 - 2023-05-01
Commits
- [Fix]
flatMap: properly handle yielded iterables3a78767 - [Fix]
flatMap: only increment the count when iterating the outer iterator955d0b0
v1.0.6 - 2023-04-20
Commits
- [Refactor]
GetIteratorFlattenable: remove hint781fc7c - [Refactor]
GetIteratorFlattenable: useGetIteratorDirect026118b - [Refactor] use
safe-array-concat1d985a4
v1.0.5 - 2023-03-22
Commits
- [Tests] add passing tests for 4240029
c2082fe - [Fix] properly allow subclasses of Iterator to be constructed
5cebe2a
v1.0.4 - 2023-03-21
Commits
- [Fix] validate arguments first
4240029 - [Fix] close underlying iterator when helper is closed
f5372c7 - [Tests]
Iterator: remove an unnecessary call-bind7d0ba59
v1.0.3 - 2023-03-17
Commits
- [Fix]
drop/filter/flatMap/map/take: properly IfAbruptCloseIteratorff643a0 - [Refactor] use
NormalCompletion/ThrowCompletioninstead of thunks68fd937 - [Fix]
filter: IteratorClose needs to rethrow the error200474f - [Fix]
filter: properly increment the counter14aa2d8 - [Fix]
Iteratorcan not benewed or invoked directly6fbd68e - [Fix]
Iterator.prototypeshould be non-writable1080288 - [Deps] update
es-abstractb7913da - [Dev Deps] update
@es-shims/api0071bed
v1.0.2 - 2023-02-09
Commits
- [Refactor] inline 2023 impls of Iterator AOs until es-abstract is published with them
b9c80c5 - [Fix] ensure calling
.returndoes not invoke the next iteration9e28ed5 - [Fix]
map: pass the proper index argument to the mapper125e3ca - [Deps] update
internal-slot43351b6
v1.0.1 - 2023-02-07
Commits
- [Fix]
Iterator: throw when Iterator() is called without newa6fc7e7