Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

chore(deps): update dependency extract-files to v5 #262

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 20, 2018

This PR contains the following updates:

Package Type Update Change
extract-files dependencies major ^2.0.1 -> ^5.0.0

Release Notes

jaydenseric/extract-files

v5.0.1

Compare Source

Patch

v5.0.0

Compare Source

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.

v4.1.0

Compare Source

Minor
Patch
  • Updated dev dependencies.
  • Ensure Babel reads from the package browserslist field due to a sneaky @babel/preset-env breaking change.
  • Updated package scripts and config for the new husky version.
  • Removed the package module field. Webpack by default resolves extensionless paths the same way Node.js in --experimental-modules mode does; .mjs files are preferred. Tools misconfigured or unable to resolve .mjs can get confused when module points to an .mjs ESM file and they attempt to resolve named imports from .js CJS files.
  • Added a ReactNativeFileSubstitute type example.
  • Move JSDoc typedefs to the end of files to make it quicker to find the code.
  • Regenerated the readme API docs using the latest jsdoc-md version.
  • Tests now log if the environment is CJS or ESM (--experimental-modules) and the NODE_ENV.

v4.0.0

Compare Source

Major
  • extractFiles is a named export again, and there is no longer a default export; mixed named and default exports causes native ESM and CJS interoperability issues.
  • isObject is no longer exported. It was not a documented API anyway.
  • Removed the ReactNativeFile static function list. It added surface area to the API and bundles and is simple to do manually.
Minor
  • Updated Babel, removing the @babel/runtime dependency.
  • Refactored package scripts to use prepare to support installation via Git (e.g. npm install jaydenseric/extract-files).
  • Package marked side-effect free for bundlers and tree-shaking.
Patch
  • Use jsdoc-md to generate readme API docs from source JSDoc, which has been much improved.
  • Use tap instead of ava. Tests no longer transpile on the fly, are faster and AVA no longer dictates the Babel version.
  • Tests run against the actual dist .mjs and .js files in both native ESM (--experimental-modules) and CJS environments.
  • Added a package test:size script, using size-limit to guarantee < 500 byte ESM and CJS bundle sizes.
  • Removed the package clean script rimraf dev dependency in favour of native rm -rf.
  • Removed the package fix script.
  • Renamed the MODULE environment variable to BABEL_ESM to be more specific for the package prepare:mjs script.
  • Lint .json, .yml and .md files.
  • Use .prettierignore to leave package.json formatting to npm.
  • Use eslint-config-env.
  • Compact package repository field.
  • Updated package description.
  • HTTPS package author URL.
  • Added package keywords.
  • Replaced shields.io readme badges with:
    • A Badgen npm version badge.
    • An official Travis badge that only tracks master branch.
  • Changelog version entries now have “Major”, “Minor” and “Patch” subheadings.

v3.1.0

Compare Source

Minor
Patch
  • Updated dependencies.

v3.0.0

Compare Source

Major
  • The extractFiles function is now the default export.
  • Replace extracted files with null instead of deletion, fixing #​4.
Patch
  • Updated dev dependencies.
  • Simplified npm scripts.

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot assigned evans Dec 20, 2018
@renovate renovate bot requested a review from evans December 20, 2018 01:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants