Skip to content

Conversation

@dependabot-preview
Copy link

Bumps sinon from 1.17.7 to 9.2.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)
Changelog

Sourced from sinon's changelog.

9.2.2 / 2020-12-11

9.2.1 / 2020-10-28

  • Fix #2203: skip writing 'name' property if not writable (#2304)
  • Update error message on assert when representation of expected and actual value is equal, fixing issue #2084 (#2303)
  • Make sandboxes each use their own assert object (#2302)
  • Add usingPromise() method on fakes to fix issue #2293 (#2301)

9.2.0 / 2020-10-06

  • Update dependencies (#2299)
  • Update sandbox docs with missing comma
  • Add minor markdown formatting to release docs for sandbox
  • Minor formatting improvements to legacy sandbox documentation

9.1.0 / 2020-09-29

  • Add a calledOnceWithMatch assertion (#2294)

9.0.3 / 2020-08-11

  • Upgrade nise to latest
  • Upgrade @sinonjs/samsam to latest

9.0.2 / 2020-04-08

  • Bump @sinonjs/fake-timers (fix error when using Node's util/promisify with setTimeout)
  • Upgrade @sinonjs/commons (fix error when trying to calculate function name from generators)

9.0.1 / 2020-03-10

  • Fix #2226: restore props defined on prototype chain by deleting

9.0.0 / 2020-02-19

  • Ignore errors on thisValue property accesses (#2216)
  • Add firstArg to spy calls and fakes. (#2150)
  • Drop Node 8 support
Commits

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 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
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [sinon](https://github.com/sinonjs/sinon) from 1.17.7 to 9.2.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](sinonjs/sinon@v1.17.7...v9.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 14, 2020
@dependabot-preview
Copy link
Author

Superseded by #62.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/sinon-9.2.2 branch January 7, 2021 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant