chai 1.7.2 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.npmignore CHANGED
@@ -6,7 +6,7 @@ component.json
6
6
  components/
7
7
  build/
8
8
  lib-cov/
9
- coverage.html
9
+ coverage/
10
10
  .travis.yml
11
11
  .mailmap
12
12
  Makefile
@@ -0,0 +1,173 @@
1
+ # Chai Contribution Guidelines
2
+
3
+ We like to encourage you to contribute to the Chai.js repository. This should be as easy as possible for you but there are a few things to consider when contributing. The following guidelines for contribution should be followed if you want to submit a pull request or open an issue.
4
+
5
+ Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue or assessing patches and features.
6
+
7
+ #### Table of Contents
8
+
9
+ - [TLDR;](#tldr)
10
+ - [Contributing](#contributing)
11
+ - [Bug Reports](#bugs)
12
+ - [Feature Requests](#features)
13
+ - [Pull Requests](#pull-requests)
14
+ - [Support](#support)
15
+ - [Resources](#resources)
16
+ - [Core Contributors](#contributors)
17
+
18
+ <a name="tldr"></a>
19
+ ## TLDR;
20
+
21
+ - Creating an Issue or Pull Request requires a [GitHub](http://github.com) account.
22
+ - Issue reports should be **clear**, **concise** and **reproducible**. Check to see if your issue has already been resolved in the [master]() branch or already reported in Chai's [GitHub Issue Tracker](https://github.com/chaijs/chai/issues).
23
+ - Pull Requests must adhere to strict [coding style guidelines](https://github.com/chaijs/chai/wiki/Chai-Coding-Style-Guide).
24
+ - In general, avoid submitting PRs for new Assertions without asking core contributors first. More than likely it would be better implemented as a plugin.
25
+ - Additional support is available via the [Google Group](http://groups.google.com/group/chaijs) or on irc.freenode.net#chaijs.
26
+ - **IMPORTANT**: By submitting a patch, you agree to allow the project owner to license your work under the same license as that used by the project.
27
+
28
+
29
+
30
+ <a name="contributing"></a>
31
+ ## Contributing
32
+
33
+ The issue tracker is the preferred channel for [bug reports](#bugs),
34
+ [feature requests](#features) and [submitting pull
35
+ requests](#pull-requests), but please respect the following restrictions:
36
+
37
+ * Please **do not** use the issue tracker for personal support requests (use
38
+ [Google Group](https://groups.google.com/forum/#!forum/chaijs) or IRC).
39
+ * Please **do not** derail or troll issues. Keep the discussion on topic and
40
+ respect the opinions of others
41
+
42
+ <a name="bugs"></a>
43
+ ### Bug Reports
44
+
45
+ A bug is a **demonstrable problem** that is caused by the code in the repository.
46
+
47
+ Guidelines for bug reports:
48
+
49
+ 1. **Use the GitHub issue search** &mdash; check if the issue has already been reported.
50
+ 2. **Check if the issue has been fixed** &mdash; try to reproduce it using the latest `master` or development branch in the repository.
51
+ 3. **Isolate the problem** &mdash; create a test case to demonstrate your issue. Provide either a repo, gist, or code sample to demonstrate you problem.
52
+
53
+ A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report. What is your environment? What steps will reproduce the issue? What browser(s) and/or Node.js versions experience the problem? What would you expect to be the outcome? All these details will help people to fix any potential bugs.
54
+
55
+ Example:
56
+
57
+ > Short and descriptive example bug report title
58
+ >
59
+ > A summary of the issue and the browser/OS environment in which it occurs. If suitable, include the steps required to reproduce the bug.
60
+ >
61
+ > 1. This is the first step
62
+ > 2. This is the second step
63
+ > 3. Further steps, etc.
64
+ >
65
+ > `<url>` - a link to the reduced test case OR
66
+ > ```js
67
+ > expect(a).to.equal('a');
68
+ > // code sample
69
+ > ```
70
+ >
71
+ > Any other information you want to share that is relevant to the issue being reported. This might include the lines of code that you have identified as causing the bug, and potential solutions (and your opinions on their merits).
72
+
73
+ <a name="features"></a>
74
+ ### Feature Requests
75
+
76
+ Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and aims of the project. It's up to *you* to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible.
77
+
78
+ Furthermore, since Chai.js has a [robust plugin API](http://chaijs.com/guide/plugins/), we encourage you to publish **new Assertions** as plugins. If your feature is an enhancement to an **existing Assertion**, please propose your changes as an issue prior to opening a pull request. If the core Chai.js contributors feel your plugin would be better suited as a core assertion, they will invite you to open a PR in [chaijs/chai](https://github.com/chaijs/chai).
79
+
80
+ <a name="pull-requests"></a>
81
+ ### Pull Requests
82
+
83
+ - PRs for new core-assertions are advised against.
84
+ - PRs for core-assertion bug fixes are always welcome.
85
+ - PRs for enhancing the interfaces are always welcome.
86
+ - PRs that increase test coverage are always welcome.
87
+ - PRs are scrutinized for coding-style.
88
+
89
+ Good pull requests - patches, improvements, new features - are a fantastic help. They should remain focused in scope and avoid containing unrelated commits.
90
+
91
+ **Please ask first** before embarking on any significant pull request (e.g. implementing features, refactoring code), otherwise you risk spending a lot of time working on something that the project's developers might not want to merge into the project.
92
+
93
+ Please adhere to the coding conventions used throughout a project (indentation, accurate comments, etc.) and any other requirements (such as test coverage). Please review the [Chai.js Coding Style Guide](https://github.com/chaijs/chai/wiki/Chai-Coding-Style-Guide).
94
+
95
+ Follow this process if you'd like your work considered for inclusion in the project:
96
+
97
+ 1. [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork, and configure the remotes:
98
+
99
+ ```bash
100
+ # Clone your fork of the repo into the current directory
101
+ git clone https://github.com/<your-username>/<repo-name>
102
+ # Navigate to the newly cloned directory
103
+ cd <repo-name>
104
+ # Assign the original repo to a remote called "upstream"
105
+ git remote add upstream https://github.com/<upstream-owner>/<repo-name>
106
+ ```
107
+
108
+ 2. If you cloned a while ago, get the latest changes from upstream:
109
+
110
+ ```bash
111
+ git checkout <dev-branch>
112
+ git pull upstream <dev-branch>
113
+ ```
114
+
115
+ 3. Create a new topic branch (off the main project development branch) to contain your feature, change, or fix:
116
+
117
+ ```bash
118
+ git checkout -b <topic-branch-name>
119
+ ```
120
+
121
+ 4. Commit your changes in logical chunks. Use Git's [interactive rebase](https://help.github.com/articles/interactive-rebase) feature to tidy up your commits before making them public.
122
+
123
+ 5. Locally merge (or rebase) the upstream development branch into your topic branch:
124
+
125
+ ```bash
126
+ git pull [--rebase] upstream <dev-branch>
127
+ ```
128
+
129
+ 6. Push your topic branch up to your fork:
130
+
131
+ ```bash
132
+ git push origin <topic-branch-name>
133
+ ```
134
+
135
+ 7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) with a clear title and description.
136
+
137
+ **IMPORTANT**: By submitting a patch, you agree to allow the project owner to license your work under the same license as that used by the project.
138
+
139
+ <a name="support"></a>
140
+ ## Support
141
+
142
+ <a name="resources"></a>
143
+ ### Resources
144
+
145
+ For most of the documentation you are going to want to visit [ChaiJS.com](http://chaijs.com).
146
+
147
+ - [Getting Started Guide](http://chaijs.com/guide/)
148
+ - [API Reference](http://chaijs.com/api/)
149
+ - [Plugins](http://chaijs.com/plugins/)
150
+
151
+ Alternatively, the [wiki](https://github.com/chaijs/chai/wiki) might be what you are looking for.
152
+
153
+ - [Chai Coding Style Guide](https://github.com/chaijs/chai/wiki/Chai-Coding-Style-Guide)
154
+ - [Third-party Resources](https://github.com/chaijs/chai/wiki/Third-Party-Resources)
155
+
156
+ Or finally, you may find a core-contributor or like-minded developer in any of our support channels.
157
+
158
+ - IRC: irc.freenode.org #chaijs
159
+ - [Mailing List / Google Group](https://groups.google.com/forum/#!forum/chaijs)
160
+
161
+ <a name="contributors"></a>
162
+ ### Core Contributors
163
+
164
+ Feel free to reach out to any of the core-contributors with you questions or concerns. We will do our best to respond in a timely manner.
165
+
166
+ - Jake Luer
167
+ - GH: [@logicalparadox](https://github.com/logicalparadox)
168
+ - TW: [@jakeluer](http://twitter.com/jakeluer)
169
+ - IRC: logicalparadox
170
+ - Veselin Todorov
171
+ - GH: [@vesln](https://github.com/vesln/)
172
+ - TW: [@vesln](http://twitter.com/vesln)
173
+ - IRC: vesln
package/History.md CHANGED
@@ -1,4 +1,90 @@
1
1
 
2
+ 1.9.1 / 2014-03-19
3
+ ==================
4
+
5
+ * deps update
6
+ * util: [getActual] select actual logic now allows undefined for actual. Closes #183
7
+ * docs: [config] make public, express param type
8
+ * Merge pull request #251 from romario333/threshold3
9
+ * Fix issue #166 - configurable threshold in objDisplay.
10
+ * Move configuration options to config.js.
11
+ * Merge pull request #233 from Empeeric/master
12
+ * Merge pull request #244 from leider/fix_for_contains
13
+ * Merge pull request #247 from didoarellano/typo-fixes
14
+ * Fix typos
15
+ * Merge pull request #245 from lfac-pt/patch-1
16
+ * Update `exports.version` to 1.9.0
17
+ * aborting loop on finding
18
+ * declaring variable only once
19
+ * additional test finds incomplete implementation
20
+ * simplified code
21
+ * fixing #239 (without changing chai.js)
22
+ * ssfi as it should be
23
+ * Merge pull request #228 from duncanbeevers/deep_members
24
+ * Deep equality check for collection membership
25
+
26
+ 1.9.0 / 2014-01-29
27
+ ==================
28
+
29
+ * docs: add contributing.md #238
30
+ * assert: .throws() returns thrown error. Closes #185
31
+ * Merge pull request #232 from laconbass/assert-throws
32
+ * assert: .fail() parameter mismatch. Closes #206
33
+ * Merge branch 'karma-fixes'
34
+ * Add karma phantomjs launcher
35
+ * Use latest karma and sauce launcher
36
+ * Karma tweaks
37
+ * Merge pull request #230 from jkroso/include
38
+ * Merge pull request #237 from chaijs/coverage
39
+ * Add coverage to npmignore
40
+ * Remove lib-cov from test-travisci dependents
41
+ * Remove the not longer needed lcov reporter
42
+ * Test coverage with istanbul
43
+ * Remove jscoverage
44
+ * Remove coveralls
45
+ * Merge pull request #226 from duncanbeevers/add_has
46
+ * Avoid error instantiation if possible on assert.throws
47
+ * Merge pull request #231 from duncanbeevers/update_copyright_year
48
+ * Update Copyright notices to 2014
49
+ * handle negation correctly
50
+ * add failing test case
51
+ * support `{a:1,b:2}.should.include({a:1})`
52
+ * Merge pull request #224 from vbardales/master
53
+ * Add `has` to language chains
54
+ * Merge pull request #219 from demands/overwrite_chainable
55
+ * return error on throw method to chain on error properties, possibly different from message
56
+ * util: store chainable behavior in a __methods object on ctx
57
+ * util: code style fix
58
+ * util: add overwriteChainableMethod utility (for #215)
59
+ * Merge pull request #217 from demands/test_cleanup
60
+ * test: make it possible to run utilities tests with --watch
61
+ * makefile: change location of karma-runner bin script
62
+ * Merge pull request #202 from andreineculau/patch-2
63
+ * test: add tests for throwing custom errors
64
+ * Merge pull request #201 from andreineculau/patch-1
65
+ * test: updated for the new assertion errors
66
+ * core: improve message for assertion errors (throw assertion)
67
+
68
+ 1.8.1 / 2013-10-10
69
+ ==================
70
+
71
+ * pkg: update deep-eql version
72
+
73
+ 1.8.0 / 2013-09-18
74
+ ==================
75
+
76
+ * test: [sauce] add a few more browsers
77
+ * Merge branch 'refactor/deep-equal'
78
+ * util: remove embedded deep equal utility
79
+ * util: replace embedded deep equal with external module
80
+ * Merge branch 'feature/karma'
81
+ * docs: add sauce badge to readme [ci skip]
82
+ * test: [sauce] use karma@canary to prevent timeouts
83
+ * travis: only run on node 0.10
84
+ * test: [karma] use karma phantomjs runner
85
+ * Merge pull request #181 from tricknotes/fix-highlight
86
+ * Fix highlight for example code
87
+
2
88
  1.7.2 / 2013-06-27
3
89
  ==================
4
90
 
@@ -47,7 +133,7 @@
47
133
  * Downgrade mocha version for fix running Phantom tests.
48
134
  * Fix comparison equality of two regexps.
49
135
  * Merge pull request #161 from brandonpayton/master
50
- * Fix documented name for assert interface's isDefined method
136
+ * Fix documented name for assert interfaces isDefined method
51
137
 
52
138
  1.6.0 / 2013-04-29
53
139
  ==================
package/README.md CHANGED
@@ -1,5 +1,3 @@
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)
2
-
3
1
  [![Chai Documentation](http://chaijs.com/public/img/chai-logo.png)](http://chaijs.com)
4
2
 
5
3
  Chai is a BDD / TDD assertion library for [node](http://nodejs.org) and the browser that
@@ -7,56 +5,80 @@ can be delightfully paired with any javascript testing framework.
7
5
 
8
6
  For more information or to download plugins, view the [documentation](http://chaijs.com).
9
7
 
8
+ [![Build Status](https://travis-ci.org/chaijs/chai.png?branch=master)](https://travis-ci.org/chaijs/chai)
9
+
10
+ [![Selenium Test Status](https://saucelabs.com/browser-matrix/chaijs.svg)](https://saucelabs.com/u/chaijs)
11
+
12
+ ### Plugins
13
+
14
+ Chai offers a robust Plugin architecture for extending Chai's assertions and interfaces.
15
+
16
+ - Need a plugin? View the [official plugin list](http://chaijs.com/plugins).
17
+ - Have a plugin and want it listed? Open a Pull Request at [chaijs/chai-docs:plugin.js](https://github.com/chaijs/chai-docs/blob/master/plugins.js#L1-L12).
18
+ - Want to build a plugin? Read the [plugin api documentation](http://chaijs.com/guide/plugins/).
19
+
10
20
  ### Related Projects
11
21
 
12
- - [@chaijs/assertion-error](https://github.com/chaijs/assertion-error): Custom `Error` constructor
13
- thrown upon an assertion failing.
22
+ - [chaijs / assertion-error](https://github.com/chaijs/assertion-error): Custom `Error` constructor thrown upon an assertion failing.
23
+ - [chaijs / deep-eql](https://github.com/chaijs/deep-eql): Improved deep equality testing for Node.js and the browser.
14
24
 
15
25
  ### Contributors
16
26
 
17
27
  project : chai
18
- repo age : 1 year, 7 months
19
- active : 136 days
20
- commits : 678
21
- files : 55
28
+ repo age : 2 years, 3 months ago
29
+ commits : 756
30
+ active : 170 days
31
+ files : 57
22
32
  authors :
23
- 504 Jake Luer 74.3%
24
- 66 Veselin Todorov 9.7%
25
- 43 Domenic Denicola 6.3%
26
- 6 Ruben Verborgh 0.9%
27
- 5 Juliusz Gonera 0.7%
33
+ 540 Jake Luer 71.4%
34
+ 79 Veselin Todorov 10.4%
35
+ 43 Domenic Denicola 5.7%
36
+ 6 Ruben Verborgh 0.8%
28
37
  5 George Kats 0.7%
29
- 5 Scott Nonnenberg 0.7%
30
38
  5 Jo Liss 0.7%
31
- 4 John Firebaugh 0.6%
32
- 4 josher19 0.6%
33
- 4 Nick Heiner 0.6%
39
+ 5 Juliusz Gonera 0.7%
40
+ 5 Scott Nonnenberg 0.7%
41
+ 5 leider 0.7%
42
+ 4 John Firebaugh 0.5%
43
+ 4 Max Edmands 0.5%
44
+ 4 Nick Heiner 0.5%
45
+ 4 josher19 0.5%
46
+ 3 Andrei Neculau 0.4%
47
+ 3 Duncan Beevers 0.4%
48
+ 3 Jake Rosoman 0.4%
34
49
  3 Jeff Barczewski 0.4%
35
- 2 Ryunosuke SATO 0.3%
50
+ 3 Ryunosuke SATO 0.4%
51
+ 3 Veselin 0.4%
36
52
  2 Bartvds 0.3%
37
- 2 Teddy Cross 0.3%
38
53
  2 Edwin Shao 0.3%
39
54
  2 Jakub Nešetřil 0.3%
40
- 1 piecioshka 0.1%
55
+ 2 Roman Masek 0.3%
56
+ 2 Teddy Cross 0.3%
57
+ 1 Anand Patil 0.1%
41
58
  1 Benjamin Horsleben 0.1%
42
59
  1 Brandon Payton 0.1%
43
60
  1 Chris Connelly 0.1%
44
61
  1 Chun-Yi 0.1%
45
62
  1 DD 0.1%
63
+ 1 Dido Arellano 0.1%
46
64
  1 Jeff Welch 0.1%
47
65
  1 Kilian Ciuffolo 0.1%
66
+ 1 Luís Cardoso 0.1%
48
67
  1 Niklas Närhinen 0.1%
49
68
  1 Paul Miller 0.1%
69
+ 1 Refael Ackermann 0.1%
50
70
  1 Sasha Koss 0.1%
51
71
  1 Victor Costan 0.1%
52
72
  1 Vinay Pulim 0.1%
53
- 1 Anand Patil 0.1%
73
+ 1 Virginie BARDALES 0.1%
74
+ 1 laconbass 0.1%
75
+ 1 piecioshka 0.1%
54
76
 
55
77
  ## License
56
78
 
57
79
  (The MIT License)
58
80
 
59
- Copyright (c) 2011-2013 Jake Luer <jake@alogicalparadox.com>
81
+ Copyright (c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
60
82
 
61
83
  Permission is hereby granted, free of charge, to any person obtaining a copy
62
84
  of this software and associated documentation files (the "Software"), to deal
package/ReleaseNotes.md CHANGED
@@ -1,5 +1,193 @@
1
1
  # Release Notes
2
2
 
3
+ ## 1.9.1 / 2014-03-19
4
+
5
+ The following changes are required if you are upgrading from the previous version:
6
+
7
+ - **Users:**
8
+ - Migrate configuration options to new interface. (see notes)
9
+ - **Plugin Developers:**
10
+ - No changes required
11
+ - **Core Contributors:**
12
+ - Refresh `node_modules` folder for updated dependencies.
13
+
14
+ ### Configuration
15
+
16
+ There have been requests for changes and additions to the configuration mechanisms
17
+ and their impact in the Chai architecture. As such, we have decoupled the
18
+ configuration from the `Assertion` constructor. This not only allows for centralized
19
+ configuration, but will allow us to shift the responsibility from the `Assertion`
20
+ constructor to the `assert` interface in future releases.
21
+
22
+ These changes have been implemented in a non-breaking way, but a depretiation
23
+ warning will be presented to users until they migrate. The old config method will
24
+ be removed in either `v1.11.0` or `v2.0.0`, whichever comes first.
25
+
26
+ #### Quick Migration
27
+
28
+ ```js
29
+ // change this:
30
+ chai.Assertion.includeStack = true;
31
+ chai.Assertion.showDiff = false;
32
+
33
+ // ... to this:
34
+ chai.config.includeStack = true;
35
+ chai.config.showDiff = false;
36
+ ```
37
+
38
+ #### All Config Options
39
+
40
+ ##### config.includeStack
41
+
42
+ - **@param** _{Boolean}_
43
+ - **@default** `false`
44
+
45
+ User configurable property, influences whether stack trace is included in
46
+ Assertion error message. Default of `false` suppresses stack trace in the error
47
+ message.
48
+
49
+ ##### config.showDiff
50
+
51
+ - **@param** _{Boolean}_
52
+ - **@default** `true`
53
+
54
+ User configurable property, influences whether or not the `showDiff` flag
55
+ should be included in the thrown AssertionErrors. `false` will always be `false`;
56
+ `true` will be true when the assertion has requested a diff be shown.
57
+
58
+ ##### config.truncateThreshold **(NEW)**
59
+
60
+ - **@param** _{Number}_
61
+ - **@default** `40`
62
+
63
+ User configurable property, sets length threshold for actual and expected values
64
+ in assertion errors. If this threshold is exceeded, the value is truncated.
65
+
66
+ Set it to zero if you want to disable truncating altogether.
67
+
68
+ ```js
69
+ chai.config.truncateThreshold = 0; // disable truncating
70
+ ```
71
+
72
+ ### Community Contributions
73
+
74
+ - [#228](https://github.com/chaijs/chai/pull/228) Deep equality check for memebers. [@duncanbeevers](https://github.com/duncanbeevers)
75
+ - [#247](https://github.com/chaijs/chai/pull/247) Proofreading. [@didorellano](https://github.com/didoarellano)
76
+ - [#244](https://github.com/chaijs/chai/pull/244) Fix `contain`/`include` 1.9.0 regression. [@leider](https://github.com/leider)
77
+ - [#233](https://github.com/chaijs/chai/pull/233) Improvements to `ssfi` for `assert` interface. [@refack](https://github.com/refack)
78
+ - [#251](https://github.com/chaijs/chai/pull/251) New config option: object display threshold. [@romario333](https://github.com/romario333)
79
+
80
+ Thank you to all who took time to contribute!
81
+
82
+ ### Other Bug Fixes
83
+
84
+ - [#183](https://github.com/chaijs/chai/issues/183) Allow `undefined` for actual. (internal api)
85
+ - Update Karam(+plugins)/Istanbul to most recent versions.
86
+
87
+ ## 1.9.0 / 2014-01-29
88
+
89
+ The following changes are required if you are upgrading from the previous version:
90
+
91
+ - **Users:**
92
+ - No changes required
93
+ - **Plugin Developers:**
94
+ - Review [#219](https://github.com/chaijs/chai/pull/219).
95
+ - **Core Contributors:**
96
+ - Refresh `node_modules` folder for updated dependencies.
97
+
98
+ ### Community Contributions
99
+
100
+ - [#202](https://github.com/chaijs/chai/pull/201) Improve error message for .throw(). [@andreineculau](https://github.com/andreineculau)
101
+ - [#217](https://github.com/chaijs/chai/pull/217) Chai tests can be run with `--watch`. [@demands](https://github.com/demands)
102
+ - [#219](https://github.com/chaijs/chai/pull/219) Add overwriteChainableMethod utility. [@demands](https://github.com/demands)
103
+ - [#224](https://github.com/chaijs/chai/pull/224) Return error on throw method to chain on error properties. [@vbardales](https://github.com/vbardales)
104
+ - [#226](https://github.com/chaijs/chai/pull/226) Add `has` to language chains. [@duncanbeevers](https://github.com/duncanbeevers)
105
+ - [#230](https://github.com/chaijs/chai/pull/230) Support `{a:1,b:2}.should.include({a:1})` [@jkroso](https://github.com/jkroso)
106
+ - [#231](https://github.com/chaijs/chai/pull/231) Update Copyright notices to 2014 [@duncanbeevers](https://github.com/duncanbeevers)
107
+ - [#232](https://github.com/chaijs/chai/pull/232) Avoid error instantiation if possible on assert.throws. [@laconbass](https://github.com/laconbass)
108
+
109
+ Thank you to all who took time to contribute!
110
+
111
+ ### Other Bug Fixes
112
+
113
+ - [#225](https://github.com/chaijs/chai/pull/225) Improved AMD wrapper provided by upstream `component(1)`.
114
+ - [#185](https://github.com/chaijs/chai/issues/185) `assert.throws()` returns thrown error for further assertions.
115
+ - [#237](https://github.com/chaijs/chai/pull/237) Remove coveralls/jscoverage, include istanbul coverage report in travis test.
116
+ - Update Karma and Sauce runner versions for consistent CI results. No more karma@canary.
117
+
118
+ ## 1.8.1 / 2013-10-10
119
+
120
+ The following changes are required if you are upgrading from the previous version:
121
+
122
+ - **Users:**
123
+ - Refresh `node_modules` folder for updated dependencies.
124
+ - **Plugin Developers:**
125
+ - No changes required
126
+ - **Core Contributors:**
127
+ - Refresh `node_modules` folder for updated dependencies.
128
+
129
+ ### Browserify
130
+
131
+ This is a small patch that updates the dependency tree so browserify users can install
132
+ chai. (Remove conditional requires)
133
+
134
+ ## 1.8.0 / 2013-09-18
135
+
136
+ The following changes are required if you are upgrading from the previous version:
137
+
138
+ - **Users:**
139
+ - See `deep.equal` notes.
140
+ - **Plugin Developers:**
141
+ - No changes required
142
+ - **Core Contributors:**
143
+ - Refresh `node_modules` folder for updated dependencies.
144
+
145
+ ### Deep Equals
146
+
147
+ This version of Chai focused on a overhaul to the deep equal utility. The code for this
148
+ tool has been removed from the core lib and can now be found at:
149
+ [chai / deep-eql](https://github.com/chaijs/deep-eql). As stated in previous releases,
150
+ this is part of a larger initiative to provide transparency, independent testing, and coverage for
151
+ some of the more complicated internal tools.
152
+
153
+ For the most part `.deep.equal` will behave the same as it has. However, in order to provide a
154
+ consistent ruleset across all types being tested, the following changes have been made and _might_
155
+ require changes to your tests.
156
+
157
+ **1.** Strict equality for non-traversable nodes according to [egal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).
158
+
159
+ _Previously:_ Non-traversable equal via `===`.
160
+
161
+ ```js
162
+ expect(NaN).to.deep.equal(NaN);
163
+ expect(-0).to.not.deep.equal(+0);
164
+ ```
165
+
166
+ **2.** Arguments are not Arrays (and all types must be equal):
167
+
168
+ _Previously:_ Some crazy nonsense that led to empty arrays deep equaling empty objects deep equaling dates.
169
+
170
+ ```js
171
+ expect(arguments).to.not.deep.equal([]);
172
+ expect(Array.prototype.slice.call(arguments)).to.deep.equal([]);
173
+ ```
174
+
175
+ - [#156](https://github.com/chaijs/chai/issues/156) Empty object is eql to empty array
176
+ - [#192](https://github.com/chaijs/chai/issues/192) empty object is eql to a Date object
177
+ - [#194](https://github.com/chaijs/chai/issues/194) refactor deep-equal utility
178
+
179
+ ### CI and Browser Testing
180
+
181
+ Chai now runs the browser CI suite using [Karma](http://karma-runner.github.io/) directed at
182
+ [SauceLabs](https://saucelabs.com/). This means we get to know where our browser support stands...
183
+ and we get a cool badge:
184
+
185
+ [![Selenium Test Status](https://saucelabs.com/browser-matrix/logicalparadox.svg)](https://saucelabs.com/u/logicalparadox)
186
+
187
+ Look for the list of browsers/versions to expand over the coming releases.
188
+
189
+ - [#195](https://github.com/chaijs/chai/issues/195) karma test framework
190
+
3
191
  ## 1.7.2 / 2013-06-27
4
192
 
5
193
  The following changes are required if you are upgrading from the previous version:
package/bower.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chai"
3
- , "version": "1.7.2"
3
+ , "version": "1.9.1"
4
4
  , "description": "BDD/TDD assertion library for node.js and the browser. Test framework agnostic."
5
5
  , "license": "MIT"
6
6
  , "keywords": [