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

Comparing version 10.0.0 to 11.0.0

LICENSE

14

History.md

@@ -0,1 +1,13 @@

11.0.0 / 2016-08-10
===================
* From code extracted parts for traversing different types in similar way.
This allows from now easy extend library to almost any collection class.
Now should.js everywhere supports Set/Map/WeakSet/WeakMap.
* .empty() now uses new type adaptors
* brecking change in .keys()/.key() now checks only 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, works also with type adaptors
* .containEql uses type adaptors and can check if something contained within collection or subpart of key-value object
10.0.0 / 2016-07-18

@@ -19,3 +31,3 @@ ===================

* Set should.config values to be more obvious. Pls check breacking changes page for exact values.
* Set should.config values to be more obvious. Pls check brecking changes page for exact values.
* Add support for SIMD data types.

@@ -22,0 +34,0 @@ * Fixed minor bugs in .eql

13

package.json
{
"name": "should",
"description": "test framework agnostic BDD-style assertions",
"version": "10.0.0",
"version": "11.0.0",
"author": "TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> and other contributors",

@@ -24,6 +24,7 @@ "repository": {

"eslint": "^3.0.0",
"eslint-config-shouldjs": "^1.0.0",
"mocha": "latest",
"mocha-better-spec-reporter": "latest",
"rollup": "0.34.1",
"rollup-plugin-node-resolve": "^1.5.0",
"rollup": "0.34.7",
"rollup-plugin-node-resolve": "^2.0.0",
"zuul": "latest"

@@ -41,4 +42,6 @@ },

"should-equal": "^1.0.0",
"should-format": "^2.0.0",
"should-type": "^1.0.0"
"should-format": "^3.0.1",
"should-type": "^1.1.0",
"should-type-adaptors": "^1.0.0",
"should-util": "^1.0.0"
},

@@ -45,0 +48,0 @@ "files": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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