react-keyed-flatten-children
Advanced tools
Changelog
3.0.0
Convert to ESM by default.
Transpile to ES2015.
CommonJS now uses module.exports
rather than exports.default
. This
allows for importing in CommonJS without requiring explicit default
. e.g.
// Previous:
const flattenChildren = require("react-keyed-flatten-children");
flattenChildren.default(children);
// Now:
const flattenChildren = require("react-keyed-flatten-children");
flattenChildren(children);
(thanks @will-stone)
Changelog
2.2.0
Fix issue with build, dist/
wasn't included with the ESM change (thanks @imjordanxd)
Fix Typescript version in CHANGELOG (thanks @rnestler)
Adds Node v20 support (CI coverage)
Changelog
2.1.0
Now using React 18.2.0 and Typescript 5.0.4. If this change effects your application, depend directly on 2.0.0
Changelog
2.0.0
BREAKING: Package is now ESM-compatible (thanks @imjordanxd!)
Bumps a number of deep dependencies with security issues