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.0.0

Diff

Changelog

Source

4.0.0 / 2014-05-29

  • Breaking change: Move non core assertions out
  • Added casting in properties assertions to String for all property names
  • Added .propertyByPath assertion
  • Breaking change: Remove deprecated .includeEql and .include
  • Breaking change: .containDeep now do not check order for 2 arrays case
  • Added .containDeepOrdered for old .containDeep
  • Added support of array-like objects
  • Added to .throw matching by error properties with .match
btd
published 3.3.2 •

Changelog

Source

3.3.2 / 2014-05-23

  • Fix for should.format
btd
published 3.3.1 •

Changelog

Source

3.3.1 / 2014-04-16

  • Added aliases for es reserved words
  • Fix bug with ownProperty alias
  • Fix bug with not function alias
btd
published 3.3.0 •

Changelog

Source

3.3.0 / 2014-04-07

  • Added .enumerable(name, val)
btd
published 3.2.0 •

Changelog

Source

3.2.0 / 2014-03-29

  • Added first version of .any modifier that affect assertions with multiple parameters
  • .header now have more nice message
  • assertion can now override how to show object
btd
published 3.2.0-beta1 •

btd
published 3.1.4 •

Changelog

Source

3.1.4 / 2014-03-18

  • .Error now do not throw assertion error for custom errors.
btd
published 3.1.3 •

Changelog

Source

3.1.3 / 2014-02-25

  • Fix TypeError in .containEql
btd
published 3.1.2 •

Changelog

Source

3.1.2 / 2014-01-28

  • Fix for adding .inspect for JQuery object only in case when it is exist
btd
published 3.1.1 •

Changelog

Source

3.1.1 / 2014-01-28

  • Fix for HTMLElement in DOM less environments
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