Bump braces from 3.0.2 to 3.0.3
Migrate yarn.lock
to package-lock.json
Bump micromatch from 4.0.5 to 4.0.8
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)
Removed invalid key types
from package.json
(thanks @imjordanxd)
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)
Now using React 18.2.0 and Typescript 5.0.4. If this change effects your application, depend directly on 2.0.0
BREAKING: Package is now ESM-compatible (thanks @imjordanxd!)
Bumps a number of deep dependencies with security issues
Removes index.ts
from the distributed package
Avoid adding an extra first period to the keys at the zero depth (what was
..$apple
is now .$apple
)
Initial release