npm extract-files 5.0.0
Version 5.0.0

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

Major

  • extractFiles has a new return signature and no longer mutates the original input, fixing #8. It returns an object with clone, a clone of the original input value with files recursively replaced with null, and files, a Map instance keying each extracted file to an array of object paths.

Minor

  • Files can now be used as the root value passed to extractFiles.

Patch

  • Updated dev dependencies.
  • Updated package description.
  • Moved JSDoc type definitions into the index file.
  • Manually composed package exports instead of relying on *.
  • Improved tests.
  • Added a paragraph explaining the GraphQL use case to the readme.

Don't miss a new extract-files release

NewReleases is sending notifications on new releases.