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

mocha

Package Overview
Dependencies
Maintainers
3
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha - npm Package Versions

1
21

7.0.0-esm1

Diff

craigtaub
published 7.0.0 •

Changelog

Source

7.0.0 / 2020-01-05

:boom: Breaking Changes

  • #3885: Drop Node.js v6.x support (@mojosoeun)
  • #3890: Remove Node.js debug-related flags --debug/--debug-brk and deprecate debug argument (@juergba)
  • #3962: Changes to command-line options (@ParkSB):
    • --list-interfaces replaces --interfaces
    • --list-reporters replaces --reporters
  • Hook pattern of this.skip() (@juergba):
    • #3859: When conditionally skipping in a it test, related afterEach hooks are now executed
    • #3741: When conditionally skipping in a beforeEach hook, subsequent inner beforeEach hooks are now skipped and related afterEach hooks are executed
    • #4136: Disallow this.skip() within after hooks
  • #3967: Remove deprecated getOptions() and lib/cli/options.js (@juergba)
  • #4083: Uncaught exception in pending test: don't swallow, but retrospectively fail the test for correct exit code (@juergba)
  • #4004: Align Mocha constructor's option names with command-line options (@juergba)

:tada: Enhancements

  • #3980: Refactor and improve --watch mode with chokidar (@geigerzaehler):
    • adds command-line options --watch-files and --watch-ignore
    • removes --watch-extensions
  • #3979: Type "rs\n" to restart tests (@broofa)

: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

:mag: Coverage

:book: Documentation

:nut_and_bolt: Other

boneskull
published 6.2.2 •

Changelog

Source

6.2.2 / 2019-10-18

:bug: Fixes

:book: Documentation

craigtaub
published 6.2.1 •

Changelog

Source

6.2.1 / 2019-09-29

:bug: Fixes

  • #3955: tty.getWindowSize is not a function inside a "worker_threads" worker (@1999)
  • #3970: remove extraGlobals() (@juergba)
  • #3984: Update yargs-unparser to v1.6.0 (@juergba)
  • #3983: Package 'esm': spawn child-process for correct loading (@juergba)
  • #3986: Update yargs to v13.3.0 and yargs-parser to v13.1.1 (@juergba)

:book: Documentation

craigtaub
published 6.2.0 •

Changelog

Source

6.2.0 / 2019-07-18

:tada: Enhancements

:bug: Fixes

: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)
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