DeviceFarmer / stf-syrup

Provides a minimal Promise-based dependency injection framework for Node.js.
Other
0 stars 1 forks source link

Bump sinon from 1.9.1 to 12.0.0 #52

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps sinon from 1.9.1 to 12.0.0.

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.

12.0.0

  • b20ef9e4 Upgrade to fake-timers@8 (Carl-Erik Kopseng). This is potentially breaking, but should not be, as the breaking change deals with the Node timer object created by fake timers.
  • eba42cc3 Enable esm named exports (#2382) (Julian Grinblat)
  • b0cf5448 Spelling (#2398) (Josh Soref)
  • e78a6706 Make calledWith() assertions idempotent (#2407) (Joel Bradshaw)
  • 2814c0a2 Generate CHANGES.md using @​studio/changes (Morgan Roderick)

    This will bring us closer to having the same release process as the other @sinonjs packages.

  • 2d5d6ad4 Run tests in Node 16 in GitHub Actions (Morgan Roderick)

Released by Carl-Erik Kopseng on 2021-11-03.

11.1.2

11.1.1

  • Fix #2379 by using v7 of supports-color

11.1.0

  • Add sinon.promise() implementation (#2369)
  • Set wrappedMethod on getters/setters (#2378)
  • [Docs] Update fake-server usage & descriptions (#2365)
  • Fake docs improvement (#2360)
  • Update nise to 5.1.0 (fixed #2318)

11.0.0

  • Explicitly use samsam 6.0.2 with fix for #2345
  • Update most packages (#2371)
  • Update compatibility docs (#2366)
  • Update packages (includes breaking fake-timers change, see #2352)
  • Warn of potential memory leaks (#2357)
  • Fix clock test errors

10.0.1

... (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 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[bot] commented 2 years ago

Superseded by #53.