chore(deps): update dependency sinon to v9
This PR contains the following updates:
| Package | Type | Update | New value | References | Sourcegraph |
|---|---|---|---|---|---|
| sinon (source) | devDependencies | major | ^9.0.3 | homepage, source | |
| @types/sinon | devDependencies | major | 9.0.5 | source |
Release Notes
sinonjs/sinon
v9.0.3
==================
- Upgrade nise to latest
- Upgrade @sinonjs/samsam to latest
v9.0.2
==================
- 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)
v9.0.1
==================
- Fix #2226: restore props defined on prototype chain by deleting
v9.0.0
==================
- Ignore errors on thisValue property accesses (#2216)
- Add firstArg to spy calls and fakes. (#2150)
- Drop Node 8 support
v8.1.1
==================
- Fundraiser for better docs: https://www.gofundme.com/f/sinon-docs
v8.1.0
==================
- Support negative indices in getCall (#2199)
v8.0.4
==================
- Remove misleading 'own' from exception message
v8.0.3
==================
- Move .printf to proxy
v8.0.2
==================
- Upgrade @sinonjs/samsam to latest
- Upgrade nise to 3.0.1
v8.0.1
==================
- Force upgrade @sinonjs/commons (#2181)
- Update
docs/changelog.mdand set new release id indocs/_config.yml - Add release documentation for v8.0.0
v8.0.0
==================
The major release is caused by removing old mistakes and upgrading dependencies that themselves have had new major releases.
- Upgrade nise, @sinonjs/formatio, @sinonjs/samsam and @sinonjs/referee
- Update lolex and nise to get new async timer methods (see https://github.com/sinonjs/lolex/blob/master/CHANGELOG.md)
- Remove
sinon.spyCall - Remove
sinon.sandbox.create - Remove obsolete
deprecated.printWarningstubbing from test
v7.5.0
==================
- Add sinon.assert.calledOnceWithExactly
- Feature parity: support spying all methods on an object
v7.4.2
==================
- Restore sinon.createStubInstance() behaviour (#2073)
- Fix Typo in migration 6 and updated migration docs for migration from… (#2074)
v7.4.1
==================
- Update nise and lolex (minor versions)
- add callThroughWithNew method
- add browser field
- Create COMPATIBILITY.md (#2051)
- Fix sinon.resetHistory() does not reset history (#2022)
v7.3.2
==================
- Update Lolex to bring in fix for sinonjs/lolex#232 (queueMicrotask warning)
v7.3.1
==================
- Fix security issues
- Update @sinonjs/samsam to v3.3.1
v7.3.0
==================
- 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 by upgrading to @sinonjs/samsam@3.3.0
v7.2.7
==================
v7.2.6
==================
- Upgrade @sinonjs/formatio
- Set
fake.lastArgto last argument regardless of type
v7.2.5
==================
- don't call extends.nonEnum in spy.resetHistory (#1984)
v7.2.4
==================
- minor package updates
- Update eslint-plugin-mocha
- Fix high prio audit warnings
- Update nise to use @sinonjs/text-encoding
- Make all properties non-enumerable in spies, stubs, mocks and fakes
- docs(sandbox): add example for default sandbox
v7.2.3
==================
- Update @sinonjs/nise
- Fix stubbing function objects (#1968)
v7.2.2
==================
- Fix mock.withArgs using matchers (#1961)
v7.2.1
==================
- #1957: check for truthiness before checking whether optional override is a stub
- Upgrade @sinonjs/samsam
- Upgrade @sinonjs/referee to v3
v7.2.0
==================
- Upgrade to samsam 3 (#1955)
- Rename History.md to CHANGELOG.md
v7.1.1
==================
- Make the spy functions non enumerable so that printing it is more concise (#1936)
v7.1.0
==================
- Issue #1852: Add a way to pass a global context to lolex when calling useFakeTimers
- Get latest 'nise' patch
v7.0.0
==================
- Update to Lolex 3: no negative ticks allowed
v6.3.5
==================
- Upgrade lolex
- Upgrade @sinonjs/samsam - fixes minor issue with IE11 introduced in 6.3.4
v6.3.4
==================
- Update samsam, puppeteer and rollup
- Fix #1850 (keep context in fakes)
v6.3.3
==================
- Upgrade formatio, samsam, nise and referee
v6.3.2
==================
- Adds guard for empty properties in deepEqual when a matcher is provided (#1901)
v6.3.1
==================
- Fix use of non-cached reference to forEach
v6.3.0
==================
- Allow providing stubs overrides for sinon.createStubInstance (#1864)
- Bump Lolex to 2.7.4 to include IE fixes for performance.mark
v6.2.0
==================
- Add mock.usingPromise to set the Promise library for mock expectations
v6.1.6
==================
- Upgrade Lolex, Nise and other dependencies
v6.1.5
==================
- Fix #1796, failing to stub Array.prototype.sort
v6.1.4
==================
- Update lolex and nise dependencies to latest versions
v6.1.3
==================
- Fix issue with matchers and cyclic references (#1709)
v6.1.2
==================
- Made callsArg, returnsArg, and throwsArg more strict (#1848)
v6.1.1
==================
- Restore useFakeXMLHttpRequest correctly in default sandbox (#1840)
v6.1.0
==================
- Syntax sugar for resolvesArg (#1846)
v6.0.1
==================
- Add fake behaviors to sandbox (#1815)
Renovate configuration
:date: Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.