nikic / iter

Iteration primitives using generators
Other
1.12k stars 76 forks source link

Preserve keys option on chunk and toArray #42

Closed NathanBaulch closed 7 years ago

nikic commented 7 years ago

After some further consideration I decided that introducing this kind of BC break in 1.x is probably not a good idea, so I landed this with preserveKeys defaulting to true: https://github.com/nikic/iter/commit/1f5a8989452112564166436162e1e39d29cf433b This should be changed for the next major version.