Socket
Book a DemoInstallSign in
Socket

should

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

4.0.0

Diff
b
btd
published 4.0.0 •

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
b
btd
published 3.3.2 •

Changelog

Source

3.3.2 / 2014-05-23

  • Fix for should.format
b
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
b
btd
published 3.3.0 •

Changelog

Source

3.3.0 / 2014-04-07

  • Added .enumerable(name, val)
b
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
b
btd
published 3.2.0-beta1 •
b
btd
published 3.1.4 •

Changelog

Source

3.1.4 / 2014-03-18

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

Changelog

Source

3.1.3 / 2014-02-25

  • Fix TypeError in .containEql
b
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
b
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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.