Socket
Socket
Sign inDemoInstall

mocha

Package Overview
Dependencies
Maintainers
1
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha - npm Package Versions

1
20

5.1.0

Diff

Changelog

Source

5.1.0 / 2018-04-12

:tada: Enhancements

  • #3210: Add --exclude option (@metalex9)

:bug: Fixes

:book: Documentation

:nut_and_bolt: Other

boneskull
published 5.0.5 •

Changelog

Source

5.0.5 / 2018-03-22

Welcome @outsideris to the team!

:bug: Fixes

:book: Documentation

:nut_and_bolt: Other

boneskull
published 5.0.4 •

Changelog

Source

5.0.4 / 2018-03-07

:bug: Fixes

  • #3265: Fixes regression in "watch" functionality introduced in v5.0.2 (@outsideris)
boneskull
published 5.0.3 •

Changelog

Source

5.0.3 / 2018-03-06

This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).

:lock: Security Fixes

:nut_and_bolt: Other

boneskull
published 5.0.2 •

Changelog

Source

5.0.2 / 2018-03-05

This release fixes a class of tests which report as false positives. Certain tests will now break, though they would have previously been reported as passing. Details below. Sorry for the inconvenience!

:bug: Fixes

  • #3226: Do not swallow errors that are thrown asynchronously from passing tests (@boneskull). Example:

    ```js it('should actually fail, sorry!', function (done) { // passing assertion assert(true === true);

    // test complete & is marked as passing done();

    // ...but something evil lurks within setTimeout(() => { throw new Error('chaos!'); }, 100); }); ```

    Previously to this version, Mocha would have silently swallowed the chaos! exception, and you wouldn't know. Well, now you know. Mocha cannot recover from this gracefully, so it will exit with a nonzero code.

    Maintainers of external reporters: If a test of this class is encountered, the Runner instance will emit the end event twice; you may need to change your reporter to use runner.once('end') intead of runner.on('end').

  • #3093: Fix stack trace reformatting problem (@outsideris)

:nut_and_bolt: Other

boneskull
published 5.0.1 •

Changelog

Source

5.0.1 / 2018-02-07

...your garden-variety patch release.

Special thanks to Wallaby.js for their continued support! :heart:

:bug: Fixes

:book: Documentation

:nut_and_bolt: Other

boneskull
published 5.0.0 •

Changelog

Source

5.0.0 / 2018-01-17

Mocha starts off 2018 right by again dropping support for unmaintained rubbish.

Welcome @vkarpov15 to the team!

:boom: Breaking Changes

  • #3148: Drop support for IE9 and IE10 (@Bamieh) Practically speaking, only code which consumes (through bundling or otherwise) the userland buffer module should be affected. However, Mocha will no longer test against these browsers, nor apply fixes for them.

:tada: Enhancements

:bug: Fixes

:sunglasses: Developer Experience

:book: Documentation

:nut_and_bolt: Other

boneskull
published 4.1.0 •

boneskull
published 4.0.1 •

boneskull
published 4.0.0 •

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