Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chai

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chai - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

2

bower.json
{
"name": "chai",
"version": "2.1.1",
"version": "2.1.2",
"description": "BDD/TDD assertion library for node.js and the browser. Test framework agnostic.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -199,1 +199,5 @@ # Chai Contribution Guidelines

- IRC: vesln
- Keith Cirkel
- GH: [@keithamus](https://github.com/keithamus)
- TW: [@keithamus](http://twitter.com/keithamus)
- IRC: keithamus

@@ -0,1 +1,11 @@

2.1.2 / 2015-03-15
==================
* Merge pull request #396 from chaijs/add-keith-cirkel-contributing-md
* Add Keith Cirkel to CONTRIBUTING.md
* Merge pull request #395 from cjqed/386-assert-operator-no-eval
* No longer using eval on assert operator #386
* Merge pull request #389 from chaijs/update-git-summary
* Update `git summary` in README
2.1.1 / 2015-03-04

@@ -2,0 +12,0 @@ ==================

@@ -14,3 +14,3 @@ /*!

exports.version = '2.1.1';
exports.version = '2.1.2';

@@ -17,0 +17,0 @@ /*!

@@ -1007,6 +1007,32 @@ /*!

assert.operator = function (val, operator, val2, msg) {
if (!~['==', '===', '>', '>=', '<', '<=', '!=', '!=='].indexOf(operator)) {
throw new Error('Invalid operator "' + operator + '"');
var ok;
switch(operator) {
case '==':
ok = val == val2;
break;
case '===':
ok = val === val2;
break;
case '>':
ok = val > val2;
break;
case '>=':
ok = val >= val2;
break;
case '<':
ok = val < val2;
break;
case '<=':
ok = val <= val2;
break;
case '!=':
ok = val != val2;
break;
case '!==':
ok = val !== val2;
break;
default:
throw new Error('Invalid operator "' + operator + '"');
}
var test = new Assertion(eval(val + operator + val2), msg);
var test = new Assertion(ok, msg);
test.assert(

@@ -1013,0 +1039,0 @@ true === flag(test, 'object')

@@ -20,3 +20,3 @@ {

],
"version": "2.1.1",
"version": "2.1.2",
"repository": {

@@ -23,0 +23,0 @@ "type": "git",

@@ -29,39 +29,42 @@ [![Chai Documentation](http://chaijs.com/public/img/chai-logo.png)](http://chaijs.com)

repo age : 3 years, 3 months
active : 224 days
commits : 859
active : 232 days
commits : 879
files : 59
authors :
554 Jake Luer 64.5%
79 Veselin Todorov 9.2%
43 Domenic Denicola 5.0%
29 Keith Cirkel 3.4%
555 Jake Luer 63.1%
79 Veselin Todorov 9.0%
43 Domenic Denicola 4.9%
41 Keith Cirkel 4.7%
14 Joshua Perry 1.6%
8 Chris Polis 0.9%
6 Ruben Verborgh 0.7%
6 Ian Zamojc 0.7%
6 Ruben Verborgh 0.7%
5 Juliusz Gonera 0.6%
5 leider 0.6%
5 George Kats 0.6%
5 Scott Nonnenberg 0.6%
5 Jo Liss 0.6%
5 Scott Nonnenberg 0.6%
5 leider 0.6%
4 charlierudolph 0.5%
5 Juliusz Gonera 0.6%
4 Veselin 0.5%
4 Nick Heiner 0.5%
4 David da Silva 0.5%
4 Chris Jones 0.5%
4 Max Edmands 0.5%
4 David da Silva 0.5%
4 Veselin 0.5%
4 josher19 0.5%
4 John Firebaugh 0.5%
4 Nick Heiner 0.5%
4 Max Edmands 0.5%
4 charlierudolph 0.5%
3 Ryunosuke SATO 0.3%
3 Jason Karns 0.3%
3 Jeff Barczewski 0.3%
3 Andrei Neculau 0.3%
3 Duncan Beevers 0.3%
3 Ryunosuke SATO 0.3%
3 Jake Rosoman 0.3%
3 Jason Karns 0.3%
3 Jeff Barczewski 0.3%
2 Jakub Nešetřil 0.2%
2 Teddy Cross 0.2%
2 Bartvds 0.2%
2 Edwin Shao 0.2%
2 Gregg Lind 0.2%
2 Roman Masek 0.2%
2 Gregg Lind 0.2%
2 Edwin Shao 0.2%
2 Bartvds 0.2%
2 Jérémie Astori 0.2%
2 Jakub Nešetřil 0.2%
2 eldritch fossicker 0.2%
1 Adam Hull 0.1%
1 toastynerd 0.1%

@@ -79,2 +82,3 @@ 1 Anand Patil 0.1%

1 Dido Arellano 0.1%
1 Doug Neiner 0.1%
1 Jeff Welch 0.1%

@@ -95,2 +99,3 @@ 1 Jesse McCarthy 0.1%

1 Virginie BARDALES 0.1%
1 Vlad GURDIGA 0.1%
1 ericdouglas 0.1%

@@ -100,6 +105,5 @@ 1 laconbass 0.1%

1 piecioshka 0.1%
1 root 0.1%
1 shinnn 0.1%
1 Adam Hull 0.1%
## License

@@ -106,0 +110,0 @@

# Release Notes
## 2.1.2 / 2015-03-15
A minor bug fix. No new features.
### Community Contributions
#### Code Features & Fixes
* [#395](https://github.com/chaijs/chai/pull/395) Fix eval-related bugs with
assert.operator ([#386](https://github.com/chaijs/chai/pull/386)).
By [@cjqed](https://github.com/cjqed)
## 2.1.1 / 2015-03-04

@@ -4,0 +16,0 @@

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