Js-chai

Latest version: v3.2.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 10

1.4.2

==================

* browser build: (object diff support when used with mocha) 106
* test: [display] array test for mocha object diff
* browser: no longer need different AssertionError constructor

1.4.1

==================

* showDiff: force diff for equal and eql. 106
* test: [expect] type null. 122
* Merge pull request 115 from eshao/fix-assert-Throw
* FIX: assert.Throw checks error type/message
* TST: assert.Throw should check error type/message

1.4.0

==================

* pre-release browser build
* clean up index.js to not check for cov, revert package.json to use index.js
* convert tests to use new bootstrap
* refactor testing bootstrap
* use spaces (not tabs). Clean up 114
* Merge pull request 114 from trantorLiu/master
* Add most() (alias: lte) and least() (alias: gte) to the API with new chainers "at" and "of".
* Change `main` to ./lib/chai. Fixes 28.
* Merge pull request 104 from connec/deep_equals_circular_references_
* Merge pull request 109 from nnarhinen/patch-1
* Check for 'actual' type
* Added support for circular references when checking deep (in)equality.

1.3.0

==================

* browser build w/ folio >= 0.3.4. Closes 99
* add back buffer test for deep equal
* do not write flags to assertion.prototype
* remove buffer test from expect
* browser build
* improve documentation of custom error messages
* Merge branch 'master' of git://github.com/Liffft/chai into Liffft-master
* browser build
* improved buffer deep equal checking
* mocha is npm test command
* Cleaning up the js style…
* expect tests now include message pass-through
* packaging up browser-side changes…
* Increasing Throws error message verbosity
* Should syntax: piping message through
* Make globalShould test work in browser too.
* Add a setter for `Object.prototype.should`. Closes 86.

1.2.0

==================

* Merge branch 'feature/errmsg'
* browser build
* comment updates for utilities
* tweak objDislay to only kick in if object inspection is too long
* Merge branch 'master' into feature/errmsg
* add display sample for error message refactor
* first draft of error message refactor. 93
* add `closeTo` assertion to `assert` interface. Closes 89.
* update folio build for better require.js handling. Closes 85
* Merge pull request 92 from paulmillr/topics/add-dom-checks
* Add check for DOM objects.
* browser build
* Merge branch 'master' of github.com:chaijs/chai
* bug - getActual not defaulting to assertion subject
* Merge pull request 88 from pwnall/master
* Don't inspect() assertion arguments if the assertion passes.

1.1.1

==================

* improve commonjs support on browser build
* Merge pull request 83 from tkazec/equals
* Document .equals
* Add .equals as an alias of .equal
* remove unused browser prefix/suffix
* Merge branch 'feature/folio-build'
* browser build
* using folio to compile
* clean up makefile
* early folio 0.3.x support

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.