- Minimal supported Node.js version is now
18.18.0
- Minimal supported Node.js version is now
16.17.0
- Migrate to TypeScript
- Improve TypeScript types
- Improve tree-shaking support
- Add browser support
- Reduce npm package size
- Improve TypeScript types.
- Minimal supported Node.js version is now
14.18.0
- Improve TypeScript types.
- Fix
main
field inpackage.json
- Minimal supported Node.js version is now
12.20.0
- This package is now an ES module. It can only be loaded with an
import
orimport()
statement, notrequire()
. See this post for more information.
- Add TypeScript types. Thanks @MarcelGerber!
- Minimal supported Node.js version is now
10.17.0
- Remove
core-js
dependency. This library now has 0 production dependencies.
- The
iterate()
method has been moved to a separate modulebig-cartesian
. - The
array()
method is now the default export instead of a named export.
- Rename
cartesianArray()
andcartesianIterate()
toarray()
anditerate()
- An array of arguments must now be used instead of variadic arguments.
array(...args)
is nowarray(args)
anditerate(...args)
is nowiterate(args)
.
iterate()
can now handle an infinite number of combinations- Each dimension passed to
iterate()
can now be not only an array but also a generator function.
- Improve performance
- Improve performance
- Improve performance
- Use named exports instead of a default export.