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

Bump sinon from 2.3.2 to 17.0.2 #34572

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 8, 2024

Bumps sinon from 2.3.2 to 17.0.2.

Release notes

Sourced from sinon's releases.

Make resetHistory work for props

  • Fix #1638: Make resetHistory work for props

Speed up stub creation

  • Performance: spend less time stubbing methods (#1627)

Add match.every and match.some

Replace 4.1.5, which was a bad build

  • Fix bad build, missing nise@1.2.0 (#1656)
  • Upgrade dependency supports-color

Fix issue with useFakeServer

This release fixes an issue, where the server type from useFakeServer is unexpected (#1534)

Minor fix for Symbol names and deprecation of spy.reset

  • Fix: assertion error messages did not handle Symbol names (#1640)
  • Deprecate spy.reset(), use spy.resetHistory() instead (#1446)

Add stub#resolvesThis

  • Fix #1521 by caching references to Array.prototype.filter (#1523)
  • Fix #1368 by adding stub#resolvesThis (#1517)

v3.1.0

  • Add factory functions for sandbox and fake server (#1515)
  • Add support for passing a function to stub.throws(...). (#1511)
  • Lots of documentation updates
  • Fix regression on sandbox.stub(obj,protoMethod) (#1512)

v3.0.0

  • Remove deprecated exports see migration guide
  • Fix #1432: add details around expectations.withArgs behavior to docs (#1501)
  • Fix #1487: incorrect withArgs().returnValue
  • add format.setFormatter
  • Upgrade lolex to 2.1.2
  • Extract fakeXhr, fakeServer and fakeServerWithClock into own module nise and re-import it to keep api the same

Fix #1474: stub#usingPromise and stub#onNthCall have unexpected interactions

This release fixes #1474

Fix #1476

  • Fix #1476: spy.withArgs(args...).firstCall is broken

Fix #1274: spy.withArgs(args...).callCount is incorrect

Fix: Check configurable on a prop before creating

  • Check configurable on a prop before creating (fixes #1456) (#1462)

... (truncated)

Changelog

Sourced from sinon's changelog.

17.0.2

  • f6dca0ba upgrade packages (#2595) (Carl-Erik Kopseng)
  • 5025d001 Avoid return and callArg* clearing each other's state (#2593) (Carl-Erik Kopseng)
    • Partially revert "fix returns does not override call through (#2567)"
    • revert to the old manual clearing of props
  • ed068a88 Bump ip from 1.1.8 to 1.1.9 (#2587) (dependabot[bot])
  • ec4d592e fix #2589: avoid invoking getter as side-effect (#2592) (Carl-Erik Kopseng)
  • 9972e1e3 Fix typo in mocks documentation (#2591) (Eduardo de la Cruz Palacios)
  • 52e6e4c5 chore: prefer cache option of setup-node (Morgan Roderick)
  • 08da1235 Bump actions/cache from 3 to 4 (dependabot[bot])
  • 404ef47e Bump nokogiri from 1.14.3 to 1.16.2 (dependabot[bot])
  • fd79612c Update Bug_report.md (Carl-Erik Kopseng)
  • 1fbc812a Re-add about (Carl-Erik Kopseng)
  • fc8f6c3e Fix formatting :clown: (Carl-Erik Kopseng)
  • c57e38ae Remove old template (Carl-Erik Kopseng)
  • 754bf7a9 Update Bug_report.md (Carl-Erik Kopseng)
  • 87eed9d2 Fix some typos at code comments (#2581) (EliyahuMachluf)
  • cbae6997 Link to createStubInstance util.md docs in stubs.md (#2577) (Daniel Kaplan)
  • adcf936d Fix Mocha watch task by delegating to Node (#2573) (Carl-Erik Kopseng)
  • 30ad2372 prettier:write (Carl-Erik Kopseng)
  • 45c4d6b9 Remove outdated info from README (#2571) (Carl-Erik Kopseng)
  • 6c9f5c2a Add a notice that the Fake Timers API doc is incomplete (#2570) (Carl-Erik Kopseng)
  • 93db3ef3 breaking: Remove sinon.defaultConfig and related modules (#2565) (Carl-Erik Kopseng)
    • breaking: Remove sinon.defaultConfig and related modules

    default-config and get-config are leftovers from when Sinon

    shipped with sinon.test (now the independent NPM module

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by fatso83, a new releaser for sinon 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [sinon](https://github.com/sinonjs/sinon) from 2.3.2 to 17.0.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](sinonjs/sinon@v2.3.2...v17.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner May 8, 2024 10:39
@dependabot dependabot bot added dependencies/javascript Change in javascript dependency. product/invisible Change has no end-user visible impact labels May 8, 2024
@dimagimon dimagimon added the dependencies Pull requests that update a dependency file label May 8, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 16, 2024

Superseded by #34627.

@dependabot dependabot bot closed this May 16, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sinon-17.0.2 branch May 16, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies/javascript Change in javascript dependency. dependencies Pull requests that update a dependency file product/invisible Change has no end-user visible impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants