Release notes
*Sourced from [sinon's releases](https://github.com/sinonjs/sinon/releases).*
> ## Make resetHistory work for props
> * Fix [#1638](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1638): Make resetHistory work for props
>
> ## Speed up stub creation
> * Performance: spend less time stubbing methods ([#1627](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1627))
>
> ## Add match.every and match.some
> * Add match.every and match.some ([#1624](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1624)) ([#1661](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1661))
>
> ## Replace 4.1.5, which was a bad build
> * Fix bad build, missing nise@1.2.0 ([#1656](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1656))
> * Upgrade dependency supports-color
>
> ## Fix issue with `useFakeServer`
> This release fixes an issue, where the server type from `useFakeServer` is unexpected ([#1534](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1534))
>
> ## Minor fix for Symbol names and deprecation of spy.reset
> * Fix: assertion error messages did not handle Symbol names ([#1640](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1640))
> * Deprecate spy.reset(), use spy.resetHistory() instead ([#1446](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1446))
>
> ## Add stub#resolvesThis
> * Fix [#1521](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1521) by caching references to Array.prototype.filter ([#1523](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1523))
> * Fix [#1368](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1368) by adding stub#resolvesThis ([#1517](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1517))
>
> ## v3.1.0
> * Add factory functions for sandbox and fake server ([#1515](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1515))
> * Add support for passing a function to stub.throws(...). ([#1511](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1511))
> * Lots of documentation updates
> * Fix regression on sandbox.stub(obj,protoMethod) ([#1512](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1512))
>
>
> ## v3.0.0
> * Remove deprecated exports see [migration guide](http://sinonjs.org/releases/v3.0.0/migrating-to-3.0/)
> * Fix [#1432](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1432): add details around expectations.withArgs behavior to docs ([#1501](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1501))
> * Fix [#1487](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1487): incorrect withArgs().returnValue
> * add format.setFormatter
> * Upgrade lolex to 2.1.2
> * Extract fakeXhr, fakeServer and fakeServerWithClock into own module [`nise`](https://github.com/sinonjs/nise) and re-import it to keep api the same
>
> ## Fix [#1474](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1474): stub#usingPromise and stub#onNthCall have unexpected interactions
> This release fixes [#1474](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1474)
>
> ## Fix [#1476](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1476)
> * Fix [#1476](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1476): spy.withArgs(args...).firstCall is broken
>
> Fix [#1274](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1274): spy.withArgs(args...).callCount is incorrect
>
> ## Fix: Check configurable on a prop before creating
> * Check configurable on a prop before creating (fixes [#1456](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1456)) ([#1462](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1462))
>
> ... (truncated)
Changelog
*Sourced from [sinon's changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md).*
> 7.5.0 / 2019-09-23
> ==================
>
> * Add sinon.assert.calledOnceWithExactly
> * Feature parity: support _spying_ all methods on an object
>
> 7.4.2 / 2019-09-02
> ==================
>
> * Restore sinon.createStubInstance() behaviour ([#2073](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2073))
> * Fix Typo in migration 6 and updated migration docs for migration from… ([#2074](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2074))
>
> 7.4.1 / 2019-08-06
> ==================
>
> * Update nise and lolex (minor versions)
> * add callThroughWithNew method
> * add browser field
> * Create COMPATIBILITY.md ([#2051](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2051))
> * Fix sinon.resetHistory() does not reset history ([#2022](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2022))
>
> 7.4.0
> =====
> * Was unpublished (see [#2071](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2071))
>
> 7.3.2 / 2019-04-17
> ==================
>
> * Update Lolex to bring in fix for [sinonjs/lolex#232](https://github-redirect.dependabot.com/sinonjs/lolex/issues/232) (queueMicrotask warning)
>
> 7.3.1 / 2019-03-27
> ==================
>
> * Fix security issues
> * Update @sinonjs/samsam to v3.3.1
>
> 7.3.0 / 2019-03-20
> ==================
>
> * Simplify Circle CI setup
> * Add a Docker Compose config file for testing the setup locally
> * Inject createStubInstance and fake functionality
> * Remove unused prop 'injectIntoThis'
> * Fix [#1974](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1974) by upgrading to @sinonjs/samsam@3.3.0
>
> 7.2.7 / 2019-03-04
> ==================
>
> * Retain spy function names and fix spy.named(name) ([#1987](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1987))
> * Document spying on accessors ([#1976](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1976))
> ... (truncated)
Commits
- See full diff in [compare view](https://github.com/sinonjs/sinon/commits)
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](https://app.dependabot.com):
- 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)
Finally, you can contact us by mentioning @dependabot.
Bumps sinon from 1.17.7 to 7.5.0.
Release notes
*Sourced from [sinon's releases](https://github.com/sinonjs/sinon/releases).* > ## Make resetHistory work for props > * Fix [#1638](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1638): Make resetHistory work for props > > ## Speed up stub creation > * Performance: spend less time stubbing methods ([#1627](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1627)) > > ## Add match.every and match.some > * Add match.every and match.some ([#1624](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1624)) ([#1661](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1661)) > > ## Replace 4.1.5, which was a bad build > * Fix bad build, missing nise@1.2.0 ([#1656](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1656)) > * Upgrade dependency supports-color > > ## Fix issue with `useFakeServer` > This release fixes an issue, where the server type from `useFakeServer` is unexpected ([#1534](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1534)) > > ## Minor fix for Symbol names and deprecation of spy.reset > * Fix: assertion error messages did not handle Symbol names ([#1640](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1640)) > * Deprecate spy.reset(), use spy.resetHistory() instead ([#1446](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1446)) > > ## Add stub#resolvesThis > * Fix [#1521](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1521) by caching references to Array.prototype.filter ([#1523](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1523)) > * Fix [#1368](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1368) by adding stub#resolvesThis ([#1517](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1517)) > > ## v3.1.0 > * Add factory functions for sandbox and fake server ([#1515](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1515)) > * Add support for passing a function to stub.throws(...). ([#1511](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1511)) > * Lots of documentation updates > * Fix regression on sandbox.stub(obj,protoMethod) ([#1512](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1512)) > > > ## v3.0.0 > * Remove deprecated exports see [migration guide](http://sinonjs.org/releases/v3.0.0/migrating-to-3.0/) > * Fix [#1432](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1432): add details around expectations.withArgs behavior to docs ([#1501](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1501)) > * Fix [#1487](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1487): incorrect withArgs().returnValue > * add format.setFormatter > * Upgrade lolex to 2.1.2 > * Extract fakeXhr, fakeServer and fakeServerWithClock into own module [`nise`](https://github.com/sinonjs/nise) and re-import it to keep api the same > > ## Fix [#1474](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1474): stub#usingPromise and stub#onNthCall have unexpected interactions > This release fixes [#1474](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1474) > > ## Fix [#1476](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1476) > * Fix [#1476](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1476): spy.withArgs(args...).firstCall is broken > > Fix [#1274](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1274): spy.withArgs(args...).callCount is incorrect > > ## Fix: Check configurable on a prop before creating > * Check configurable on a prop before creating (fixes [#1456](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1456)) ([#1462](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1462)) > > ... (truncated)Changelog
*Sourced from [sinon's changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md).* > 7.5.0 / 2019-09-23 > ================== > > * Add sinon.assert.calledOnceWithExactly > * Feature parity: support _spying_ all methods on an object > > 7.4.2 / 2019-09-02 > ================== > > * Restore sinon.createStubInstance() behaviour ([#2073](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2073)) > * Fix Typo in migration 6 and updated migration docs for migration from… ([#2074](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2074)) > > 7.4.1 / 2019-08-06 > ================== > > * Update nise and lolex (minor versions) > * add callThroughWithNew method > * add browser field > * Create COMPATIBILITY.md ([#2051](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2051)) > * Fix sinon.resetHistory() does not reset history ([#2022](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2022)) > > 7.4.0 > ===== > * Was unpublished (see [#2071](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2071)) > > 7.3.2 / 2019-04-17 > ================== > > * Update Lolex to bring in fix for [sinonjs/lolex#232](https://github-redirect.dependabot.com/sinonjs/lolex/issues/232) (queueMicrotask warning) > > 7.3.1 / 2019-03-27 > ================== > > * Fix security issues > * Update @sinonjs/samsam to v3.3.1 > > 7.3.0 / 2019-03-20 > ================== > > * Simplify Circle CI setup > * Add a Docker Compose config file for testing the setup locally > * Inject createStubInstance and fake functionality > * Remove unused prop 'injectIntoThis' > * Fix [#1974](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1974) by upgrading to @sinonjs/samsam@3.3.0 > > 7.2.7 / 2019-03-04 > ================== > > * Retain spy function names and fix spy.named(name) ([#1987](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1987)) > * Document spying on accessors ([#1976](https://github-redirect.dependabot.com/sinonjs/sinon/issues/1976)) > ... (truncated)Commits
- See full diff in [compare view](https://github.com/sinonjs/sinon/commits)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](https://app.dependabot.com): - 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) Finally, you can contact us by mentioning @dependabot.