voxpelli / pony-cause

Ponyfill and helpers for the standardized Error Causes
BSD Zero Clause License
49 stars 4 forks source link

Update test dependencies (major) - autoclosed #86

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
c8 ^9.1.0 -> ^10.1.2 age adoption passing confidence
chai (source) ^4.4.1 -> ^5.1.1 age adoption passing confidence
husky ^8.0.3 -> ^9.0.11 age adoption passing confidence

Release Notes

bcoe/c8 (c8) ### [`v10.1.2`](https://togithub.com/bcoe/c8/blob/HEAD/CHANGELOG.md#1012-2024-06-13) [Compare Source](https://togithub.com/bcoe/c8/compare/v10.1.1...v10.1.2) ##### Bug Fixes - **deps:** make monocart-coverage-reports an optional with meta defined ([3b91fda](https://togithub.com/bcoe/c8/commit/3b91fdaa0e5554a72f6e625af3a7254b0cb19e8c)) ### [`v10.1.1`](https://togithub.com/bcoe/c8/blob/HEAD/CHANGELOG.md#1011-2024-06-11) [Compare Source](https://togithub.com/bcoe/c8/compare/v10.1.0...v10.1.1) ##### Bug Fixes - stop installing monocart-coverage-reports ([#​535](https://togithub.com/bcoe/c8/issues/535)) ([13979a7](https://togithub.com/bcoe/c8/commit/13979a76b5b44fc6758f350bae4cb3febd60d75e)) ### [`v10.1.0`](https://togithub.com/bcoe/c8/blob/HEAD/CHANGELOG.md#1010-2024-06-11) [Compare Source](https://togithub.com/bcoe/c8/compare/v10.0.0...v10.1.0) ##### Features - add experimental monocart reports ([#​521](https://togithub.com/bcoe/c8/issues/521)) ([2e5e297](https://togithub.com/bcoe/c8/commit/2e5e297ac024bf7af1bc72689b644e11d73eac89)) ### [`v10.0.0`](https://togithub.com/bcoe/c8/blob/HEAD/CHANGELOG.md#1000-2024-06-10) [Compare Source](https://togithub.com/bcoe/c8/compare/v9.1.0...v10.0.0) ##### ⚠ BREAKING CHANGES - **deps:** Node 18 is now the minimum supported Node.js version ##### Bug Fixes - **deps:** update test-exclude with new glob / minimatch ([#​531](https://togithub.com/bcoe/c8/issues/531)) ([e33cf30](https://togithub.com/bcoe/c8/commit/e33cf30d0c44470f9c87553df487e2f27f58f4ac))
chaijs/chai (chai) ### [`v5.1.1`](https://togithub.com/chaijs/chai/releases/tag/v5.1.1) [Compare Source](https://togithub.com/chaijs/chai/compare/v5.1.0...v5.1.1) #### What's Changed - Set up ESLint for JSDoc comments by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1605](https://togithub.com/chaijs/chai/pull/1605) - build(deps-dev): bump ip from 1.1.8 to 1.1.9 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/chaijs/chai/pull/1608](https://togithub.com/chaijs/chai/pull/1608) - Correct Mocha import instructions by [@​MattiSG](https://togithub.com/MattiSG) in [https://github.com/chaijs/chai/pull/1611](https://togithub.com/chaijs/chai/pull/1611) - fix: support some virtual contexts in `toThrow` by [@​43081j](https://togithub.com/43081j) in [https://github.com/chaijs/chai/pull/1609](https://togithub.com/chaijs/chai/pull/1609) #### New Contributors - [@​MattiSG](https://togithub.com/MattiSG) made their first contribution in [https://github.com/chaijs/chai/pull/1611](https://togithub.com/chaijs/chai/pull/1611) **Full Changelog**: https://github.com/chaijs/chai/compare/v5.1.0...v5.1.1 ### [`v5.1.0`](https://togithub.com/chaijs/chai/releases/tag/v5.1.0) [Compare Source](https://togithub.com/chaijs/chai/compare/v5.0.3...v5.1.0) #### What's Changed - Remove useless guards and add parentheses to constuctors by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1593](https://togithub.com/chaijs/chai/pull/1593) - Cleanup jsdoc comments by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1596](https://togithub.com/chaijs/chai/pull/1596) - Convert comments in "legal comments" format to jsdoc or normal comments by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1598](https://togithub.com/chaijs/chai/pull/1598) - Implement `iterable` assertion by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1592](https://togithub.com/chaijs/chai/pull/1592) - Assert interface fix by [@​developer-bandi](https://togithub.com/developer-bandi) in [https://github.com/chaijs/chai/pull/1601](https://togithub.com/chaijs/chai/pull/1601) - Set support in same members by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1583](https://togithub.com/chaijs/chai/pull/1583) - Fix publish script by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1602](https://togithub.com/chaijs/chai/pull/1602) #### New Contributors - [@​developer-bandi](https://togithub.com/developer-bandi) made their first contribution in [https://github.com/chaijs/chai/pull/1601](https://togithub.com/chaijs/chai/pull/1601) **Full Changelog**: https://github.com/chaijs/chai/compare/v5.0.3...v5.1.0 ### [`v5.0.3`](https://togithub.com/chaijs/chai/releases/tag/v5.0.3) [Compare Source](https://togithub.com/chaijs/chai/compare/v5.0.2...v5.0.3) Fix bad v5.0.2 publish. **Full Changelog**: https://github.com/chaijs/chai/compare/v5.0.2...v5.0.3 ### [`v5.0.2`](https://togithub.com/chaijs/chai/releases/tag/v5.0.2) [Compare Source](https://togithub.com/chaijs/chai/compare/v5.0.0...v5.0.2) #### What's Changed - build(deps): bump nanoid and mocha by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/chaijs/chai/pull/1558](https://togithub.com/chaijs/chai/pull/1558) - remove `bump-cli` by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1559](https://togithub.com/chaijs/chai/pull/1559) - Update developer dependencies by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1560](https://togithub.com/chaijs/chai/pull/1560) - fix: removes `??` for node compat (5.x) by [@​43081j](https://togithub.com/43081j) in [https://github.com/chaijs/chai/pull/1576](https://togithub.com/chaijs/chai/pull/1576) - Update `loupe` to latest version by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1579](https://togithub.com/chaijs/chai/pull/1579) - Re-enable some webkit tests by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1580](https://togithub.com/chaijs/chai/pull/1580) - Remove a bunch of if statements in test/should.js by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1581](https://togithub.com/chaijs/chai/pull/1581) - Remove a bunch of unused files by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1582](https://togithub.com/chaijs/chai/pull/1582) - Fix 1564 by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1566](https://togithub.com/chaijs/chai/pull/1566) **Full Changelog**: https://github.com/chaijs/chai/compare/v5.0.1...v5.0.2 ### [`v5.0.0`](https://togithub.com/chaijs/chai/releases/tag/v5.0.0) [Compare Source](https://togithub.com/chaijs/chai/compare/v4.4.1...v5.0.0) #### BREAKING CHANGES - Chai now only supports EcmaScript Modules (ESM). This means your tests will need to either have `import {...} from 'chai'` or `import('chai')`. `require('chai')` will cause failures in nodejs. If you're using ESM and seeing failures, it may be due to a bundler or transpiler which is incorrectly converting import statements into require calls. - Dropped support for Internet Explorer. - Dropped support for NodeJS < 18. - Minimum supported browsers are now Firefox 100, Safari 14.1, Chrome 100, Edge 100. Support for browsers prior to these versions is "best effort" (bug reports on older browsers will be assessed individually and may be marked as wontfix). #### What's Changed - feat: use chaijs/loupe for inspection by [@​pcorpet](https://togithub.com/pcorpet) in [https://github.com/chaijs/chai/pull/1401](https://togithub.com/chaijs/chai/pull/1401) - docs: fix URL in README by [@​Izzur](https://togithub.com/Izzur) in [https://github.com/chaijs/chai/pull/1413](https://togithub.com/chaijs/chai/pull/1413) - Remove `get-func-name` dependency by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1416](https://togithub.com/chaijs/chai/pull/1416) - Convert Makefile script to npm scripts by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1424](https://togithub.com/chaijs/chai/pull/1424) - Clean up README badges by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1422](https://togithub.com/chaijs/chai/pull/1422) - fix: package.json - deprecation warning on exports field by [@​stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/chaijs/chai/pull/1400](https://togithub.com/chaijs/chai/pull/1400) - fix: deep-eql bump package to support symbols by [@​snewcomer](https://togithub.com/snewcomer) in [https://github.com/chaijs/chai/pull/1458](https://togithub.com/chaijs/chai/pull/1458) - ES module conversion PoC by [@​43081j](https://togithub.com/43081j) in [https://github.com/chaijs/chai/pull/1498](https://togithub.com/chaijs/chai/pull/1498) - chore: drop commonjs support by [@​43081j](https://togithub.com/43081j) in [https://github.com/chaijs/chai/pull/1503](https://togithub.com/chaijs/chai/pull/1503) - Update pathval by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1527](https://togithub.com/chaijs/chai/pull/1527) - Update check-error by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1528](https://togithub.com/chaijs/chai/pull/1528) - update `deep-eql` to latest version by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1542](https://togithub.com/chaijs/chai/pull/1542) - Inline `type-detect` as a simple function by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1544](https://togithub.com/chaijs/chai/pull/1544) - Update loupe by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1545](https://togithub.com/chaijs/chai/pull/1545) - Typo 'Test an object' not 'Test and object' by [@​mavaddat](https://togithub.com/mavaddat) in [https://github.com/chaijs/chai/pull/1460](https://togithub.com/chaijs/chai/pull/1460) - Update `assertion-error` to it's latest major version! by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1543](https://togithub.com/chaijs/chai/pull/1543) - Replacing Karma with Web Test Runner by [@​koddsson](https://togithub.com/koddsson) in [https://github.com/chaijs/chai/pull/1546](https://togithub.com/chaijs/chai/pull/1546) #### New Contributors - [@​Izzur](https://togithub.com/Izzur) made their first contribution in [https://github.com/chaijs/chai/pull/1413](https://togithub.com/chaijs/chai/pull/1413) - [@​stevenjoezhang](https://togithub.com/stevenjoezhang) made their first contribution in [https://github.com/chaijs/chai/pull/1400](https://togithub.com/chaijs/chai/pull/1400) - [@​43081j](https://togithub.com/43081j) made their first contribution in [https://github.com/chaijs/chai/pull/1498](https://togithub.com/chaijs/chai/pull/1498) **Full Changelog**: https://github.com/chaijs/chai/compare/4.3.1...v5.0.0
typicode/husky (husky) ### [`v9.0.11`](https://togithub.com/typicode/husky/releases/tag/v9.0.11) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.10...v9.0.11) - chore: update package-lock.json by [@​btea](https://togithub.com/btea) in [https://github.com/typicode/husky/pull/1383](https://togithub.com/typicode/husky/pull/1383) - fix: husky=0 in init (fixes [#​1393](https://togithub.com/typicode/husky/issues/1393)) by [@​typicode](https://togithub.com/typicode) in [https://github.com/typicode/husky/pull/1395](https://togithub.com/typicode/husky/pull/1395) ### [`v9.0.10`](https://togithub.com/typicode/husky/releases/tag/v9.0.10) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.9...v9.0.10) - fix: rename index.d.ts to index.d.mts by [@​mrkjdy](https://togithub.com/mrkjdy) in [https://github.com/typicode/husky/pull/1379](https://togithub.com/typicode/husky/pull/1379) ### [`v9.0.9`](https://togithub.com/typicode/husky/releases/tag/v9.0.9) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.8...v9.0.9) - refactor: rename files by [@​typicode](https://togithub.com/typicode) in [https://github.com/typicode/husky/pull/1378](https://togithub.com/typicode/husky/pull/1378) ### [`v9.0.8`](https://togithub.com/typicode/husky/releases/tag/v9.0.8) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.7...v9.0.8) - docs: update index.md by [@​khaledYS](https://togithub.com/khaledYS) in [https://github.com/typicode/husky/pull/1369](https://togithub.com/typicode/husky/pull/1369) - Fix tab detection on install command by [@​glensc](https://togithub.com/glensc) in [https://github.com/typicode/husky/pull/1376](https://togithub.com/typicode/husky/pull/1376) - refactor: reduce file size by [@​typicode](https://togithub.com/typicode) in [https://github.com/typicode/husky/pull/1377](https://togithub.com/typicode/husky/pull/1377) ### [`v9.0.7`](https://togithub.com/typicode/husky/releases/tag/v9.0.7) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.6...v9.0.7) - fix: typo and source `~/.huskyrc` correctly (compatibility with v8) - docs: fix example by [@​typicode](https://togithub.com/typicode) in [https://github.com/typicode/husky/pull/1363](https://togithub.com/typicode/husky/pull/1363) ### [`v9.0.6`](https://togithub.com/typicode/husky/releases/tag/v9.0.6) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.5...v9.0.6) - docs: add favicon by [@​rakleed](https://togithub.com/rakleed) in [https://github.com/typicode/husky/pull/1354](https://togithub.com/typicode/husky/pull/1354) - chore: apply editorconfig to code only by [@​typicode](https://togithub.com/typicode) in [https://github.com/typicode/husky/pull/1355](https://togithub.com/typicode/husky/pull/1355) - docs: update install script to mjs and fix CI checks by [@​starnayuta](https://togithub.com/starnayuta) in [https://github.com/typicode/husky/pull/1357](https://togithub.com/typicode/husky/pull/1357) - Fix unbound variable by [@​typicode](https://togithub.com/typicode) in [https://github.com/typicode/husky/pull/1359](https://togithub.com/typicode/husky/pull/1359) ### [`v9.0.5`](https://togithub.com/typicode/husky/releases/tag/v9.0.5) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.4...v9.0.5) - docs: update path to startup files by [@​ManuelRauber](https://togithub.com/ManuelRauber) in [https://github.com/typicode/husky/pull/1350](https://togithub.com/typicode/husky/pull/1350) - fix: init error by [@​typicode](https://togithub.com/typicode) in [https://github.com/typicode/husky/pull/1353](https://togithub.com/typicode/husky/pull/1353) ### [`v9.0.4`](https://togithub.com/typicode/husky/releases/tag/v9.0.4) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.3...v9.0.4) - fix: init create dir before by [@​typicode](https://togithub.com/typicode) in [https://github.com/typicode/husky/pull/1348](https://togithub.com/typicode/husky/pull/1348) - refactor: simplify by [@​typicode](https://togithub.com/typicode) in [https://github.com/typicode/husky/pull/1349](https://togithub.com/typicode/husky/pull/1349) - fix: init not working on pnpm [#​1334](https://togithub.com/typicode/husky/issues/1334) by [@​rozbo](https://togithub.com/rozbo) in [https://github.com/typicode/husky/pull/1347](https://togithub.com/typicode/husky/pull/1347) ### [`v9.0.3`](https://togithub.com/typicode/husky/releases/tag/v9.0.3) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.2...v9.0.3) - docs: fix link by [@​typicode](https://togithub.com/typicode) in [https://github.com/typicode/husky/pull/1340](https://togithub.com/typicode/husky/pull/1340) - chore: fix links in issue template by [@​julien-f](https://togithub.com/julien-f) in [https://github.com/typicode/husky/pull/1341](https://togithub.com/typicode/husky/pull/1341) - fix: add scripts field if not present by [@​chalkygames123](https://togithub.com/chalkygames123) in [https://github.com/typicode/husky/pull/1338](https://togithub.com/typicode/husky/pull/1338) - docs: changelog link by [@​typicode](https://togithub.com/typicode) in [https://github.com/typicode/husky/pull/1343](https://togithub.com/typicode/husky/pull/1343) - fix: insert final newline by [@​chalkygames123](https://togithub.com/chalkygames123) in [https://github.com/typicode/husky/pull/1339](https://togithub.com/typicode/husky/pull/1339) - fix: fix git hooks path on windows by [@​rozbo](https://togithub.com/rozbo) in [https://github.com/typicode/husky/pull/1346](https://togithub.com/typicode/husky/pull/1346) ### [`v9.0.2`](https://togithub.com/typicode/husky/releases/tag/v9.0.2) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.1...v9.0.2) #### What's Changed - fix: exit code by [@​gergelypap](https://togithub.com/gergelypap) in [https://github.com/typicode/husky/pull/1336](https://togithub.com/typicode/husky/pull/1336) - docs: typo by [@​chalkygames123](https://togithub.com/chalkygames123) in [https://github.com/typicode/husky/pull/1337](https://togithub.com/typicode/husky/pull/1337) #### New Contributors - [@​gergelypap](https://togithub.com/gergelypap) made their first contribution in [https://github.com/typicode/husky/pull/1336](https://togithub.com/typicode/husky/pull/1336) **Full Changelog**: https://github.com/typicode/husky/compare/v9.0.1...v9.0.2 ### [`v9.0.1`](https://togithub.com/typicode/husky/releases/tag/v9.0.1) [Compare Source](https://togithub.com/typicode/husky/compare/v8.0.3...v9.0.1)

