Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump babel-watch from 2.0.8 to 7.7.2 in /src/tools/webd #39

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 7, 2022

Bumps babel-watch from 2.0.8 to 7.7.2.

Release notes

Sourced from babel-watch's releases.

Add --config-file option

Small release to add the --config-file option. #124

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.

--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 the babel-watch parent instance and to the child (your code), causing issues with options like --inspect. Therefore, I have added BABEL_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.
  • #120: It appears the --watch option (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-watch would 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 --extensions if 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 to babel. In a later release I will rename this because it's confusing.
    • See the README for all options.

NPM package bugfix

An unexpected file made it into the package. This release removes it which greatly decreases the size of the unpacked module.

7.3.0: Features!

A few new features in this release:

  • Added --before-restart option. 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-colors option)
    • This changes the default RESTARTING message in favor of something a little less obnoxious. It also prints the files that caused the restart. You can still change it using --message.
  • Added --restart-command, so you can change the default rs<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-brk are present. (#62, #118)
    • Added --no-debug-source-maps to disable this behavior, which can be useful if you want to debug the raw transpiled output.

7.2.0: New quality-of-life features!

Changes:

  • Fix broken --ignore option, introduced in babel 7 upgrade. (#106, #112)
  • Add --clear-console option (#115)
  • Add debug module. Run with env DEBUG="babel-watch:*" babel-watch [file] to see debug output, including compiled files, ignored files, and init options.
  • Updated README and help messaging.

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 node process stick at 100% cpu from time to time, this is now fixed if you update!
  • 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)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by strml, a new releaser for babel-watch since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [babel-watch](https://github.com/kmagiera/babel-watch) from 2.0.8 to 7.7.2.
- [Release notes](https://github.com/kmagiera/babel-watch/releases)
- [Commits](https://github.com/kmagiera/babel-watch/commits/v7.7.2)

---
updated-dependencies:
- dependency-name: babel-watch
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 7, 2022

The following labels could not be found: lang/web.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants