npm extract-files 6.0.0
Version 6.0.0

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

Major

  • Updated Node.js support from v6+ to v8.10+.

Minor

  • Added the ability to customize what are extractable files, fixing #10 via #11:
    • Added a new third parameter to the extractFiles function, for specifying a custom extractable file matcher.
    • Export a new isExtractableFile function that is used as the default extractable file matcher for the extractFiles function. This can be used in a custom extractable file matcher implementation to match the default extractable files, along with additional custom files.
  • Setup GitHub Sponsors funding:
    • Added .github/funding.yml to display a sponsor button in GitHub.
    • Added a package.json funding field to enable npm CLI funding features.

Patch

  • Updated dev dependencies.
  • Replaced the size-limit dev dependency with @size-limit/preset-small-lib.
  • Added a new babel-plugin-transform-require-extensions dev dependency and ensured ESM import specifiers in both source and published .mjs files contain file names with extensions, which are mandatory in the final Node.js ESM implementation. Published CJS .js files now also have file extensions in require paths.
  • Added a package module field.
  • Removed now redundant ESLint disable require-jsdoc comments.
  • Use GitHub Actions instead of Travis for CI.
  • Redid the test scripts and enforced 100% code coverage.
  • Run size limit tests last in the package test script as they are the slowest.
  • Only size limit test the ESM build.
  • Updated the package test:tap script to workaround a tap bug.
  • Simplified the prepublishOnly script.
  • Ordered plugins before presets in Babel config as they run first.
  • Reduced the size of the published package.json by moving dev tool config to files.
  • Only target the root lib directory in .gitignore and .eslintignore.
  • Removed package-lock.json from .gitignore and .prettierignore as it’s disabled in .npmrc anyway.
  • Prevented ESLint from ignoring dotfiles.
  • Clarified that Opera Mini isn’t supported in the Browserslist queries and readme “Support” section.

Don't miss a new extract-files release

NewReleases is sending notifications on new releases.