npm extract-files 8.1.0
Version 8.1.0

latest releases: 13.0.0, 12.0.0, 11.0.0...
4 years ago

Minor

  • Updated the package exports field:

    • 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.json can 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.node field to 10 - 12 || >= 13.7 to reflect the package exports related breaking changes in extract-files@8.0.0.
  • Improved the package prepare:prettier and test:prettier scripts.
  • Reordered the package test:eslint script args for consistency with test:prettier.
  • Configured Prettier option semi to the default, true.
  • Restructured the src directory so lib and test files are separate with their own .babelrc.js files.

Don't miss a new extract-files release

NewReleases is sending notifications on new releases.