Minor
- Support more browsers by changing the Browserslist query from
> 1%
to> 0.5%, not dead
.
Patch
- Updated dev dependencies.
- Ensure Babel reads from the package
browserslist
field due to a sneaky@babel/preset-env
breaking change. - Updated package scripts and config for the new
husky
version. - Removed the package
module
field. Webpack by default resolves extensionless paths the same way Node.js in--experimental-modules
mode does;.mjs
files are preferred. Tools misconfigured or unable to resolve.mjs
can get confused whenmodule
points to an.mjs
ESM file and they attempt to resolve named imports from.js
CJS files. - Added a
ReactNativeFileSubstitute
type example. - Move JSDoc typedefs to the end of files to make it quicker to find the code.
- Regenerated the readme API docs using the latest
jsdoc-md
version. - Tests now log if the environment is CJS or ESM (
--experimental-modules
) and theNODE_ENV
.