Socket
Socket
Sign inDemoInstall

sinon

Package Overview
Dependencies
Maintainers
4
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sinon - npm Package Versions

1
21

7.2.6

Diff

Changelog

Source

7.2.6

  • Upgrade @sinonjs/formatio
  • Set fake.lastArg to last argument regardless of type
mrgnrdrck
published 7.2.5 •

Changelog

Source

7.2.5

  • don't call extends.nonEnum in spy.resetHistory (#1984)
fatso83
published 7.2.4 •

Changelog

Source

7.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
mantoni
published 7.2.3 •

Changelog

Source

7.2.3

  • Update @sinonjs/nise
  • Fix stubbing function objects (#1968)
mantoni
published 7.2.2 •

Changelog

Source

7.2.2

  • Fix mock.withArgs using matchers (#1961)
mrgnrdrck
published 7.2.1 •

Changelog

Source

7.2.1

  • #1957: check for truthiness before checking whether optional override is a stub
  • Upgrade @sinonjs/samsam
  • Upgrade @sinonjs/referee to v3
mantoni
published 7.2.0 •

Changelog

Source

7.2.0

  • Upgrade to samsam 3 (#1955)
  • Rename History.md to CHANGELOG.md
mrgnrdrck
published 7.1.1 •

Changelog

Source

7.1.1

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

Changelog

Source

7.1.0

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

Changelog

Source

7.0.0

  • Update to Lolex 3: no negative ticks allowed
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc