Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency mocha to v5 #64

Merged
merged 3 commits into from
Apr 23, 2018
Merged

Update dependency mocha to v5 #64

merged 3 commits into from
Apr 23, 2018

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 25, 2018

This Pull Request updates dependency mocha from v3.5.3 to v5.1.1

Release Notes

v4.0.0

You might want to read this before filing a new bug! 😝

💥 Breaking Changes

For more info, please read this article.

Compatibility
  • #3016: Drop support for unmaintained versions of Node.js ([@boneskull]):
    • 0.10.x
    • 0.11.x
    • 0.12.x
    • iojs (any)
    • 5.x.x
  • #2979: Drop support for non-ES5-compliant browsers ([@boneskull]):
    • IE7
    • IE8
    • PhantomJS 1.x
  • #2615: Drop Bower support; old versions (3.x, etc.) will remain available ([@ScottFreeCode], [@boneskull])
Default Behavior
  • #2879: By default, Mocha will no longer force the process to exit once all tests complete. This means any test code (or code under test) which would normally prevent node from exiting will do so when run in Mocha. Supply the --exit flag to revert to pre-v4.0.0 behavior ([@ScottFreeCode], [@boneskull])
Reporter Output

👎 Deprecations

  • #2493: The --compilers command-line option is now soft-deprecated and will emit a warning on STDERR. Read this for more info and workarounds ([@ScottFreeCode], [@boneskull])

🎉 Enhancements

  • #2628: Allow override of default test suite name in XUnit reporter (@ngeor)

📖 Documentation

🔩 Other

  • #2890: Speed up build by (re-)consolidating SauceLabs tests ([@boneskull])

v4.0.1

🐛 Fixes


v4.1.0

This is mainly a "housekeeping" release.

Welcome @Bamieh and @xxczaki to the team!

🐛 Fixes

  • #2661: progress reporter now accepts reporter options (@canoztokmak)
  • #3142: xit in bdd interface now properly returns its Test object (@Bamieh)
  • #3075: Diffs now computed eagerly to avoid misinformation when reported (@abrady0)
  • #2745: --help will now help you even if you have a mocha.opts (@Zarel)

🎉 Enhancements

  • #2514: The --no-diff flag will completely disable diff output (@CapacitorSet)
  • #3058: All "setters" in Mocha's API are now also "getters" if called without arguments ([@makepanic])

📖 Documentation

🔩 Other


v5.0.0

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

Welcome @vkarpov15 to the team!

💥 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.

🎉 Enhancements

🐛 Fixes

😎 Developer Experience

📖 Documentation

🔩 Other


v5.0.1

...your garden-variety patch release.

Special thanks to Wallaby.js for their continued support! ❤️

🐛 Fixes

📖 Documentation

🔩 Other


v5.0.2

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!

🐛 Fixes

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

    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)

🔩 Other


v5.0.3

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

🔒 Security Fixes

🔩 Other


v5.0.4

🐛 Fixes

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

v5.0.5

Welcome @outsideris to the team!

🐛 Fixes

📖 Documentation

🔩 Other


v5.1.0

🎉 Enhancements

🐛 Fixes

📖 Documentation

🔩 Other


v5.1.1

🐛 Fixes


Commits

v5.0.0

v5.0.1

  • c0ac1b9 fix travis "before script" script
  • 2fe2d01 Revert "fix travis "before script" script"
  • bca57f4 clarify docs on html, xunit and 3p reporters; closes #1906
  • 2e7e4c0 rename "common-mistake" label to "faq"
  • 14fc030 Add all supported wallaby editors
  • f687d2b update docs for the glob
  • cd74322 Slight copy update on docs for test directory
  • b57f623 fix: When using --delay, .only() no longer works. Issue #1838
  • 3509029 update .gitignore to only ignore root mocha.js [ci skip]
  • d975a6a fix memory leak when run in v8; closes #3119
  • b7377b3 rename help-wanted to "help wanted" in stale.yml
  • 412cf27 [Update] license year
  • 44aae9f add working wallaby config
  • 70027b6 update changelog for v5.0.1 [ci skip]
  • 09ce746 Release v5.0.1
  • 73d55ac fix typos in changelog [ci skip]
  • c4ef568 fix PR url

