Socket
Socket
Sign inDemoInstall

sinon

Package Overview
Dependencies
4
Maintainers
4
Versions
204
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
57
21Next

7.4.2

Diff

Changelog

Source

7.4.2

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

Changelog

Source

7.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)
fatso83
published 7.3.2 •

Changelog

Source

7.3.2

  • Update Lolex to bring in fix for sinonjs/lolex#232 (queueMicrotask warning)
mantoni
published 7.3.1 •

Changelog

Source

7.3.1

  • Fix security issues
  • Update @sinonjs/samsam to v3.3.1
fatso83
published 7.3.0 •

Changelog

Source

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

Changelog

Source

7.2.7

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

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)
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc