Skip to content

chore: update dependency sinon to v5 #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

brokenmass
Copy link
Owner

This Pull Request updates dependency sinon from v2.4.1 to v5.0.7

Release Notes

v5.0.7

Compare Source

  • Fix stub id prefix (#​1786)

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 deprecated spy.reset method
  • Add sinon.replace, sinon.replaceGetter and sinon.replaceSetter
  • Add fake
  • Use sinon as a default sandbox

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

  • Make @​std/esm a devDependency

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

  • Replace formatio with @​sinonjs/formatio

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

  • Add match.every and match.some (#​1624) (#​1661)

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

  • Fix #​1521 by caching references to Array.prototype.filter (#​1523)
  • Fix #​1368 by adding stub#resolvesThis (#​1517)

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


🚀 This PR has been generated by Renovate using COB-LVS/renovate configuration.

@codecov
Copy link

codecov bot commented May 16, 2018

Codecov Report

Merging #21 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #21   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           6      6           
  Lines         137    137           
=====================================
  Hits          137    137

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d13c62f...39eafc4. Read the comment docs.

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

Successfully merging this pull request may close these issues.

1 participant