v5.0.2

  • f71f347 rename wallaby.js -> .wallaby.js
  • ec8901a remove unused functionality in utils module
  • 3537061 Update to correctly licensed browser-stdout version
  • 2c720a3 do not eat exceptions thrown asynchronously from passed tests; closes #3226
  • 5078fc5 persist paths in stack trace which have cwd as infix
  • 3792bef add opencollective header image to assets/
  • afcd08f add MAINTAINERS.md to .fossaignore [ci skip]
  • 0542c40 update README.md; closes #3191 [ci skip]
  • 6a796cb prepare CHANGELOG for v5.0.2 [ci skip]
  • ff1bd9e update package-lock.json
  • f2ee53c Release v5.0.2

v5.0.3

v5.0.4

  • eb09421 restore removed methods which still used
  • 868830a update CHANGELOG.md for v5.0.4 [ci skip]
  • 851ad29 Release v5.0.4

v5.0.5

  • aa592f4 update package-lock.json
  • 85cb5c1 add .vscode/ to .gitignore
  • 3d09381 add Karma "ChromeDebug" custom launcher for VSCode [ci skip]
  • e19e879 ensure lib/mocha.js is not ignored by ESLint
  • 86af6bb fix my carelessness in e19e879
  • d76f490 chore(ci): Remove PHANTOMJS_CDNURL, nit
  • 27af2cf fix(changelog): update links to some PRs
  • 39df783 docs: Fix typo in an emoji
  • 0060884 keep hierarchy for skipped suites w/o a callback
  • 6383916 fix to bail option works properly with hooks (#3278)
  • ab84f02 chore(docs): rewording pending tests
  • 2c19503 Fixed linting
  • 19b764d Addressed feedback
  • f4275b6 extract checking AMD bundle as own test
  • 19104e3 fix debug msg in Runnable#slow; closes #2952
  • 424ef84 increase default timeout for browser unit tests
  • 3633fa0 append filepath to "timeout exceeded" exception; closes #627- all `Runnable`s should now have a `file` property- filepath is appended to the `Error` message in parens- DRY-style refactors
  • c580294 remove default js in "--watch-extensions" option; closes #3275

v5.1.0

v5.1.1

  • 56e8452 update CHANGELOG for v5.1.0 [ci skip]
  • 3ac8e55 Release v5.1.0
  • 58efe58 update package-lock.json [ci skip]
  • 2d1b49c fix ESLint problems and consolidate configuration
  • 07e1ed2 update outdated info in docs/README.md [ci skip]

This PR has been generated by Renovate Bot.

@renovate renovate bot force-pushed the renovate/mocha-5.x branch from 616cf86 to c1cd9b9 Compare February 13, 2018 23:13
@renovate renovate bot force-pushed the renovate/mocha-5.x branch from c1cd9b9 to 72ed840 Compare March 6, 2018 02:10
@renovate renovate bot force-pushed the renovate/mocha-5.x branch 2 times, most recently from 7f48d58 to a628ef3 Compare April 18, 2018 18:08
@renovate renovate bot force-pushed the renovate/mocha-5.x branch from a628ef3 to 3943cb2 Compare April 22, 2018 12:07
@renovate
Copy link
Author

renovate bot commented Apr 22, 2018

PR has been edited

As this PR has been edited, Renovate will stop updating it in order to not cause any conflicts or other problems. If you wish to abandon your edits and have Renovate recreate this PR then you should rename this PR and then close it.

@dotansimha dotansimha merged commit 446d2ed into master Apr 23, 2018
@dotansimha dotansimha deleted the renovate/mocha-5.x branch April 23, 2018 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment