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

1
12

8.0.2

Diff

Changelog

Source

8.0.2 / 2015-12-18

  • Update should-format to fix bug in formatting arrow functions
btd
published 8.0.1 •

Changelog

Source

8.0.1 / 2015-12-11

  • Fix throwing TypeError in .match
btd
published 8.0.0 •

Changelog

Source

8.0.0 / 2015-12-08

  • Move should-promised to main repo
  • Expose window.should as should function and not a getter
btd
published 7.1.1 •

Changelog

Source

7.1.1 / 2015-10-20

  • Update format package to fix node 0.12 Symbol formatting
btd
published 7.1.0 •

Changelog

Source

7.1.0 / 2015-08-28

  • Added .aboveOrEqual and .belowOrEqual for numbers (<= and >=)
  • Added .oneOf and .equalOneOf to check equality of one of values
  • Added 'browser' field to package.json
btd
published 7.0.4 •

Changelog

Source

7.0.4 / 2015-08-14

  • Missing doc for .deepEqual
  • Fix .match and dependent assertions to check property in object-object matching
btd
published 7.0.3 •

Changelog

Source

7.0.3 / 2015-08-09

  • Add alias .deepEqual for .eql
btd
published 7.0.2 •

Changelog

Source

7.0.2 / 2015-07-09

  • Bug in browser script and build
btd
published 7.0.1 •

Changelog

Source

7.0.1 / 2015-06-18

  • Fixes in should-type for dom nodes, host object and promises
btd
published 7.0.0 •

Changelog

Source

7.0.0 / 2015-06-18

  • Added support to .eql es6 set, map and symbol (should-type, should-format, should-equal)
  • Breaking Change More accurate work with types (dom nodes, typed-arrays).
  • Breaking Change Change result of should-type to be more accurate and consistent.
  • Fixed should-equal options checks
  • Fixed should-format typed arrays (more then 8 bits)
  • Added aliases: .matchEach => .matchSome, .matchAny => .matchEvery (to be similar to array methods). See #65.
  • Breaking Change (possibly) .matchEach and .matchAny now uses internally .match. See #65.
  • Breaking Change No more getter assertions. No all assertions are functions.
  • Breaking Change No more proxy returning, to check property names.
  • Breaking Change should-format now looks more like chrome developer tools inspections.
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