This is a reminder that groupBy is natively available in Node 22+.
So our workaround can be removed:
https://github.com/faker-js/faker/blob/next/src/internal/group-by.ts
We can do that when dropping support for Node 20 as part of v11.
Currently on hold, since we aren't ready for v11 yet.
This is a reminder that
groupByis natively available in Node 22+.So our workaround can be removed:
https://github.com/faker-js/faker/blob/next/src/internal/group-by.ts
We can do that when dropping support for Node 20 as part of v11.
Currently on hold, since we aren't ready for v11 yet.