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

should

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

4.4.1

Diff

Changelog

Source

4.4.1 / 2014-12-13

  • bump deps
btd
published 4.4.0 •

Changelog

Source

4.4.0 / 2014-12-12

  • assert methods reimplemented via assertion, deepEqual done via should-equal. To avoid possible confusion between should.deepEqual and a.should.eql(b)
  • Possible fix for error tests
btd
published 4.3.1 •

Changelog

Source

4.3.1 / 2014-12-08

  • .throw() check if given object is a function
btd
published 4.3.0 •

Changelog

Source

4.3.0 / 2014-11-10

  • Remove node's version of .eql
  • Added reason why .eql failed
btd
published 4.2.1 •

Changelog

Source

4.2.1 / 2014-11-07

  • Move inspection from .formattedObj to be in .getMessage - to make inspection as late as possible.
btd
published 4.2.0 •

Changelog

Source

4.2.0 / 2014-11-06

  • Remove node util.inspect and use instead own inspection module with type detection and browser types compatibility
btd
published 4.1.0 •

Changelog

Source

4.1.0 / 2014-10-19

  • As inspect function was moved to repo, refine how it show Dates (added millis via custom format)
  • Added warnings for potential shoot in the leg: eql non strict and should unwrapping primitive wrappers
  • Added possibility to disable any warnings via environment variable SHOULDJS_WARN and should.warn = false
  • Added new deep equality check function
  • Nested assertions can contribute to parent assertions own messages
btd
published 4.0.4 •

Changelog

Source

4.0.4 / 2014-06-09

  • Make all assertions enumerable in Assertion.prototype
btd
published 4.0.3 •

Changelog

Source

4.0.3 / 2014-06-09

  • Fix wrong/strange behaviour of .containDeep with equal keys. Now it check to contain element once.
  • Added util.formatProp to format properties more accurate
btd
published 4.0.1 •

Changelog

Source

4.0.1 / 2014-06-04

  • Missing name in browser script
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