chore(deps): update test dependencies
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @types/chai (source) | ^4.3.16 -> ^4.3.20 |
||||
| @types/mocha (source) | ^10.0.7 -> ^10.0.10 |
||||
| c8 | ^10.1.2 -> ^10.1.3 |
||||
| chai (source) | ^4.4.1 -> ^4.5.0 |
||||
| husky | ^9.0.11 -> ^9.1.7 |
||||
| mocha (source) | ^10.5.1 -> ^10.8.2 |
||||
| npm-run-all2 | ^6.2.0 -> ^6.2.6 |
Release Notes
chaijs/chai (chai)
v4.5.0
What's Changed
- Update type detect by @koddsson in #1631
Full Changelog: https://github.com/chaijs/chai/compare/v4.4.1...v4.5.0
typicode/husky (husky)
v9.1.7
What's Changed
New Contributors
Full Changelog: https://github.com/typicode/husky/compare/v9.1.6...v9.1.7
v9.1.6
What's Changed
New Contributors
- @OlegKipchatov made their first contribution in #1495
- @Byron2016 made their first contribution in #1499
- @dexmlee made their first contribution in #1519
Full Changelog: https://github.com/typicode/husky/compare/v9.1.5...v9.1.6
v9.1.5
What's Changed
- fixes #1494, support
pre-merge-commithook by @RainMeoCat in #1497
New Contributors
- @RainMeoCat made their first contribution in #1497
Full Changelog: https://github.com/typicode/husky/compare/v9.1.4...v9.1.5
v9.1.4
- Improve deprecation notice
v9.1.3
- fix: better handle space in
PATH
v9.1.2
Show a message instead of automatically removing deprecated code.
This only concerns projects that still have the following code in their hooks:
- #!/usr/bin/env sh # <- This is deprecated, remove it
- . "$(dirname -- "$0")/_/husky.sh" # <- This is deprecated, remove it
### Rest of your hook code
Hooks with these lines will fail in v10.0.0
v9.1.1
Super saiyan ~~god~~ dog! It's over 9.0.0!
What's new
You can now run package commands directly, no need for npx or equivalents.
It makes writing hooks more intuitive and is also slightly faster 🐺⚡️
### .husky/pre-commit
- npx jest
+ jest # ~0.2s faster
A new recipe has been added to the docs. Lint staged files without external dependencies (inspired by Prettier docs). Feel free to modify it.
### .husky/pre-commit
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again
For more advanced use cases, see lint-staged.
Fixes
-
bunx husky initcommand - Workaround for some hooks implementation on Windows
Deprecations
-
#!/usr/bin/env shand. "$(dirname -- "$0")/_/husky.sh"are deprecated.huskycommand will automatically remove them, no action required. - If you're having code in
~/.huskyrcplease move it to.config/husky/init.sh
Support for these will be removed in v10.
Friendly reminder
If Git hooks don't fit your workflow, you can disable Husky globally. Just add export HUSKY=0 to .config/husky/init.sh.
I've seen some confusion about this on X, so just a heads-up!
Sponsoring
Husky is downloaded over 45M times per month and used by ~1.5M projects. If your company wants to sponsor, you can do so here: GitHub Sponsors.
Have a nice summer ☀️ I'm open to new opportunities/consulting so feel free to drop me a message 😉
v9.1.0
mochajs/mocha (mocha)
v10.8.2
🩹 Fixes
- support errors with circular dependencies in object values with --parallel (#5212) (ba0fefe)
- test link in html reporter (#5224) (f054acc)
📚 Documentation
🧹 Chores
🤖 Automation
v10.8.1
🩹 Fixes
- handle case of invalid package.json with no explicit config (#5198) (f72bc17)
- Typos on mochajs.org (#5237) (d8ca270)
- use accurate test links in HTML reporter (#5228) (68803b6)
v10.8.0
🌟 Features
🩹 Fixes
📚 Documentation
- add
SECURITY.mdpointing to Tidelift (#5210) (bd7e63a) - adopt Collective Funds Guidelines 0.1 (#5199) (2b03d86)
- update README, LICENSE and fix outdated (#5197) (1203e0e)
🧹 Chores
v10.7.3
🩹 Fixes
v10.7.0
:tada: Enhancements
- #4771 feat: add option to not fail on failing test suite (@ilgonmic)
v10.6.1
:bug: Fixes
- #3825 fix: do not exit when only unref'd timer is present in test code (@boneskull)
- #5040 fix: support canonical module (@JacobLey)
v10.6.0
:tada: Enhancements
- #5150 feat: allow ^ versions for character encoding packages (@JoshuaKGoldberg)
- #5151 feat: allow ^ versions for file matching packages (@JoshuaKGoldberg)
- #5152 feat: allow ^ versions for yargs packages (@JoshuaKGoldberg)
- #5153 feat: allow ^ versions for data serialization packages (@JoshuaKGoldberg)
- #5154 feat: allow ^ versions for miscellaneous packages (@JoshuaKGoldberg)
v10.5.2
:bug: Fixes
- #5032 fix: better tracking of seen objects in error serialization (@sam-super)
bcomnes/npm-run-all2 (npm-run-all2)
v6.2.6
Commits
- Prevent a throw when looking up undefined results
d928f9a
v6.2.5
v6.2.4
Merged
- Switch to JS-based
whichcommand#154
Fixed
- Switch to JS-based
whichcommand#153
v6.2.3
Commits
- Merge pull request #151 from bcomnes/fix-pnpm-agian
c43fa2b - Avoid passing config fields as flags for pnpm
dc2d7da
v6.2.2
Commits
- Revert "Compatibility: npm, yarn and pnpm run scripts"
fc35f0d
v6.2.1
Merged
Configuration
📅 Schedule: Branch creation - Between 05:00 AM and 05:59 AM, every 14 days ( * 5 */14 * * ) in timezone Europe/Stockholm, 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.