Socket
Socket
Sign inDemoInstall

mocha

Package Overview
Dependencies
73
Maintainers
3
Versions
192
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
46
20Next

6.2.0

Diff

Changelog

Source

6.2.0 / 2019-07-18

:tada: Enhancements

  • #3827: Do not fork child-process if no Node flags are present (@boneskull)
  • #3725: Base reporter store ref to console.log, see mocha/wiki (@craigtaub)

:bug: Fixes

  • #3942: Fix "No test files found" Error when file is passed via --file (@gabegorelick)
  • #3914: Modify Mocha constructor to accept options global or globals (@pascalpp)
  • #3894: Fix parsing of config files with _mocha binary (@juergba)
  • #3834: Fix CLI parsing with default values (@boneskull, @juergba)
  • #3831: Fix --timeout/--slow string values and duplicate arguments (@boneskull, @juergba)

:book: Documentation

:mag: Coverage

:nut_and_bolt: Other

boneskull
published 6.1.4 •

Changelog

Source

6.1.4 / 2019-04-18

:lock: Security Fixes

boneskull
published 6.1.3 •

Changelog

Source

6.1.3 / 2019-04-11

:bug: Fixes

boneskull
published 6.1.2 •

Changelog

Source

6.1.2 / 2019-04-08

:bug: Fixes

  • #3867: Re-publish v6.1.1 from POSIX OS to avoid dropped executable flags (@boneskull)
juergba
published 6.1.1 •

Changelog

Source

6.1.1 / 2019-04-07

:bug: Fixes

juergba
published 6.1.0 •

Changelog

Source

6.1.0 / 2019-04-07

:lock: Security Fixes

  • #3845: Update dependency "js-yaml" to v3.13.0 per npm security advisory (@plroebuck)

:tada: Enhancements

  • #3766: Make reporter constructor support optional options parameter (@plroebuck)
  • #3760: Add support for config files with .jsonc extension (@sstephant)

:fax: Deprecations

These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:

:bug: Fixes

  • #3829: Use cwd-relative pathname to load config file (@plroebuck)
  • #3745: Fix async calls of this.skip() in "before each" hooks (@juergba)
  • #3669: Enable --allow-uncaught for uncaught exceptions thrown inside hooks (@givanse)

and some regressions:

:book: Documentation

:nut_and_bolt: Other

  • #3830: Replace dependency "findup-sync" with "find-up" for faster startup (@cspotcode)
  • #3799: Update devDependencies to fix many npm vulnerabilities (@XhmikosR)
boneskull
published 6.0.2 •

Changelog

Source

6.0.2 / 2019-02-25

:bug: Fixes

Two more regressions fixed:

  • #3768: Test file paths no longer dropped from mocha.opts (@boneskull)
  • #3767: --require does not break on module names that look like certain node flags (@boneskull)
boneskull
published 6.0.1 •

Changelog

Source

6.0.1 / 2019-02-21

The obligatory round of post-major-release bugfixes.

:bug: Fixes

These issues were regressions.

  • #3754: Mocha again finds test.js when run without arguments (@plroebuck)
  • #3756: Mocha again supports third-party interfaces via --ui (@boneskull)
  • #3755: Fix broken --watch (@boneskull)
  • #3759: Fix unwelcome deprecation notice when Mocha run against languages (CoffeeScript) with implicit return statements; returning a non-undefined value from a describe callback is no longer considered deprecated (@boneskull)

:book: Documentation

boneskull
published 6.0.0 •

Changelog

Source

6.0.0 / 2019-02-18

:tada: Enhancements

:bug: Fixes

  • #3737: Fix falsy values from options globals (@plroebuck)
  • #3707: Fix encapsulation issues for Suite#_onlyTests and Suite#_onlySuites (@vkarpov15)
  • #3711: Fix diagnostic messages dealing with plurality and markup of output (@plroebuck)
  • #3723: Fix "reporter-option" to allow comma-separated options (@boneskull)
  • #3722: Fix code quality and performance of lookupFiles and files (@plroebuck)
  • #3650, #3654: Fix noisy error message when no files found (@craigtaub)
  • #3632: Tests having an empty title are no longer confused with the "root" suite (@juergba)
  • #3666: Fix missing error codes (@vkarpov15)
  • #3684: Fix exiting problem in Node.js v11.7.0+ (@addaleax)
  • #3691: Fix --delay (and other boolean options) not working in all cases (@boneskull)
  • #3692: Fix invalid command-line argument usage not causing actual errors (@boneskull)
  • #3698, #3699: Fix debug-related Node.js options not working in all cases (@boneskull)
  • #3700: Growl notifications now show the correct number of tests run (@outsideris)
  • #3686: Avoid potential ReDoS when diffing large objects (@cyjake)
  • #3715: Fix incorrect order of emitted events when used programmatically (@boneskull)
  • #3706: Fix regression wherein --reporter-option/--reporter-options did not support comma-separated key/value pairs (@boneskull)

:book: Documentation

:nut_and_bolt: Other

boneskull
published 6.0.0-1 •

Changelog

Source

6.0.0-1 / 2019-01-02

:bug: Fixes

  • Fix missing mocharc.json in published package (@boneskull)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc