Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sinon

Package Overview
Dependencies
Maintainers
2
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

1.17.1

Diff

mrgnrdrck
published 1.17.0 •

Changelog

Source

1.17.0

  • Fix #821 where Sinon.JS would leak a setImmediate into global scope
  • Removed sinon-timers from the build. refs #811
  • Added flag that, when set to true, makes sinon.logError throw errors synchronously.
  • Fix #777: Support non-enumerable props when stubbing objects
  • Made the sinon.test() function pass on errors to the callback
  • Expand conversion from ArrayBuffer to binary string
  • Add support for ArrayBuffer, blob responseTypes
cjohansen
published 1.16.1 •

Changelog

Source

1.16.1

  • Bump Lolex to stop throwing an error when faking Date but not setTimeout
cjohansen
published 1.16.0 •

Changelog

Source

1.16.0

  • Capture the stack on each spy call
  • fakeServer.create accepts configuration settings
  • Update Lolex to 1.3.0
  • Fire onreadystatechange with event argument
  • Returns supersedes previous throws
  • Bunch of bug fixes
cjohansen
published 1.15.4 •

cjohansen
published 1.15.3 •

cjohansen
published 1.15.2 •

cjohansen
published 1.15.1 •

cjohansen
published 1.15.0 •

Changelog

Source

1.15.0

  • Fixed bug where assertions don't handle functions that have a property named proxy
  • update license attribute
  • Add test coverage report
  • responseHeaders on abort are empty object
  • Fix pre-existing style error
  • Update documentation to cover testing built version
  • Update CONTRIBUTING.md with section about "Making a pull request"
  • Improve RELEASE.md to reduce effort when cutting a new release
  • Deprecate mock
  • Release.md
  • Make npm docs sinon work.
  • Run unit tests against packaged version in CI environment
  • Remove unused Gruntfile
  • Use Vanilla Buster.JS
  • Use files in package.json
  • Fix code style
  • Don't stub getter properties
  • Event listeners for progress, load and readystatechange in the readyStateChange function in FakeXMLHttpRequest are dispatched in a different order in comparison to a browser. Reorder the events dispatched to reflect general browser behaviour.
  • Update linting instructions in CONTRIBUTING.md
  • Lint all files with new linter
  • Update JSCS to 1.11.3 and make npm lint task verify all files
  • Cleanup .restore()
cjohansen
published 1.14.1 •

Changelog

Source

1.14.1

  • Fallback for .restore() native code functions on Chrome & PhantomJS (なつき)
  • Restore support for sinon in IE<9 (Harry Wolff)
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