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.2.0 - 2024-11-04
- [New] add
Iterator.zip
,Iterator.zipKeyed
d11073f
- [Fix]
concat
: add missing slot for.return
; convert singular slot to plural slotcc4b586
- [Dev Deps] update
@es-shims/api
dd14f1b
v1.1.0 - 2024-10-09
- [New] add
Iterator.concat
1c07c21
- [readme] add ESM and CJS examples
ae0b60c
- [Dev Deps] update
@es-shims/api
,auto-changelog
,es-value-fixtures
,eslint-plugin-import
,tape
bd34766
- [Dev Deps] update
@ljharb/eslint-config
,mock-property
,object-inspect
,tape
2016080
- [readme] fix copy-paste errors
799255c
- [Tests] replace
aud
withnpm audit
4c48a77
- [Deps] update
globalthis
14d9e97
- [Dev Deps] update
@es-shims/api
15d84bb
- [Dev Deps] add missing peer dep
34559b9
v1.0.19 - 2024-04-24
- [patch] remove unused AOs
698cef7
- [Fix]
drop
,filter
,flatMap
,map
: rpatch a v8 bug when polyfilling3670395
- [Deps] update
es-abstract
d2b47a5
v1.0.18 - 2024-03-15
- [Deps] update
es-abstract
6b45f15
- [Deps] update
es-set-tostringtag
,has-proto
,safe-array-concat
6350106
- [Dev Deps] update
tape
5509b40
- [Deps] remove an unused dep
78e34a5
v1.0.17 - 2024-02-13
- [Fix] avoid use of internal
assertRecord
helper fromes-abstract
#5
- [Deps] update
call-bind
,es-abstract
,has-property-descriptors
e563ee7
v1.0.16 - 2024-02-09
- [Refactor] use
IteratorStepValue
aa62d72
- [Refactor] use
es-errors
instead ofget-intrinsic
where possible05a25ae
- [Deps] update
call-bind
,es-abstract
,es-set-tostringtag
,function-bind
,get-intrinsic
,has-property-descriptors
,internal-slot
,safe-array-concat
6aeee43
- [Dev Deps] update
aud
,eslint-plugin-import
,mock-property
,npmignore
,object-inspect
,tape
0a21fdb
- [Deps] update
call-bind
,es-errors
,get-intrinsic
,internal-slot
5b10625
- [meta] add missing
engines.node
1534039
- [Deps] update
get-intrinsic
37da5f2
- [Dev Deps] update
has-tostringtag
a7cac51
v1.0.15 - 2023-09-13
- [New] add
Iterator.prototype
shimc4a6203
- [Tests] add passing tests for native generators
57bae8c
- [Deps] update
define-properties
,iterator.prototype
,safe-array-concat
56ca087
v1.0.14 - 2023-08-26
v1.0.13 - 2023-08-16
- [Deps] add missing deps; add eslint-plugin-import
#3
v1.0.12 - 2023-07-14
- [Fix] avoid creating string wrapper objects with sloppy mode flatMap mappers
db16b34
- [Deps] update
es-abstract
f002147
- [Dev Deps] update
@ljharb/eslint-config
,aud [
42064e8`](https://github.com/es-shims/iterator-helpers/commit/42064e80e0cc37f5e4676c2133dacae7456e313f) - [meta] fix tidelift funding identifier
896fd4f
v1.0.11 - 2023-05-22
- [Fix] iterator helpers are not a constructor
8a7f999
v1.0.10 - 2023-05-18
- [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/api
9fa13a0
- [Dev Deps] update
@es-shims/api
b74b0ac
v1.0.9 - 2023-05-02
- [Refactor] use 2022 AO instead of 2015 AO
75ee5c4
v1.0.8 - 2023-05-02
- [Fix]
flatMap
: close the inner iterator when applicable4dc94e0
v1.0.7 - 2023-05-01
- [Fix]
flatMap
: properly handle yielded iterables3a78767
- [Fix]
flatMap
: only increment the count when iterating the outer iterator955d0b0
v1.0.6 - 2023-04-20
- [Refactor]
GetIteratorFlattenable
: remove hint781fc7c
- [Refactor]
GetIteratorFlattenable
: useGetIteratorDirect
026118b
- [Refactor] use
safe-array-concat
1d985a4
v1.0.5 - 2023-03-22
- [Tests] add passing tests for 4240029
c2082fe
- [Fix] properly allow subclasses of Iterator to be constructed
5cebe2a
v1.0.4 - 2023-03-21
- [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
- [Fix]
drop
/filter
/flatMap
/map
/take
: properly IfAbruptCloseIteratorff643a0
- [Refactor] use
NormalCompletion
/ThrowCompletion
instead of thunks68fd937
- [Fix]
filter
: IteratorClose needs to rethrow the error200474f
- [Fix]
filter
: properly increment the counter14aa2d8
- [Fix]
Iterator
can not benew
ed or invoked directly6fbd68e
- [Fix]
Iterator.prototype
should be non-writable1080288
- [Deps] update
es-abstract
b7913da
- [Dev Deps] update
@es-shims/api
0071bed
v1.0.2 - 2023-02-09
- [Refactor] inline 2023 impls of Iterator AOs until es-abstract is published with them
b9c80c5
- [Fix] ensure calling
.return
does not invoke the next iteration9e28ed5
- [Fix]
map
: pass the proper index argument to the mapper125e3ca
- [Deps] update
internal-slot
43351b6
v1.0.1 - 2023-02-07
- [Fix]
Iterator
: throw when Iterator() is called without newa6fc7e7