Js-mocha

Latest version: v2.2.5

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

Scan your dependencies

Page 3 of 22

3.5.0

:newspaper: News

- Mocha now has a [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) (thanks [kungapal]!).
- Old issues and PRs are now being marked "stale" by [Probot's "Stale" plugin](https://github.com/probot/stale). If an issue is marked as such, and you would like to see it remain open, simply add a new comment to the ticket or PR.
- **WARNING**: Support for non-ES5-compliant environments will be dropped starting with version 4.0.0 of Mocha!

:lock: Security Fixes

- [2860]: Address [CVE-2015-8315](https://nodesecurity.io/advisories/46) via upgrade of [debug](https://npm.im/debug) ([boneskull])

:tada: Enhancements

- [2696]: Add `--forbid-only` and `--forbid-pending` flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! ([charlierudolph])
- [2813]: Support Node.js 8's `--napi-modules` flag ([jupp0r])

:nut_and_bolt: Other

- Various CI-and-test-related fixes and improvements ([boneskull], [dasilvacontin], [PopradiArpad], [Munter], [ScottFreeCode])
- "Officially" support Node.js 8 ([elergy])

[2860]: https://github.com/mochajs/mocha/pull/2860
[2696]: https://github.com/mochajs/mocha/pull/2696
[2813]: https://github.com/mochajs/mocha/pull/2813
[charlierudolph]: https://github.com/charlierudolph
[PopradiArpad]: https://github.com/PopradiArpad
[kungapal]: https://github.com/kungapal
[elergy]: https://github.com/elergy
[jupp0r]: https://github.com/jupp0r

3.4.2

:bug: Fixes

- [2802]: Remove call to deprecated `os.tmpDir` ([makepanic])
- [2820]: Eagerly set `process.exitCode` ([chrisleck])

:nut_and_bolt: Other

- [2778]: Move linting into an npm script ([Munter])

[chrisleck]: https://github.com/chrisleck
[makepanic]: https://github.com/makepanic
[Munter]: https://github.com/Munter

[2778]: https://github.com/mochajs/mocha/pull/2778
[2802]: https://github.com/mochajs/mocha/issues/2802
[2820]: https://github.com/mochajs/mocha/pull/2820

3.4.1

Fixed a publishing mishap with git's autocrlf settings.

3.4.0

Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.

This week's highlights:

- `allowUncaught` added to commandline as `--allow-uncaught` (and bugfixed)
- warning-related Node flags

:tada: Enhancements

- [2793], [2697]: add --allowUncaught to Node.js ([lrowe])
- [2733]: Add `--no-warnings` and `--trace-warnings` flags ([sonicdoe])

:bug: Fixes

- [2793], [2697]: fix broken allowUncaught ([lrowe])

:nut_and_bolt: Other

- [2778]: Add license report and scan status ([xizhao])
- [2794]: no special case for macOS running Karma locally ([boneskull])
- [2795]: reverts use of semistandard directly ([2648]) ([boneskull])

[lrowe]: https://github.com/lrowe
[sonicdoe]: https://github.com/sonicdoe
[xizhao]: https://github.com/xizhao
[boneskull]: https://github.com/boneskull

[2795]: https://github.com/mochajs/mocha/pull/2795
[2733]: https://github.com/mochajs/mocha/pull/2733
[2793]: https://github.com/mochajs/mocha/pull/2793
[2697]: https://github.com/mochajs/mocha/pull/2697
[2778]: https://github.com/mochajs/mocha/pull/2778
[2794]: https://github.com/mochajs/mocha/pull/2794

3.3.0

Thanks to all our contributors, maintainers, sponsors, and users! ❤️

As highlights:

- We've got coverage now!
- Testing is looking less flaky \o/.
- No more nitpicking about "mocha.js" build on PRs.

:tada: Enhancements

- [2659]: Adds support for loading reporter from an absolute or relative path ([sul4bh])
- [2769]: Support `--inspect-brk` on command-line ([igwejk])

:bug: Fixes

- [2662]: Replace unicode chars w/ hex codes in HTML reporter ([rotemdan])

:mag: Coverage

- [2672]: Add coverage for node tests ([c089], [Munter])
- [2680]: Increase tests coverage for base reporter ([epallerols])
- [2690]: Increase tests coverage for doc reporter ([craigtaub])
- [2701]: Increase tests coverage for landing, min, tap and list reporters ([craigtaub])
- [2691]: Increase tests coverage for spec + dot reporters ([craigtaub])
- [2698]: Increase tests coverage for xunit reporter ([craigtaub])
- [2699]: Increase tests coverage for json-stream, markdown and progress reporters ([craigtaub])
- [2703]: Cover .some() function in utils.js with tests ([seppevs])
- [2773]: Add tests for loading reporters w/ relative/absolute paths ([sul4bh])

:nut_and_bolt: Other

- Remove bin/.eslintrc; ensure execs are linted ([boneskull])
- [2542]: Expand CONTRIBUTING.md ([boneskull])
- [2660]: Double timeouts on integration tests ([Munter])
- [2653]: Update copyright year ([Scottkao85], [Munter])
- [2621]: Update dependencies to enable Greenkeeper ([boneskull], [greenkeeper])
- [2625]: Use trusty container in travis-ci; use "artifacts" addon ([boneskull])
- [2670]: doc(CONTRIBUTING): fix link to org members ([coderbyheart])
- Add Mocha propaganda to README.md ([boneskull])
- [2470]: Avoid test flake in "delay" test ([boneskull])
- [2675]: Limit browser concurrency on sauce ([boneskull])
- [2669]: Use temporary test-only build of mocha.js for browsers tests ([Munter])
- Fix "projects" link in README.md ([boneskull])
- [2678]: Chore(Saucelabs): test on IE9, IE10 and IE11 ([coderbyheart])
- [2648]: Use `semistandard` directly ([kt3k])
- [2727]: Make the build reproducible ([lamby])

[boneskull]: https://github.com/boneskull
[c089]: https://github.com/c089
[coderbyheart]: https://github.com/coderbyheart
[craigtaub]: https://github.com/craigtaub
[epallerols]: https://github.com/epallerols
[greenkeeper]: https://github.com/greenkeeper
[igwejk]: https://github.com/igwejk
[kt3k]: https://github.com/kt3k
[lamby]: https://github.com/lamby
[Munter]: https://github.com/Munter
[rotemdan]: https://github.com/rotemdan
[seppevs]: https://github.com/seppevs
[sul4bh]: https://github.com/sul4bh

[2470]: https://github.com/mochajs/mocha/pull/2470
[2542]: https://github.com/mochajs/mocha/issues/2542
[2621]: https://github.com/mochajs/mocha/pull/2621
[2625]: https://github.com/mochajs/mocha/pull/2625
[2648]: https://github.com/mochajs/mocha/pull/2648
[2653]: https://github.com/mochajs/mocha/pull/2653
[2659]: https://github.com/mochajs/mocha/pull/2659
[2660]: https://github.com/mochajs/mocha/pull/2660
[2662]: https://github.com/mochajs/mocha/pull/2662
[2669]: https://github.com/mochajs/mocha/pull/2669
[2670]: https://github.com/mochajs/mocha/pull/2670
[2672]: https://github.com/mochajs/mocha/pull/2672
[2675]: https://github.com/mochajs/mocha/pull/2675
[2678]: https://github.com/mochajs/mocha/pull/2678
[2680]: https://github.com/mochajs/mocha/pull/2680
[2690]: https://github.com/mochajs/mocha/pull/2690
[2691]: https://github.com/mochajs/mocha/pull/2691
[2698]: https://github.com/mochajs/mocha/pull/2698
[2699]: https://github.com/mochajs/mocha/pull/2699
[2701]: https://github.com/mochajs/mocha/pull/2701
[2703]: https://github.com/mochajs/mocha/pull/2703
[2727]: https://github.com/mochajs/mocha/pull/2727
[2769]: https://github.com/mochajs/mocha/pull/2769
[2773]: https://github.com/mochajs/mocha/pull/2773

3.2.0

:newspaper: News

Mocha is now a JS Foundation Project!

Mocha is proud to have joined the [JS Foundation](https://js.foundation). For more information, [read the announcement](https://js.foundation/announcements/2016/10/17/Linux-Foundation-Unites-JavaScript-Community-Open-Web-Development/).

Contributor License Agreement

Under the foundation, all contributors to Mocha must sign the [JS Foundation CLA](https://js.foundation/CLA/) before their code can be merged. When sending a PR--if you have not already signed the CLA--a friendly bot will ask you to do so.

Mocha remains licensed under the [MIT license](https://github.com/mochajs/mocha/blob/master/LICENSE).

:bug: Bug Fix

- [2535]: Fix crash when `--watch` encounters broken symlinks ([villesau])
- [2593]: Fix (old) regression; incorrect symbol shown in `list` reporter ([Aldaviva])
- [2584]: Fix potential error when running XUnit reporter ([vobujs])

:tada: Enhancement

- [2294]: Improve timeout error messaging ([jeversmann], [boneskull])
- [2520]: Add info about `--inspect` flag to CLI help ([ughitsaaron])

:nut_and_bolt: Other

- [2570]: Use [karma-mocha](https://npmjs.com/package/karma-mocha) proper ([boneskull])
- Licenses updated to reflect new copyright, add link to license and browser matrix to `README.md` ([boneskull], [ScottFreeCode], [dasilvacontin])

[2294]: https://github.com/mochajs/mocha/issues/2294
[2535]: https://github.com/mochajs/mocha/issues/2535
[2520]: https://github.com/mochajs/mocha/pull/2520
[2593]: https://github.com/mochajs/mocha/pull/2593
[2584]: https://github.com/mochajs/mocha/issues/2584
[2570]: https://github.com/mochajs/mocha/issues/2570
[Aldaviva]: https://github.com/Aldaviva
[jeversmann]: https://github.com/jeversmann
[ughitsaaron]: https://github.com/ughitsaaron
[villesau]: https://github.com/villesau
[vobujs]: https://github.com/vobujs

Thanks to all our contributors, sponsors and backers! Keep on the lookout for a public roadmap and new contribution guide coming soon.

Page 3 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.