Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

chore(deps): update dependency sinon to v8 #147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 31, 2019

This PR contains the following updates:

Package Type Update Change
sinon (source) devDependencies major ^1.17.2 -> ^8.0.0

Release Notes

sinonjs/sinon

v8.0.2

Compare Source

==================

v8.0.1

Compare Source

==================

  • Force upgrade @​sinonjs/commons (#​2181)
  • Update docs/changelog.md and set new release id in docs/_config.yml
  • Add release documentation for v8.0.0

v8.0.0

Compare Source

==================

The major release is caused by removing old mistakes and upgrading dependencies that themselves have had new major releases.

v7.5.0

Compare Source

==================

  • Add sinon.assert.calledOnceWithExactly
  • Feature parity: support spying all methods on an object

v7.4.2

Compare Source

==================

  • Restore sinon.createStubInstance() behaviour (#​2073)
  • Fix Typo in migration 6 and updated migration docs for migration from… (#​2074)

v7.4.1

Compare Source

==================

  • 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

Compare Source

==================

v7.3.1

Compare Source

==================

v7.3.0

Compare Source

==================

  • 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

Compare Source

==================

  • Retain spy function names and fix spy.named(name) (#​1987)
  • Document spying on accessors (#​1976)

v7.2.6

Compare Source

==================

v7.2.5

Compare Source

==================

  • don't call extends.nonEnum in spy.resetHistory (#​1984)

v7.2.4

Compare Source

==================

  • 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

Compare Source

==================

v7.2.2

Compare Source

==================

  • Fix mock.withArgs using matchers (#​1961)

v7.2.1

Compare Source

==================

v7.2.0

Compare Source

==================

  • Upgrade to samsam 3 (#​1955)
  • Rename History.md to CHANGELOG.md

v7.1.1

Compare Source

==================

  • Make the spy functions non enumerable so that printing it is more concise (#​1936)

v7.1.0

Compare Source

==================

  • Issue #​1852: Add a way to pass a global context to lolex when calling useFakeTimers
  • Get latest 'nise' patch

v7.0.0

Compare Source

==================

  • Update to Lolex 3: no negative ticks allowed

v6.3.5

Compare Source

==================

  • Upgrade lolex
  • Upgrade @​sinonjs/samsam - fixes minor issue with IE11 introduced in 6.3.4

v6.3.4

Compare Source

==================

  • Update samsam, puppeteer and rollup
  • Fix #​1850 (keep context in fakes)

v6.3.3

Compare Source

==================

  • Upgrade formatio, samsam, nise and referee

v6.3.2

Compare Source

==================

  • Adds guard for empty properties in deepEqual when a matcher is provided (#​1901)

v6.3.1

Compare Source

==================

  • Fix use of non-cached reference to forEach

v6.3.0

Compare Source

==================

  • Allow providing stubs overrides for sinon.createStubInstance (#​1864)
  • Bump Lolex to 2.7.4 to include IE fixes for performance.mark

v6.2.0

Compare Source

==================

  • Add mock.usingPromise to set the Promise library for mock expectations

v6.1.6

Compare Source

==================

  • Upgrade Lolex, Nise and other dependencies

v6.1.5

Compare Source

==================

  • Fix #​1796, failing to stub Array.prototype.sort

v6.1.4

Compare Source

==================

  • Update lolex and nise dependencies to latest versions

v6.1.3

Compare Source

==================

  • Fix issue with matchers and cyclic references (#​1709)

v6.1.2

Compare Source

==================

  • Made callsArg, returnsArg, and throwsArg more strict (#​1848)

v6.1.1

Compare Source

==================

  • Restore useFakeXMLHttpRequest correctly in default sandbox (#​1840)

v6.1.0

Compare Source

==================

  • Syntax sugar for resolvesArg (#​1846)

v6.0.1

Compare Source

==================

  • Add fake behaviors to sandbox (#​1815)

v6.0.0

Compare Source

==================

  • Export Sinon and its functions as an EcmaScript module (#​1809 and #​1835)
  • Document/test call ordering checks

v5.1.1

Compare Source

==================

  • Remove ES2015 'module' field for 5x branch (fix in seperate branch - see tag)

v5.1.0

Compare Source

==================

v5.0.10

Compare Source

==================

  • Remove functions shadowing time related sandbox methods (#​1802)

v5.0.9

Compare Source

==================

  • Upgrade @std/esm to esm.

v5.0.8

Compare Source

==================

  • Add isSealed check to is-es-module to make certain ESM mocks possible

v5.0.7

Compare Source

==================

v5.0.6

Compare Source

==================

  • Remove support-sinon.js as postinstall banner

v5.0.5

Compare Source

==================

  • Refuse to replace already replaced values (#​1779)

v5.0.4

Compare Source

==================

  • Fix #​1781: Reject non-function values a f argument to fake

v5.0.3

Compare Source

==================

  • Fix #​1775: Default sandbox does not restore stubs, spies, mocks

v5.0.2

Compare Source

==================

  • Reset history on sandbox reset (#​1770)

v5.0.1

Compare Source

==================

  • Remove functions shadowing time related sandbox methods (#​1802)

v5.0.0

Compare Source

v4.5.0

Compare Source

==================

  • Add .lastArg and .callback to spy call

v4.4.10

Compare Source

v4.4.9

Compare Source

==================

  • Fix #​1746: Remove dependency on ES2015 code from post-install script

v4.4.8

Compare Source

==================

  • Fix 1743: Add scripts/support-sinon.js to package

v4.4.6

Compare Source

==================

  • Return returned value of invokant when using yields_ and callsArg_ (#​1724)

v4.4.5

Compare Source

==================

  • Add postinstall banner pointing to Open Collective

v4.4.4

Compare Source

==================

v4.4.3

Compare Source

==================

  • Fix inconsistent newline usage for %D in spy.printf (#​1717)

v4.4.2

Compare Source

==================

  • Add descriptive error message on attempt to call argument that is not a function (#​1695)

v4.4.1

Compare Source

==================

  • Docs: make it clear that it is possible to use assert with spy calls (#​1688)

v4.4.0

Compare Source

==================

  • Change return value of yield and callArg

v4.3.0

Compare Source

==================

  • add calledOnceWithExactly assertion (#​1247)

v4.2.3

Compare Source

==================

v4.2.2

Compare Source

==================

  • Fix #​1638: Make resetHistory work for props

v4.2.1

Compare Source

==================

  • Performance: spend less time stubbing methods (#​1627)

v4.2.0

Compare Source

==================

v4.1.6

Compare Source

==================

  • Fix bad build, missing nise@1.2.0 (#​1656)
  • Upgrade dependency supports-color

v4.1.5

Compare Source

==================

  • Use nise.fakeServer as the sandbox serverPrototype (#​1534)

v4.1.4

Compare Source

==================

  • Fix: assertion error messages did not handle Symbol names (#​1640)
  • Deprecate spy.reset(), use spy.resetHistory() instead (#​1446)

v4.1.3

Compare Source

==================

  • Spy passes through calling with new (#​1626)

v4.1.2

Compare Source

==================

  • Update Lolex to include fix for #​872
  • Remove deprecated methods from documentation (#​1613)

v4.1.1

Compare Source

==================

  • Remove "engines" from package.json

v4.1.0

Compare Source

==================

  • Add sandbox.createStubInstance (#​1598)

v4.0.2

Compare Source

==================

  • Update 'nise' to latest version (#​1593)
  • Use supports-color module to test if system supports colors
  • Upgrade mocha to v4.0.0
  • Make samsam a development dependency
  • Make native-promise-only a development dependency

v4.0.1

Compare Source

==================

  • Upgrade nise and lolex versions (#​1579)

v4.0.0

Compare Source

==================

  • Explicitly update fake xhr lib 'nise'
  • Remove accidental dependency to "build"
  • Remove support for stubbing undefined props (#​1557)

v3.3.0

Compare Source

==================

  • Adds sinon.match.hasNested
  • fix 'callThrough with a mock expectation' (#​1442)
  • Documentation updates
  • Allow custom defined instance checks if supported

v3.2.1

Compare Source

==================

  • resolvesThis should override previous throws
  • preserve context of functions from nise: fakeServer, fakeServerWithClock
  • Fix regression for issue #​1526 regarding onFirstCall().throws()
  • Fix docs regression introduced by #​1523

v3.2.0

Compare Source

==================

v3.1.0

Compare Source

==================

  • Lots of documentation updates
  • Fix regression on sandbox.stub(obj,protoMethod)
  • Add factory functions for sandbox and fake server
  • Add support for passing a function to stub.throws(...). (#​1511)

v3.0.0

Compare Source

==================

  • 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

v2.4.1

Compare Source

==================

  • stub#withArgs: set promiseLibrary correctly (#​1497)

v2.4.0

Compare Source

==================

  • Allow anonymous mock functions to be named

v2.3.8

Compare Source

==================

  • Fix 1474: propagates promiseLibrary to new stub behaviors (#​1484)

v2.3.7

Compare Source

==================

  • Fix #​1476: spy.withArgs(args...).firstCall is broken

v2.3.6

Compare Source

==================

  • Fix #​1274: spy.withArgs(args...).callCount is incorrect

v2.3.5

Compare Source

==================

v2.3.4

Compare Source

==================

v2.3.3

Compare Source

==================

  • Fix #​1445: make stubbing of static function properties possible

v2.3.2

Compare Source

==================

  • Fix failing sandbox.resetBehavior() (#​1428)
  • Fix restoring getters/setters/values for previously unexisting props (#​1419)
  • Called in order takes callCount into account. Closes #​1398.

v2.3.1

Compare Source

==================

  • Make calledAfter symetric with calledBefore (#​1407)

v2.3.0

Compare Source

==================

  • Allow stubbing of accessors with and without sandbox (#​1416)
  • add throwsArg(index) to stubs (#​1319)
  • Fix: forEach() requires 'this' argument (#​1356)
  • Only reset history when calling resetHistory()

v2.2.0

Compare Source

==================

  • Added usingPromise method to stub and sandbox.
  • Added support for React Native window location format Fixes sinonjs/sinon#​1362
  • Fix error on call.toString() where stack has fewer than 4 lines.

v2.1.0

Compare Source

==================

  • Redesign the template (#​1339)
  • [feature] adds spy.calledImmediatelyBefore and spy.calledImmediatelyAfter
  • Fix issue #​1332: little bug correction in spy.printf "%*" formatter.

v2.0.0

Compare Source

==================

  • Add restore method for stubbed property descriptors
  • Allow stubbing getters and setters for function properties
  • Add getters/setters stub behaviors
  • Refactor xhr and xhr.upload to use the same EventTargetHandler
  • Remove SSL part of base url

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant