New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

should

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

should - npm Package Versions

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