Kicking off the year with an exciting update!

#### TLDR; Improved user experience and a (even) smaller package size while packing in more features! #### πŸ‘‹ By the Way **I'm available for remote work** (Front-end/Back-end mainly JS/TS but open to other stacks Rails, Go, Elixir). You can contact me at my mail: typicode at gmail :slightly_smiling_face: #### Introducing `husky init` Adding husky to a project is now easier than ever. Although the installation process was straightforward, it often required consulting the documentation. ##### v8 ```shell npm pkg set scripts.prepare="husky install" npm run prepare npx husky add .husky/pre-commit "npm test" ``` ##### v9 ```shell npx husky init ``` #### Adding a New Hook Adding a hook is now as simple as creating a file. This can be accomplished using your favorite editor, a script or a basic `echo` command. ##### v8 ```shell npx husky add .husky/pre-commit "npm test" git add --chmod=+x .husky/pre-commit # On Windows ``` ##### v9 ```shell echo "npm test" > .husky/pre-commit ``` #### Further Size Reduction `v8` was already the most compact Git hooks manager at approximately `6kB`. `v9` takes this a step further, reducing the size to just `3kB`, likely making it the smallest devDependency in your toolkit. **To give you an idea of how small it is, the biggest file in the project is the MIT license πŸ˜„** #### More to Come Additional features are in the pipeline for `v9`. Stay tuned :raised_hands: #### Other Changes - **Enhanced security** with CI and npm `--provenance` for safer publishing. - Added **`$XDG_CONFIG_HOME`** support. Move `~/.huskyrc` to `~/.config/husky/init.sh` for centralized configuration. - **Fixed permission issue for Windows-created hooks**; they no longer need to be executable. - Removed `husky install`. Use `husky` or `husky some/dir` for the same functionality (deprecation notice to be added). - Modified behavior when `.git` is missing; it now triggers a warning instead of failure. - Replaced `HUSKY_DEBUG=1` with `HUSKY=2` for debugging. - Updated the Husky API for module usage. - Transitioned to `ESM` for module usage. - Dropped support for Node 14 and 16. - Revamped docs. #### How to Migrate `v9` is backward compatible with `v8`, allowing you to freely upgrade and migrate your hooks later. `package.json` ```diff { "scripts": { - "prepare": "husky install" + "prepare": "husky" } } ``` `.husky/pre-commit` ```diff - #!/usr/bin/env sh - . "$(dirname -- "$0")/_/husky.sh" npm test ```

Configuration

πŸ“… Schedule: Branch creation - "every 2 weeks" 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.



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