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 13.0.1 #59

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps sinon from 1.9.1 to 13.0.1.

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.

13.0.1

  • ec4223f9 Bump nise to fix sinonjs/nise#193 (Carl-Erik Kopseng)
  • f329a010 Add unimported to workflow (#2441) (Morgan Roderick)
  • 7f16cec9 Enable updates to same major version (Carl-Erik Kopseng)
  • f784d7ad Re-introduce new version.sh script to version hook (Joel Bradshaw)

    This was inadvertently removed during merge conflicts, and is required for any of the new release process stuff to work

  • 51c508ab Add dry run mode to npm version (#2436) (Joel Bradshaw)
    • Add DRY_RUN flag to skip publish/push

    • Allow overriding branch names for testing

  • 05341dcf Update npm version scripts to manage new releases branch (Joel Bradshaw)
  • fe658261 Remove release archives from master (Joel Bradshaw)

    These archives made it difficult to find things in the GitHub interface, and take up a lot of space in a checked-out repo for something that is not useful to most people checking out the repository.

    The main purpose of these archives is to make old versions and documentation available on the Sinon website that is run out of this repo. This can be supported by using a separate branch for website releases, and to maintain the archives.

    Following this commit, the npm version scripts will be updated to automatically handle archiving the releases in the new releases branch and keeping it up to date with master.

    Also remove the directories we removed from .prettierignore, since they don't exist any more.

Released by Carl-Erik Kopseng on 2022-02-01.

13.0.0

  • cf3d6c0c Upgrade packages (#2431) (Carl-Erik Kopseng)
    • Update all @sinonjs/ packages

    • Upgrade to fake-timers 9

    • chore: ensure always using latest LTS release

  • 41710467 Adjust deploy scripts to archive old releases in a separate branch, move existing releases out of master (#2426) (Joel Bradshaw)

    Co-authored-by: Carl-Erik Kopseng carlerik@gmail.com

... (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 #62.