sinonjs / fake-timers

Fake setTimeout and friends (collectively known as "timers"). Useful in your JavaScript tests. Extracted from Sinon.JS
BSD 3-Clause "New" or "Revised" License
804 stars 106 forks source link

Bump semver-regex and husky #445

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps semver-regex to 3.1.4 and updates ancestor dependency husky. These dependencies need to be updated together.

Updates semver-regex from 2.0.0 to 3.1.4

Release notes

Sourced from semver-regex's releases.

v3.1.4

v3.1.2

  • Fix regex catastrophic backtracking 6baf2cc Working around this meant accepting some obscure false-positives. I don't think it will affect any real code, but it's good to be aware of. See the disabled tests in the commit.

https://github.com/sindresorhus/semver-regex/compare/v3.1.1...v3.1.2

v3.1.1

  • Allow 0 as numeric identifier (#19) c64c57f

https://github.com/sindresorhus/semver-regex/compare/v3.1.0...v3.1.1

v3.1.0

  • Add TypeScript definition (#16) 039944b

https://github.com/sindresorhus/semver-regex/compare/v3.0.0...v3.1.0

v3.0.0

Breaking:

  • Require Node.js 8 (#15) 3fe447d

Enhancements:

  • Make the regex better adhere to semver syntax (#15) 3fe447d

https://github.com/sindresorhus/semver-regex/compare/v2.0.0...v3.0.0

Commits


Updates husky from 4.2.1 to 4.3.8

Release notes

Sourced from husky's releases.

v4.3.8

  • Fix Cannot read property 'toString' of null
  • Improve error messages

v4.3.7

v4.3.6

  • Fix prepare-commit-msg on windows #737

v4.3.5

  • Rollback and do not throw error if husky install fails

v4.3.4

  • Throw error if husky install fails
  • Add workaround for npm 7 currently missing INIT_CWD environment variable

v4.3.0

  • Add .cjs config file support #754

v4.2.5

  • Fix wrong error message #709
  • Update dependencies #710

v4.2.4

  • When Node version is unsupported, log actual version in addition to the error message #701
  • Fix: support cnpm package manager #687
  • Fix: always use sh to run scripts and avoid inconsistencies #707
  • Fix: don't throw error if files are already removed during uninstall #708

v4.2.3

  • Fix: check for husky.config.js not .huskyrc.config.js #669

v4.2.2

  • Fix #662 disable fast-skip heuristic for .husky.js and .husky.config.js
  • Fix do not install update, pre/post-receive hooks
Commits


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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/sinonjs/fake-timers/network/alerts).
fatso83 commented 1 year ago

@dependabot rebase

dependabot[bot] commented 1 year ago

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

codecov[bot] commented 1 year ago

Codecov Report

Base: 95.51% // Head: 95.52% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (2cea641) compared to base (c6ddc8b). Patch coverage: 96.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #445 +/- ## ========================================== + Coverage 95.51% 95.52% +0.01% ========================================== Files 1 2 +1 Lines 624 648 +24 ========================================== + Hits 596 619 +23 - Misses 28 29 +1 ``` | Flag | Coverage Δ | | |---|---|---| | unit | `95.52% <96.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sinonjs#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/sinonjs/fake-timers/pull/445?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sinonjs) | Coverage Δ | | |---|---|---| | [test/helpers/setup-tests.js](https://codecov.io/gh/sinonjs/fake-timers/pull/445/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sinonjs#diff-dGVzdC9oZWxwZXJzL3NldHVwLXRlc3RzLmpz) | `95.83% <95.83%> (ø)` | | | [src/fake-timers-src.js](https://codecov.io/gh/sinonjs/fake-timers/pull/445/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sinonjs#diff-c3JjL2Zha2UtdGltZXJzLXNyYy5qcw==) | `95.51% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sinonjs). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sinonjs)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

dependabot[bot] commented 1 year ago

Looks like these dependencies are no longer a dependency, so this is no longer needed.