Version 8.1.0
Minor
-
Updated the package
exportsfield:-
Deep imports to specific files are now allowed, e.g.
import extractFiles from 'extract-files/lib/extractFiles.js';
const extractFiles = require('extract-files/lib/extractFiles');
-
The
package.jsoncan now be required, e.g.const pkg = require('extract-files/package.json');
// With Node.js --experimental-json-modules flag. import pkg from 'extract-files/package.json';
-
Patch
- Updated dev dependencies.
- Updated the package
engines.nodefield to10 - 12 || >= 13.7to reflect the packageexportsrelated breaking changes inextract-files@8.0.0. - Improved the package
prepare:prettierandtest:prettierscripts. - Reordered the package
test:eslintscript args for consistency withtest:prettier. - Configured Prettier option
semito the default,true. - Restructured the
srcdirectory solibandtestfiles are separate with their own.babelrc.jsfiles.