should
Advanced tools
Comparing version 11.1.0 to 11.1.1
@@ -0,1 +1,6 @@ | ||
11.1.1 / 2016-10-10 | ||
=================== | ||
* Update modules | ||
11.1.0 / 2016-08-14 | ||
@@ -9,10 +14,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 | ||
* 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 | ||
@@ -19,0 +24,0 @@ 10.0.0 / 2016-07-18 |
{ | ||
"name": "should", | ||
"description": "test framework agnostic BDD-style assertions", | ||
"version": "11.1.0", | ||
"version": "11.1.1", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> and other contributors", | ||
@@ -41,5 +41,5 @@ "repository": { | ||
"should-equal": "^1.0.0", | ||
"should-format": "^3.0.1", | ||
"should-format": "^3.0.2", | ||
"should-type": "^1.4.0", | ||
"should-type-adaptors": "^1.0.0", | ||
"should-type-adaptors": "^1.0.1", | ||
"should-util": "^1.0.0" | ||
@@ -46,0 +46,0 @@ }, |
@@ -187,3 +187,12 @@ # should.js | ||
## Additional projects | ||
* [`should-sinon`](https://github.com/shouldjs/sinon) - adds additional assertions for sinon.js | ||
* [`should-immutable`](https://github.com/shouldjs/should-immutable) - extends different parts of should.js to make immutable.js first-class citizen in should.js | ||
* [`should-http`](https://github.com/shouldjs/http) - adds small assetions for assertion on http responses for node only | ||
* [`should-jq`](https://github.com/shouldjs/jq) - asserions for jq (need maintainer) | ||
* [`karma-should`](https://github.com/seegno/karma-should) - make more or less easy to work karma with should.js | ||
* [`should-spies`](https://github.com/shouldjs/spies) - small and dirty simple zero dependcies spies | ||
## Contributions | ||
@@ -203,3 +212,3 @@ | ||
Also it is possible use it without extension. | ||
Also it is possible use it without extension. Just use `require('should/as-function')` everywhere. | ||
@@ -206,0 +215,0 @@ ## License |
Sorry, the diff of this file is too big to display
300716
216
8197
Updatedshould-format@^3.0.2
Updatedshould-type-adaptors@^1.0.1