chore(deps): update dependency babel-watch to v7.8.1
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| babel-watch | 7.0.0 → 7.8.1 |
Release Notes
kmagiera/babel-watch (babel-watch)
v7.8.1
v7.8.0
Uncategorized
v7.7.2
v7.7.1
v7.7.0
v7.6.0
v7.5.0: Add --config-file option
Small release to add the --config-file option. #124
v7.4.1: Fix regression in --extensions
This release fixes #122, which was caused by an unintended regression in --extensions. Babel's default extensions are always included. We may change this behavior in a major version bump but the behavior in v7 should not change.
v7.4.0: --watch fix and BABEL_WATCH_NODE_OPTIONS
This release fixes two issues:
-
#98: There wasn't a good way to reliably pass NODE_OPTIONS to the child. If you use
NODE_OPTIONS, it will apply both to thebabel-watchparent instance and to the child (your code), causing issues with options like--inspect. Therefore, I have addedBABEL_WATCH_NODE_OPTIONS, which will be ignored by the parent and passed on to the child like you'd expect. In 99.9% of cases, this is what you want.- See the README for more details.
-
#120: It appears the
--watchoption (i.e.babel-watch --watch interfaces/ app.js) didn't actually do anything very useful. It would add the folder to be watched by chokidar, but because it wasn't required by the application,babel-watchwould simply execute no action on a modification. This is not intended so that logic has been removed, and you can now watch arbitrary folders and restart on them.- Just be sure to add to
--extensionsif the files you're watching don't end in.js. - If you need to exclude a path, use
--exclude. Be careful not to use--ignore, which is instead passed tobabel. In a later release I will rename this because it's confusing. - See the README for all options.
- Just be sure to add to
v7.3.1: NPM package bugfix
An unexpected file made it into the package. This release removes it which greatly decreases the size of the unpacked module.
v7.3.0: 7.3.0: Features!
A few new features in this release:
- Added
--before-restartoption. Use to synchronously execute a script between restarts (#79, #80, #102,#108). For example:-
babel-watch --before-restart="yarn lint" app.js
-
- Added colors to output (and
--no-colorsoption)- This changes the default
RESTARTINGmessage in favor of something a little less obnoxious. It also prints the files that caused the restart. You can still change it using--message.
- This changes the default
- Added
--restart-command, so you can change the defaultrs<enter>to manually restart. If you set--restart-command=false, the stdin handler is turned off entirely, which is desirable for certain interactive applications. (#35) - Added sourcemaps when
--debug/--debug-brk/--inspect/--inspect-brkare present. (#62, #118)- Added
--no-debug-source-mapsto disable this behavior, which can be useful if you want to debug the raw transpiled output.
- Added
v7.2.0: 7.2.0: New quality-of-life features!
Changes:
- Fix broken
--ignoreoption, introduced in babel 7 upgrade. (#106, #112) - Add
--clear-consoleoption (#115) - Add
debugmodule. Run withenv DEBUG="babel-watch:*" babel-watch [file]to see debug output, including compiled files, ignored files, and init options. - Updated README and help messaging.
v7.1.0: 7.1.0: Long-awaited Bugfixes
We finally have publish access again, and have updated babel-watch!
See the release diff for the exact changes.
Highlights:
- Fix an infinite loop bug when the pipe is closed (#85, #46, #32).
- If you're using babel-watch and have seen a
nodeprocess stick at 100% cpu from time to time, this is now fixed if you update!
- If you're using babel-watch and have seen a
- Updated Chokidar from v1 to v3, which improves performance & atomic writes handling (#97, #101, #104, #105)
- Debounce app restart to prevent missing cache deletions (#99)
- Fix a crash on improper use of
Buffer.from()(#100)
Thanks @kmagiera for getting publish access into the hands of the community so we can fix these bugs.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 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 was generated by Mend Renovate. View the repository job log.