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))
Changelog
*Sourced from [sinon's changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md).*
> 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))
>
> 7.2.6 / 2019-03-01
> ==================
>
> * Upgrade @sinonjs/formatio
> * Set `fake.lastArg` to last argument regardless of type
> ... (truncated)
Commits
- [`d163383`](https://github.com/sinonjs/sinon/commit/d163383256a25874a60c36c3e341a8c27726bb8a) 7.4.2
- [`ad553d1`](https://github.com/sinonjs/sinon/commit/ad553d1b1e9f3d845d3df011e8e01818f0373531) Update CHANGELOG.md and AUTHORS for new release
- [`bbe6f5e`](https://github.com/sinonjs/sinon/commit/bbe6f5ee4ecde49cb009b45ad84b51e9e1aab874) Upgrade nise to latest
- [`78a676f`](https://github.com/sinonjs/sinon/commit/78a676fcedd37531ea276787fddcc8f009ef5856) Update @sinonjs/samsam to latest
- [`157b537`](https://github.com/sinonjs/sinon/commit/157b5378ec7d57d30923130bce75b8fa6f8a6a86) Restore sinon.createStubInstance() behaviour ([#2073](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2073))
- [`766cae4`](https://github.com/sinonjs/sinon/commit/766cae4011cdc495f71ba87a7c5cd9428448184e) Merge pull request [#2076](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2076) from sinonjs/github-workflow
- [`261c4cd`](https://github.com/sinonjs/sinon/commit/261c4cd16b81fa7825f93c9d96f951491bc3deaf) renamed step
- [`8525f4d`](https://github.com/sinonjs/sinon/commit/8525f4d10ec922bd852b401450e36c989f92bdd6) trying built-in coveralls support
- [`cf0f402`](https://github.com/sinonjs/sinon/commit/cf0f402becc76ac6d45a0647d8a820b144c42a09) added coveralls (via npx)
- [`88cf7a9`](https://github.com/sinonjs/sinon/commit/88cf7a9cab8dc510d57a2e434c2d41376addad1f) added code coverage
- Additional commits viewable in [compare view](https://github.com/sinonjs/sinon/compare/v3.1.0...v7.4.2)
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.
Coverage remained the same at 85.99% when pulling 18e8d71a38a8fc79f2f9b0ce57138046a7774d88 on dependabot/npm_and_yarn/sinon-7.4.2 into 558a132adfbecf18e569b1c16991c0605a953a6b on master.
Bumps sinon from 3.1.0 to 7.4.2.
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))Changelog
*Sourced from [sinon's changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md).* > 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)) > > 7.2.6 / 2019-03-01 > ================== > > * Upgrade @sinonjs/formatio > * Set `fake.lastArg` to last argument regardless of type > ... (truncated)Commits
- [`d163383`](https://github.com/sinonjs/sinon/commit/d163383256a25874a60c36c3e341a8c27726bb8a) 7.4.2 - [`ad553d1`](https://github.com/sinonjs/sinon/commit/ad553d1b1e9f3d845d3df011e8e01818f0373531) Update CHANGELOG.md and AUTHORS for new release - [`bbe6f5e`](https://github.com/sinonjs/sinon/commit/bbe6f5ee4ecde49cb009b45ad84b51e9e1aab874) Upgrade nise to latest - [`78a676f`](https://github.com/sinonjs/sinon/commit/78a676fcedd37531ea276787fddcc8f009ef5856) Update @sinonjs/samsam to latest - [`157b537`](https://github.com/sinonjs/sinon/commit/157b5378ec7d57d30923130bce75b8fa6f8a6a86) Restore sinon.createStubInstance() behaviour ([#2073](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2073)) - [`766cae4`](https://github.com/sinonjs/sinon/commit/766cae4011cdc495f71ba87a7c5cd9428448184e) Merge pull request [#2076](https://github-redirect.dependabot.com/sinonjs/sinon/issues/2076) from sinonjs/github-workflow - [`261c4cd`](https://github.com/sinonjs/sinon/commit/261c4cd16b81fa7825f93c9d96f951491bc3deaf) renamed step - [`8525f4d`](https://github.com/sinonjs/sinon/commit/8525f4d10ec922bd852b401450e36c989f92bdd6) trying built-in coveralls support - [`cf0f402`](https://github.com/sinonjs/sinon/commit/cf0f402becc76ac6d45a0647d8a820b144c42a09) added coveralls (via npx) - [`88cf7a9`](https://github.com/sinonjs/sinon/commit/88cf7a9cab8dc510d57a2e434c2d41376addad1f) added code coverage - Additional commits viewable in [compare view](https://github.com/sinonjs/sinon/compare/v3.1.0...v7.4.2)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.