Comparing version 13.2.1 to 13.2.2
@@ -0,1 +1,5 @@ | ||
# 13.2.2 / 2018-07-26 | ||
* Updates for TS definition | ||
# 13.2.1 / 2018-01-12 | ||
@@ -19,3 +23,3 @@ | ||
* Added missing return type for `.rejecteWith` in typescript definition | ||
* Added missing return type for `.rejectedWith` in typescript definition | ||
@@ -90,3 +94,3 @@ # 13.1.0 / 2017-09-20 | ||
* Set should.config values to be more obvious. Pls check brecking changes page for exact values. | ||
* Set should.config values to be more obvious. Pls check breaking changes page for exact values. | ||
* Add support for SIMD data types. | ||
@@ -185,3 +189,3 @@ * Fixed minor bugs in .eql | ||
* **Breaking Change** No more proxy returning, to check property names. | ||
* **Breaking Change** `should-format` now looks more like chrome developer tools inpections. | ||
* **Breaking Change** `should-format` now looks more like chrome developer tools inspections. | ||
@@ -224,3 +228,3 @@ # 6.0.3 / 2015-05-18 | ||
* Added separate reporting message for false negative results like 10.should.not.equal(10) | ||
* Make error.message lazy fix old perfomance bottlenecks for constructing messages for big objects | ||
* Make error.message lazy fix old performance bottlenecks for constructing messages for big objects | ||
* Added .propertyWithDescriptor | ||
@@ -230,3 +234,3 @@ | ||
* Fix perfomance degradation on large objects | ||
* Fix performance degradation on large objects | ||
@@ -233,0 +237,0 @@ # 4.6.4 / 2015-02-05 |
{ | ||
"name": "should", | ||
"description": "test framework agnostic BDD-style assertions", | ||
"version": "13.2.1", | ||
"version": "13.2.2", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com>", | ||
@@ -6,0 +6,0 @@ "typings": "./should.d.ts", |
@@ -73,2 +73,10 @@ # should.js | ||
3. For TypeScript users: | ||
```js | ||
import * as should from 'should'; | ||
(0).should.be.Number(); | ||
``` | ||
## In browser | ||
@@ -192,6 +200,6 @@ | ||
* [`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) | ||
* [`should-http`](https://github.com/shouldjs/http) - adds small assertions for assertion on http responses for node only | ||
* [`should-jq`](https://github.com/shouldjs/jq) - assertions 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 | ||
* [`should-spies`](https://github.com/shouldjs/spies) - small and dirty simple zero dependencies spies | ||
@@ -198,0 +206,0 @@ |
@@ -12,3 +12,3 @@ // Type definitions for should.js | ||
deepEqual(actual: any, expected: any, message?: string): void; | ||
notDeepEqual(acutal: any, expected: any, message?: string): void; | ||
notDeepEqual(actual: any, expected: any, message?: string): void; | ||
strictEqual(actual: any, expected: any, message?: string): void; | ||
@@ -47,3 +47,3 @@ notStrictEqual(actual: any, expected: any, message?: string): void; | ||
function deepEqual(actual: any, expected: any, message?: string): void; | ||
function notDeepEqual(acutal: any, expected: any, message?: string): void; | ||
function notDeepEqual(actual: any, expected: any, message?: string): void; | ||
function strictEqual(actual: any, expected: any, message?: string): void; | ||
@@ -78,7 +78,7 @@ function notStrictEqual(actual: any, expected: any, message?: string): void; | ||
// bool | ||
true(): this; | ||
True(): this; | ||
true(message?: string): this; | ||
True(message?: string): this; | ||
false(): this; | ||
False(): this; | ||
false(message?: string): this; | ||
False(message?: string): this; | ||
@@ -125,3 +125,3 @@ ok(): this; | ||
throw(properties: {}): this; | ||
//TODO how to expess generators??? | ||
//TODO how to express generators??? | ||
throwError(): this; | ||
@@ -170,5 +170,5 @@ throwError(msg: RegExp | string | Function, properties?: {}): this; | ||
fulfilled: Promise<any>; | ||
resolved: Promise<any>; | ||
rejected: Promise<any>; | ||
fulfilled(): Promise<any>; | ||
resolved(): Promise<any>; | ||
rejected(): Promise<any>; | ||
@@ -175,0 +175,0 @@ fulfilledWith(obj: any): Promise<any>; |
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
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
407666
224