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 19.0.2 #35127

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 16, 2024

Bumps sinon from 2.3.2 to 19.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 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.

19.0.2

  • 4eb4c4bc Use fix 13.0.2 version of fake-timers to get Date to pass instanceof checks (Carl-Erik Kopseng)
  • a5b03db3 Add links to code that is affected by the breaking changes (Carl-Erik Kopseng)

Released by Carl-Erik Kopseng on 2024-09-13.

19.0.1

  • 037ec2d2 Update migration docs (Carl-Erik Kopseng)

Released by Carl-Erik Kopseng on 2024-09-13.

19.0.0

  • 3534ab4f Bump samsam and nise to latest versions (#2617) (Carl-Erik Kopseng)

    Ensures consistency and less breakage when there are "circular" dependencies.

  • 912c568d upgrade fake timers and others (#2612) (Carl-Erik Kopseng)
    • Upgrade dependencies (includes breaking API in Fake Timers)
    • fake-timers: no longer creating dates using the original Date class, but a subclass (proxy)
  • 9715798e Use newer @mochify/* packages (#2609) (Carl-Erik Kopseng)

    Co-authored-by: Maximilian Antoni [email protected]

Released by Carl-Erik Kopseng on 2024-09-13.

18.0.1

Basically a patch release to update a transitive dependency in Nise.

... (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)

@dependabot dependabot bot requested a review from a team as a code owner September 16, 2024 10:11
@dependabot dependabot bot added dependencies/javascript Change in javascript dependency. product/invisible Change has no end-user visible impact labels Sep 16, 2024
@dimagimon dimagimon added the dependencies Pull requests that update a dependency file label Sep 16, 2024
Bumps [sinon](https://github.com/sinonjs/sinon) from 2.3.2 to 19.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...v19.0.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sinon-19.0.2 branch from c6f1dd2 to 3f65748 Compare September 16, 2024 16:19
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.

2 participants