Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Update mocha to the latest version 🚀 #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Apr 24, 2017

Version 3.3.0 of mocha just got published.

Dependency mocha
Current Version 3.2.0
Type devDependency

The version 3.3.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of mocha.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes coverave

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.

🎉 Enhancements

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

🐛 Fixes

  • #2662: Replace unicode chars w/ hex codes in HTML reporter (@rotemdan)

🔍 Coverage

🔩 Other

Commits

The new version differs by 89 commits0.

  • fb1687e :ship: Release v3.3.0
  • 1943e02 Add Changelog for v3.3.0
  • 861e968 Refactor literal play-icon hex code to a var
  • 1d3c5bc Fix typo in karma.conf.js
  • 9bd9389 Fix spec paths in test HTML files
  • 0a93024 Adds tests for loading reporters w/ relative/absolute paths (#2773)
  • 73929ad Comment special treatment of '+' in URL query parsing
  • e2c9514 Merge pull request #2769 from igwejk/support_inspect_break_in_opts
  • 038c636 Support --inspect-brk on command-line
  • b4ebabd Merge pull request #2727 from lamby/reproducible-build
  • 882347b Please make the build reproducible.
  • a2fc76c Merge pull request #2703 from seppevs/cover_utils_some_fn_with_tests
  • ed61cd0 cover .some() function in utils.js with tests
  • f42cbf4 Merge pull request #2701 from craigtaub/landingSpec
  • 6065242 use stubbed symbol

There are 89 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

greenkeeper bot added a commit that referenced this pull request May 14, 2017
greenkeeper bot added a commit that referenced this pull request May 14, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented May 14, 2017

Version 3.4.0 just got published.

Update to this version instead 🚀

@greenkeeper
Copy link
Author

greenkeeper bot commented May 14, 2017

Version 3.4.1 just got published.

Update to this version instead 🚀

Release Notes Ohai CRLF...

Fixed a publishing mishap with git's autocrlf settings.

Commits

The new version differs by 3 commits0.

false

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 31, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 31, 2017

Version 3.5.0 just got published.

Update to this version instead 🚀

Release Notes free-as-in-freezing

3.5.0 / 2017-07-31

📰 News

  • Mocha now has a code of conduct (thanks @kungapal!).
  • Old issues and PRs are now being marked "stale" by Probot's "Stale" plugin. 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!

🔒 Security Fixes

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

🔩 Other

Commits

The new version differs by 34 commits.

  • 82d879f Release v3.5.0
  • bf687ce update mocha.js for v3.5.0
  • ec73c9a update date for release of v3.5.0 in CHANGELOG [ci skip]
  • 1ba2cfc update CHANGELOG.md for v3.5.0 [ci skip]
  • 065e14e remove custom install script from travis (no longer needed)
  • 4e87046 update karma-sauce-launcher URL for npm@5
  • 6886ccc increase timeout for slow-grepping test
  • 2408d90 Make dependencies use older version of readable-stream to work around incompatibilities introduced by 2.3.0 on June 19th
  • 68a1466 Try not clearing the env for debug in the integration test and see if that fixes Node 0.10 on AppVeyor; if need be, some other fix/workaround can be applied to handle whatever was up with debug without causing this issue
  • 958fbb4 Update new tests to work in browser per test hierarchy reorganization
  • 1df7c94 Merge pull request #2704 from seppevs/increase_test_coverage_of_mocha_js
  • 1f270cd Stop timing out (#2889)
  • 27c7496 upgrade to debug@2.6.8; closes #2859 (#2860)
  • 50fc47d fix CI; closes #2867 (#2868)
  • 1b1377c Add test for ignoreLeaks and fix descriptions

There are 34 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Sep 10, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Sep 10, 2017

Version 3.5.1 just got published.

Update to this version instead 🚀

Release Notes v3.5.1

3.5.1 / 2017-09-09

📰 News

  • 📣 Mocha is now sponsoring PDXNode! If you're in the Portland area, come check out the monthly talks and hack nights!

🐛 Fixes

  • #2997: Fix missing xit export for "require" interface (@solodynamo)
  • #2957: Fix unicode character handling in XUnit reporter failures (@jkrems)

🔩 Other

Commits

The new version differs by 14 commits.

  • 4070a44 Release v3.5.1
  • 466ba73 update CHANGELOG.md for v3.5.1 [ci skip]
  • 1cc0fc0 import/require xit, fixes #2972
  • 74fa66f update nyc to latest; remove workaround in travis script
  • aa52933 update coveralls strategy; closes #2984
  • 73a5338 Spelling (#2981)
  • 9f403bf Add utils.escape tests and fix unicode escaping
  • 800acbc whitelist "developer-experience" tag for stalebot [ci skip]
  • 5895671 Added issue, pull request templates. (#2869)
  • 075bd51 Merge pull request #2918 from mochajs/no-shell-test
  • 8710438 Work around Node 0.10 Windows flake when testing
  • 13b8340 Ensure that compiler lookup works and not just that transpilation works (#2922)
  • 26d337a Add tests for double-star behavior
  • c0e6b68 Eliminate glob.sh

See the full diff

greenkeeper bot added a commit that referenced this pull request Sep 10, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Sep 10, 2017

Version 3.5.2 just got published.

Update to this version instead 🚀

Release Notes v3.5.2

3.5.2 / 2017-09-10

🐛 Fixes

Commits

The new version differs by 5 commits.

  • 72622ab Release v3.5.2
  • ac4c39f fix version in CHANGELOG.md [ci skip]
  • f06d969 update CHANGELOG for 3.5.2 [ci skip]
  • 9a3ddeb fix AMD bundle by hacking around check in he module; closes #3000
  • 337d317 fix broken links in CHANGELOG.md [ci skip]

See the full diff

greenkeeper bot added a commit that referenced this pull request Sep 11, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Sep 11, 2017

Version 3.5.3 just got published.

Update to this version instead 🚀

Release Notes v3.5.3

3.5.3 / 2017-09-11

🐛 Fixes

  • #3003: Fix invalid entities in xUnit reporter first appearing in v3.5.1 (@jkrems)
Commits

The new version differs by 3 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 3, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 3, 2017

Version 4.0.0 just got published.

Update to this version instead 🚀

Release Notes v4.0.0

4.0.0 / 2017-10-02

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

Commits

The new version differs by 48 commits.

  • d69bf14 Release v4.0.0
  • 171b9f9 pfix "prepublishOnly" potential portability problem
  • 60e39d9 Update link to wiki (GitHub at the leading --)
  • 804f9d5 Update link because GitHub ate the leading --
  • 3326c23 update CHANGELOG for v4.0.0 [ci skip]
  • 6dd9252 add link to wiki on --compilers deprecation
  • 96318e1 Deprecate --compilers
  • 92beda9 drop bower support
  • 58a4c6a remove unused .npmignore
  • 7af6611 kill Date#toISOString shim
  • 43501a2 reduce noise about slow tests; make a few tests faster, etc.
  • fa228e9 update --exit / --no-exit integration test for new default behavior
  • 3fdd3ff Switch default from forced exit to no-exit
  • c5d69e0 add integration tests for --exit/--no-exit
  • 3a7f8dc enhance runMochaJSON() helper by returning the subprocess instance

There are 48 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 6, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 6, 2017

Version 4.0.1 just got published.

Update to this version instead 🚀

Release Notes v4.0.1

4.0.1 / 2017-10-05

🐛 Fixes

Commits

The new version differs by 6 commits.

  • eb8bf8d Release v4.0.1
  • 3b485ea update CHANGELOG.md for v4.0.1 [ci skip]
  • 96e5c1a upgrade eslint to v4.8.0
  • d7cff37 Update growl to 1.10.3
  • 0cdd921 remove preversion script; test on publish; closes #2999
  • f49c0ce Fix changelog issues/pr URLs (#3047)

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 29, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 29, 2017

Version 4.1.0 just got published.

Update to this version instead 🚀

Release Notes v4.1.0

4.1.0 / 2017-12-28

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

Commits

The new version differs by 409 commits.

  • 6b9ddc6 Release v4.1.0
  • 3c4b116 update CHANGELOG for v4.1.0
  • 5be22b2 options.reporterOptions are used for progress reporter
  • ea96b18 add .fossaignore [ci skip]
  • adc67fd Revert "[ImgBot] optimizes images (#3175)"
  • ae3712c [ImgBot] optimizes images (#3175)
  • 33db6b1 Use x64 node on appveyor
  • 4a6e095 Run appveyor tests on x64 platform. Might enable sharp installation
  • 3abed9b Lint netlify-headers script
  • 119543e Add preconnect for doubleclick domain that google analytics results in contacting
  • bd5109e Remove crossorigin='anonymous' from preconnect hints. Only needed for fonts, xhr and es module loads
  • 123ee4f Handle the case where all avatars are already loaded at the time when the script exexecutes
  • 64deadc Specific value for inlining htmlimages to guarantee logo is inlined
  • 8f1ded4 https urls where possible
  • d5a5125 Be explicit about styling of screenshot images

There are 250 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 18, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 18, 2018

Version 5.0.0 just got published.

Update to this version instead 🚀

Release Notes v5.0.0

5.0.0 / 2018-01-17

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

Commits

The new version differs by 26 commits.

  • cc4a818 Release v5.0.0
  • 9f61c04 finalize v5.0.0 CHANGELOG [ci skip]
  • a7267b4 remove more references to make and Makefile
  • dc58252 prep changelog for v5.0.0 [ci skip]
  • f8a1d2a docs(index): add missing doc link (#3203); closes #3135
  • 401997f update package-lock.json
  • 50aec7a Add ability to pass in test files to be ran before positional files via --file (#3190)
  • 7d8abe0 fix id and class definition
  • 0a3e32b Rewrite Makefile using NPS Scripts. Closes #2352
  • c7730a6 Drop TextMate integration inside mocha closes #3118
  • 5c6e99b update ESM tests to run against headless chrome instead of saucelabs' chrome only
  • ac1dd70 attempt to get travis working again
  • e8b5592 Align netlify config with admin panel
  • 565726d Added Netlify config file
  • e54370e replace phantomjs with puppeteer for browser tests; closes #3128

There are 26 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 14, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 14, 2018

Version 5.0.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 15 commits.

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

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 6, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 6, 2018

Version 5.0.2 just got published.

Update to this version instead 🚀

Release Notes v5.0.2

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!

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

:nut_and_bolt Other

Commits

The new version differs by 13 commits.

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

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 7, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 7, 2018

Version 5.0.3 just got published.

Update to this version instead 🚀

Release Notes v5.0.3

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

🔒 Security Fixes

🔩 Other

Commits

The new version differs by 6 commits.

  • da6e5c9 Release v5.0.3
  • 70d9262 update CHANGELOG.md for v5.0.3 [ci skip]
  • aaaa5ab fix: ReDoS vuln in mocha@5.0.2 › diff@3.3.1 (#3266)
  • 8df5727 Tidies up code after review
  • 660bccc adds unit tests covering Base.generateDiff
  • bdcb3c3 exposes generateDiff function from base reporter

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 7, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 7, 2018

Version 5.0.4 just got published.

Update to this version instead 🚀

Release Notes v5.0.4

5.0.4 / 2018-03-07

🐛 Fixes

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

The new version differs by 3 commits.

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

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 23, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 23, 2018

Version 5.0.5 just got published.

Update to this version instead 🚀

Release Notes v5.0.5

5.0.5 / 2018-03-22

Welcome @outsideris to the team!

🐛 Fixes

📖 Documentation

🔩 Other

Commits

The new version differs by 18 commits.

  • c11e1e2 Release v5.0.5
  • b5a556e add changes for v5.0.5 [ci skip]
  • 424ef84 increase default timeout for browser unit tests
  • 19104e3 fix debug msg in Runnable#slow; closes #2952
  • f4275b6 extract checking AMD bundle as own test
  • 19b764d Addressed feedback
  • 2c19503 Fixed linting
  • ab84f02 chore(docs): rewording pending tests
  • 6383916 fix to bail option works properly with hooks (#3278)
  • 0060884 keep hierarchy for skipped suites w/o a callback
  • 39df783 docs: Fix typo in an emoji
  • 27af2cf fix(changelog): update links to some PRs
  • d76f490 chore(ci): Remove PHANTOMJS_CDNURL, nit
  • 86af6bb fix my carelessness in e19e879
  • e19e879 ensure lib/mocha.js is not ignored by ESLint

There are 18 commits in total.

See the full diff

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants