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

should

Package Overview
Dependencies
Maintainers
4
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

should - npm Package Versions

1
1012

0.5.0

Diff

Changelog

Source

0.5.0 / 2012-01-12

  • Added string matching to .throw() [serby]
  • Added regexp matching to .throw() [serby]
  • Added .includeEql() [RubenVerborgh]
  • Added .should.be.html
  • Added .should.be.json
  • Added optional description args to most matchers [Mike Swift]
tjholowaychuk
published 0.4.2 •

Changelog

Source

0.4.2 / 2011-12-17

  • Fixed .header() for realzzz
tjholowaychuk
published 0.4.1 •

Changelog

Source

0.4.1 / 2011-12-16

  • Fixed: chain .header() to retain negation
tjholowaychuk
published 0.4.0 •

Changelog

Source

0.4.0 / 2011-12-16

  • Added .should.throw()
  • Added .include() support for strings
  • Added .include() support for arrays
  • Removed keys() .include modifier support
  • Removed .object()
  • Removed .string()
  • Removed .contain()
  • Removed .respondTo() rubyism
  • expresso -> mocha
published 0.3.2 •

Changelog

Source

0.3.2 / 2011-10-24

  • Fixed tests for 0.5.x
  • Fixed sys warning
published 0.3.1 •

Changelog

Source

0.3.1 / 2011-08-22

  • configurable
published 0.3.0 •

Changelog

Source

0.3.0 / 2011-08-20

  • Added assertion for inclusion of an object: foo.should.include.object({ foo: 'bar' })
published 0.2.1 •

Changelog

Source

0.2.1 / 2011-05-13

  • Fixed .status(code). Closes #18
published 0.2.0 •

Changelog

Source

0.2.0 / 2011-04-17

  • Added res.should.have.status(code) method
  • Added res.should.have.header(field, val) method
published 0.0.1 •

Changelog

Source

0.0.1 / 2010-11-19

  • Initial release
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