Comparing version 1.7.2 to 1.8.0
{ | ||
"name": "chai" | ||
, "version": "1.7.2" | ||
, "version": "1.8.0" | ||
, "description": "BDD/TDD assertion library for node.js and the browser. Test framework agnostic." | ||
@@ -5,0 +5,0 @@ , "license": "MIT" |
1.8.0 / 2013-09-18 | ||
================== | ||
* test: [sauce] add a few more browsers | ||
* Merge branch 'refactor/deep-equal' | ||
* util: remove embedded deep equal utility | ||
* util: replace embedded deep equal with external module | ||
* Merge branch 'feature/karma' | ||
* docs: add sauce badge to readme [ci skip] | ||
* test: [sauce] use karma@canary to prevent timeouts | ||
* travis: only run on node 0.10 | ||
* test: [karma] use karma phantomjs runner | ||
* Merge pull request #181 from tricknotes/fix-highlight | ||
* Fix highlight for example code | ||
1.7.2 / 2013-06-27 | ||
@@ -50,3 +65,3 @@ ================== | ||
* Merge pull request #161 from brandonpayton/master | ||
* Fix documented name for assert interface's isDefined method | ||
* Fix documented name for assert interfaces isDefined method | ||
@@ -53,0 +68,0 @@ 1.6.0 / 2013-04-29 |
@@ -14,3 +14,3 @@ /*! | ||
exports.version = '1.7.2'; | ||
exports.version = '1.8.0'; | ||
@@ -17,0 +17,0 @@ /*! |
@@ -247,4 +247,4 @@ /*! | ||
* | ||
* expect(undefined).to.be.undefined; | ||
* expect(null).to.not.be.undefined; | ||
* expect(undefined).to.be.undefined; | ||
* expect(null).to.not.be.undefined; | ||
* | ||
@@ -1129,4 +1129,4 @@ * @name undefined | ||
* | ||
* Klass.baz = function(){}; | ||
* expect(Klass).itself.to.respondTo('baz'); | ||
* Klass.baz = function(){}; | ||
* expect(Klass).itself.to.respondTo('baz'); | ||
* | ||
@@ -1159,8 +1159,8 @@ * @name respondTo | ||
* | ||
* function Foo() {} | ||
* Foo.bar = function() {} | ||
* Foo.prototype.baz = function() {} | ||
* function Foo() {} | ||
* Foo.bar = function() {} | ||
* Foo.prototype.baz = function() {} | ||
* | ||
* expect(Foo).itself.to.respondTo('bar'); | ||
* expect(Foo).itself.not.to.respondTo('baz'); | ||
* expect(Foo).itself.to.respondTo('bar'); | ||
* expect(Foo).itself.not.to.respondTo('baz'); | ||
* | ||
@@ -1167,0 +1167,0 @@ * @name itself |
@@ -65,3 +65,3 @@ /*! | ||
exports.eql = require('./eql'); | ||
exports.eql = require('deep-eql'); | ||
@@ -68,0 +68,0 @@ /*! |
@@ -14,3 +14,3 @@ { | ||
], | ||
"version": "1.7.2", | ||
"version": "1.8.0", | ||
"repository": { | ||
@@ -32,2 +32,3 @@ "type": "git", | ||
"assertion-error": "1.0.0" | ||
, "deep-eql": "0.1.2" | ||
}, | ||
@@ -37,9 +38,9 @@ "devDependencies": { | ||
, "coveralls": "2.0.16" | ||
, "jscoverage": "0.3.7" | ||
, "karma": "canary" | ||
, "karma-mocha": "*" | ||
, "karma-sauce-launcher": "git://github.com/embarkmobile/karma-sauce-launcher.git#feature-passfail" | ||
, "mocha": "1.8.2" | ||
, "mocha-cloud": "*" | ||
, "mocha-lcov-reporter": "0.0.1" | ||
, "mocha-phantomjs": "2.0.2" | ||
, "connect": "2.7.x" | ||
, "jscoverage": "0.3.7" | ||
} | ||
} |
@@ -1,3 +0,1 @@ | ||
[![Build Status](https://travis-ci.org/chaijs/chai.png?branch=master)](https://travis-ci.org/chaijs/chai) [![Coverage Status](https://coveralls.io/repos/chaijs/chai/badge.png?branch=master)](https://coveralls.io/r/chaijs/chai?branch=master) | ||
[![Chai Documentation](http://chaijs.com/public/img/chai-logo.png)](http://chaijs.com) | ||
@@ -10,46 +8,50 @@ | ||
[![Build Status](https://travis-ci.org/chaijs/chai.png?branch=master)](https://travis-ci.org/chaijs/chai) [![Coverage Status](https://coveralls.io/repos/chaijs/chai/badge.png?branch=master)](https://coveralls.io/r/chaijs/chai?branch=master) | ||
[![Selenium Test Status](https://saucelabs.com/browser-matrix/chaijs.svg)](https://saucelabs.com/u/chaijs) | ||
### Related Projects | ||
- [@chaijs/assertion-error](https://github.com/chaijs/assertion-error): Custom `Error` constructor | ||
thrown upon an assertion failing. | ||
- [chaijs / assertion-error](https://github.com/chaijs/assertion-error): Custom `Error` constructor thrown upon an assertion failing. | ||
- [chaijs / deep-eql](https://github.com/chaijs/deep-eql): Improved deep equality testing for Node.js and the browser. | ||
### Contributors | ||
project : chai | ||
repo age : 1 year, 7 months | ||
active : 136 days | ||
commits : 678 | ||
files : 55 | ||
authors : | ||
504 Jake Luer 74.3% | ||
66 Veselin Todorov 9.7% | ||
43 Domenic Denicola 6.3% | ||
6 Ruben Verborgh 0.9% | ||
5 Juliusz Gonera 0.7% | ||
5 George Kats 0.7% | ||
5 Scott Nonnenberg 0.7% | ||
5 Jo Liss 0.7% | ||
4 John Firebaugh 0.6% | ||
4 josher19 0.6% | ||
4 Nick Heiner 0.6% | ||
3 Jeff Barczewski 0.4% | ||
2 Ryunosuke SATO 0.3% | ||
2 Bartvds 0.3% | ||
2 Teddy Cross 0.3% | ||
2 Edwin Shao 0.3% | ||
2 Jakub Nešetřil 0.3% | ||
1 piecioshka 0.1% | ||
1 Benjamin Horsleben 0.1% | ||
1 Brandon Payton 0.1% | ||
1 Chris Connelly 0.1% | ||
1 Chun-Yi 0.1% | ||
1 DD 0.1% | ||
1 Jeff Welch 0.1% | ||
1 Kilian Ciuffolo 0.1% | ||
1 Niklas Närhinen 0.1% | ||
1 Paul Miller 0.1% | ||
1 Sasha Koss 0.1% | ||
1 Victor Costan 0.1% | ||
1 Vinay Pulim 0.1% | ||
1 Anand Patil 0.1% | ||
project : chai | ||
repo age : 1 year, 9 months | ||
active : 139 days | ||
commits : 693 | ||
files : 54 | ||
authors : | ||
518 Jake Luer 74.7% | ||
66 Veselin Todorov 9.5% | ||
43 Domenic Denicola 6.2% | ||
6 Ruben Verborgh 0.9% | ||
5 George Kats 0.7% | ||
5 Jo Liss 0.7% | ||
5 Juliusz Gonera 0.7% | ||
5 Scott Nonnenberg 0.7% | ||
4 John Firebaugh 0.6% | ||
4 Nick Heiner 0.6% | ||
4 josher19 0.6% | ||
3 Jeff Barczewski 0.4% | ||
3 Ryunosuke SATO 0.4% | ||
2 Bartvds 0.3% | ||
2 Edwin Shao 0.3% | ||
2 Jakub Nešetřil 0.3% | ||
2 Teddy Cross 0.3% | ||
1 Anand Patil 0.1% | ||
1 Benjamin Horsleben 0.1% | ||
1 Brandon Payton 0.1% | ||
1 Chris Connelly 0.1% | ||
1 Chun-Yi 0.1% | ||
1 DD 0.1% | ||
1 Jeff Welch 0.1% | ||
1 Kilian Ciuffolo 0.1% | ||
1 Niklas Närhinen 0.1% | ||
1 Paul Miller 0.1% | ||
1 Sasha Koss 0.1% | ||
1 Victor Costan 0.1% | ||
1 Vinay Pulim 0.1% | ||
1 piecioshka 0.1% | ||
@@ -56,0 +58,0 @@ ## License |
# Release Notes | ||
## 1.8.0 / 2013-09-18 | ||
The following changes are required if you are upgrading from the previous version: | ||
- **Users:** | ||
- See `deep.equal` notes. | ||
- **Plugin Developers:** | ||
- No changes required | ||
- **Core Contributors:** | ||
- Refresh `node_modules` folder for updated dependencies. | ||
### Deep Equals | ||
This version of Chai focused on a overhaul to the deep equal utility. The code for this | ||
tool has been removed from the core lib and can now be found at: | ||
[chai / deep-eql](https://github.com/chaijs/deep-eql). As stated in previous releases, | ||
this is part of a larger initiative to provide transparency, independent testing, and coverage for | ||
some of the more complicated internal tools. | ||
For the most part `.deep.equal` will behave the same as it has. However, in order to provide a | ||
consistent ruleset across all types being tested, the following changes have been made and _might_ | ||
require changes to your tests. | ||
**1.** Strict equality for non-traversable nodes according to [egal](http://wiki.ecmascript.org/doku.php?id=harmony:egal). | ||
_Previously:_ Non-traversable equal via `===`. | ||
```js | ||
expect(NaN).to.deep.equal(NaN); | ||
expect(-0).to.not.deep.equal(+0); | ||
``` | ||
**2.** Arguments are not Arrays (and all types must be equal): | ||
_Previously:_ Some crazy nonsense that led to empty arrays deep equaling empty objects deep equaling dates. | ||
```js | ||
expect(arguments).to.not.deep.equal([]); | ||
expect(Array.prototype.slice.call(arguments)).to.deep.equal([]); | ||
``` | ||
- [#156](https://github.com/chaijs/chai/issues/156) Empty object is eql to empty array | ||
- [#192](https://github.com/chaijs/chai/issues/192) empty object is eql to a Date object | ||
- [#194](https://github.com/chaijs/chai/issues/194) refactor deep-equal utility | ||
### CI and Browser Testing | ||
Chai now runs the browser CI suite using [Karma](http://karma-runner.github.io/) directed at | ||
[SauceLabs](https://saucelabs.com/). This means we get to know where our browser support stands... | ||
and we get a cool badge: | ||
[![Selenium Test Status](https://saucelabs.com/browser-matrix/logicalparadox.svg)](https://saucelabs.com/u/logicalparadox) | ||
Look for the list of browsers/versions to expand over the coming releases. | ||
- [#195](https://github.com/chaijs/chai/issues/195) karma test framework | ||
## 1.7.2 / 2013-06-27 | ||
@@ -4,0 +61,0 @@ |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances 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
261857
35
7580
80
2
13
+ Addeddeep-eql@0.1.2
+ Addeddeep-eql@0.1.2(transitive)
+ Addedtype-detect@0.1.0(transitive)