Major
extractFiles
has a new return signature and no longer mutates the original input, fixing #8. It returns an object withclone
, a clone of the original input value with files recursively replaced withnull
, andfiles
, aMap
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.