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

3.1.0

Diff

Changelog

Source

3.1.0 / 2014-01-23

  • Added jquery based browser extension
travisjeffery
published 3.0.1 •

Changelog

Source

3.0.1 / 2014-01-17

  • Fix: .lengthOf()
btd
published 3.0.0 •

Changelog

Source

3.0.0 / 2014-01-17

  • Split everything to smaller files
  • Added huge extension to .match and .matchEach. Thanks @alsotang for initial code and idea.
  • Added .containDeep and .containEql
  • Separate build for browser and node.js
  • Basic plugin system
  • Breaking change: .Object now do not fail on arrays
  • Breaking change: Additional messages now replaces generated and do not added
  • Breaking change: .keys now check as is - no keys in args means no keys in object
  • Deprecated: assert extension
  • Deprecated: .include and .includeEql
  • Now all assertions define only positive cases, should.js take care about negations and chains
btd
published 2.1.1 •

Changelog

Source

2.1.1 / 2013-12-05

  • Move date formatting out of should.inspect
btd
published 2.1.0 •

Changelog

Source

2.1.0 / 2013-11-11

  • Override .inspect for Date's to convert them to ISOString
btd
published 2.0.2 •

Changelog

Source

2.0.2 / 2013-10-21

  • Add '#of' as getter for chaining.
  • Exclude browser script for .npmignore.
btd
published 2.0.1 •

Changelog

Source

2.0.1 / 2013-10-10

  • Fix wrong path in .npmignore.
tjholowaychuk
published 2.0.0 •

Changelog

Source

2.0.0 / 2013-10-10

  • breaking change: #a now getter like #an. Was replaced with #type(str)
  • breaking change: #empty does not check length for objects. Now it check if object do not have own properties.
  • #properties check if object have some properties
  • util.inspect now exposed as should.inspect
  • assertions for NaN, Infinity, Array, Object, String, Boolean, Number, Error, Function
  • #equal got alias #exactly
tjholowaychuk
published 1.3.0 •

Changelog

Source

1.3.0 / 2013-09-13

  • fix doc for .keys. Closes #108.
  • add #endWith()
  • add .startWith (#119)
tjholowaychuk
published 1.2.2 •

Changelog

Source

1.2.2 / 2013-02-19

  • fix should.be.instanceOf() failure on Date
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