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

should

Package Overview
Dependencies
Maintainers
4
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

should - npm Package Versions

13
12

12.0.0

Diff

Changelog

Source

12.0.0 / 2017-08-28

  • Update should-equal to 2.x
  • Update entry points to do the same thing (global should entry)
btd
published 11.2.1 •

Changelog

Source

11.2.1 / 2017-03-09

  • Fix .match(regex) for not supported cases
btd
published 11.2.0 •

Changelog

Source

11.2.0 / 2017-01-27

  • Added .only modifier for .keys to check also size
  • Soft deprecate .enumerable(s)
btd
published 11.1.2 •

Changelog

Source

11.1.2 / 2016-12-10

  • Added workaround for runtimes where error's stack populated eagerly
btd
published 11.1.1 •

Changelog

Source

11.1.1 / 2016-10-10

  • Update modules
btd
published 11.1.0 •

Changelog

Source

11.1.0 / 2016-08-14

  • Update modules
btd
published 11.0.0 •

Changelog

Source

11.0.0 / 2016-08-10

  • Extracted parts from code for traversing different data types in similar ways. This allows for easily extending the library to almost any collection class. Now should.js supports Set/Map/WeakSet/WeakMap everywhere.
  • .empty() now uses new type adaptors
  • Breaking change in .keys()/.key(): now only checks for passed keys (also uses type adaptors) - it can check for keys in Map/Set e.g
  • Added .value(key, value) to assert if key-value object has such value with this key
  • Added .size() to get size of collection; also works with type adaptors
  • .containEql uses type adaptors and can check something contained within a collection or sub-part of a key-value object
btd
published 10.0.0 •

Changelog

Source

10.0.0 / 2016-07-18

  • Possible breaking change/bugfix in should-format when in objects used keys that looks like a numbers
btd
published 9.0.2 •

Changelog

Source

9.0.2 / 2016-06-10

  • Small test fixes for function expressions without names in Chrome
btd
published 9.0.1 •

Changelog

Source

9.0.1 / 2016-06-09

  • Fix browser global export
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