31.md (7287B)
1 # PR #31 mocha@3.4.0 breaks build 🚨 2 3 - **Status:** closed 4 - **Author:** @greenkeeperio-bot 5 - **Created:** 2017-05-14T18:44:29Z 6 - **Branch:** greenkeeper-mocha-3.4.0 → master 7 - **Closed:** 2018-04-09T13:51:26Z 8 - **Labels:** greenkeeper 9 - **Diff:** [31.diff](./31.diff) 10 11 --- 12 13 | 🚨🔥⚠️ _Action required_: Switch to the new [Greenkeeper](https://git.io/uptodate) now! 🚨🔥⚠️ | 14 | --- | 15 | This version of Greenkeper will be __shutdown on May 31st.__ | 16 | With [Integrations](https://developer.github.com/early-access/integrations/) **first-class bot support** landed on GitHub and we’ve rewritten Greenkeeper to take full advantage of it. **Simpler setup, fewer pull-requests, faster than ever**.<br><br><img src="https://cloud.githubusercontent.com/assets/908178/19868156/20c1c0c4-9fa7-11e6-9f17-611c51677dbd.gif" /> 17 18 --- 19 Hello lovely humans, 20 21 [mocha](https://www.npmjs.com/package/mocha) just published its new version 3.4.0. 22 23 <table> 24 <tr> 25 <th align=left> 26 State 27 </th> 28 <td> 29 Failing tests :rotating_light: 30 </td> 31 </tr> 32 <tr> 33 <th align=left> 34 Dependency 35 </td> 36 <td> 37 mocha 38 </td> 39 </tr> 40 <tr> 41 <th align=left> 42 New version 43 </td> 44 <td> 45 3.4.0 46 </td> 47 </tr> 48 <tr> 49 <th align=left> 50 Type 51 </td> 52 <td> 53 devDependency 54 </td> 55 </tr> 56 </table> 57 58 This version is **covered** by your **current version range** and after updating it in your project **the build went from success to failure**. 59 60 As mocha is “only” a devDependency of this project it **might not break production or downstream projects**, but “only” your build or test tools – **preventing new deploys or publishes**. 61 62 I recommend you give this issue a high priority. I’m sure you can resolve this :muscle: 63 64 65 Of course this could just be a false positive, caused by a flaky test suite, or third parties that are currently broken or unavailable, but that would be another problem I’d recommend working on. 66 67 68 Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? 69 Are you unsure about how things are supposed to work? 70 71 There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and while I’m just a bot, there is a group of people who are happy to teach me new things. [Let them know](https://github.com/greenkeeperio/greenkeeper/issues/new). 72 73 Good luck with your project :sparkles: 74 75 You rock! 76 77 :palm_tree: 78 79 --- 80 [GitHub Release](https://github.com/mochajs/mocha/releases/tag/v3.4.0) 81 82 <p>Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.</p> 83 <p>This week's highlights:</p> 84 <ul> 85 <li><code>allowUncaught</code> added to commandline as <code>--allow-uncaught</code> (and bugfixed)</li> 86 <li>warning-related Node flags</li> 87 </ul> 88 <h2><g-emoji alias="tada" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f389.png" ios-version="6.0">🎉</g-emoji> Enhancements</h2> 89 <ul> 90 <li><a href="https://urls.greenkeeper.io/mochajs/mocha/pull/2793">#2793</a>, <a href="https://urls.greenkeeper.io/mochajs/mocha/pull/2697">#2697</a>: add --allowUncaught to Node.js (<a href="https://urls.greenkeeper.io/lrowe">@lrowe</a>)</li> 91 <li><a href="https://urls.greenkeeper.io/mochajs/mocha/pull/2733">#2733</a>: Add <code>--no-warnings</code> and <code>--trace-warnings</code> flags (<a href="https://urls.greenkeeper.io/sonicdoe">@sonicdoe</a>)</li> 92 </ul> 93 <h2><g-emoji alias="bug" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f41b.png" ios-version="6.0">🐛</g-emoji> Fixes</h2> 94 <ul> 95 <li><a href="https://urls.greenkeeper.io/mochajs/mocha/pull/2793">#2793</a>, <a href="https://urls.greenkeeper.io/mochajs/mocha/pull/2697">#2697</a>: fix broken allowUncaught (<a href="https://urls.greenkeeper.io/lrowe">@lrowe</a>)</li> 96 </ul> 97 <h2><g-emoji alias="nut_and_bolt" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f529.png" ios-version="6.0">🔩</g-emoji> Other</h2> 98 <ul> 99 <li><a href="https://urls.greenkeeper.io/mochajs/mocha/pull/2778">#2778</a>: Add license report and scan status (<a href="https://urls.greenkeeper.io/xizhao">@xizhao</a>)</li> 100 <li><a href="https://urls.greenkeeper.io/mochajs/mocha/pull/2794">#2794</a>: no special case for macOS running Karma locally (<a href="https://urls.greenkeeper.io/boneskull">@boneskull</a>)</li> 101 <li><a href="https://urls.greenkeeper.io/mochajs/mocha/pull/2795">#2795</a>: reverts use of semistandard directly ([<a href="https://urls.greenkeeper.io/mochajs/mocha/pull/2648" class="issue-link js-issue-link" data-url="https://github.com/mochajs/mocha/issues/2648" data-id="197810941" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#2648</a>]) (<a href="https://urls.greenkeeper.io/boneskull">@boneskull</a>)</li> 102 </ul> 103 104 --- 105 The new version differs by 170 commits . 106 107 - [`7554b31`](https://github.com/mochajs/mocha/commit/7554b310d830353db554bc0e67649eb3e9e4cb32) <code>Add Changelog for v3.4.0</code> 108 - [`9f7f7ed`](https://github.com/mochajs/mocha/commit/9f7f7edef19e5de7fc6a9f1ce969bf8579fa61ee) <code>Add `--trace-warnings` flag</code> 109 - [`92561c8`](https://github.com/mochajs/mocha/commit/92561c833cfb9bb4122a22044103c8e3713f3c6d) <code>Add `--no-warnings` flag</code> 110 - [`ceee976`](https://github.com/mochajs/mocha/commit/ceee976873cd3fe0558e3373a407bafaf4bb5bad) <code>lint test/integration/fixtures/simple-reporter.js</code> 111 - [`dcfc094`](https://github.com/mochajs/mocha/commit/dcfc09425c1569ec203ad7f93f972b0d71bbcb69) <code>Revert "use `semistandard` directly"</code> 112 - [`93392dd`](https://github.com/mochajs/mocha/commit/93392ddb061e6870eb3fc524a7eff600c881cef3) <code>no special case for macOS running Karma locally</code> 113 - [`4d1d91d`](https://github.com/mochajs/mocha/commit/4d1d91d68d88a394429cd70a9b15f4fb60fe5e6b) <code>--allow-uncaught cli option</code> 114 - [`fb1e083`](https://github.com/mochajs/mocha/commit/fb1e0830b5e235326b58b25da9f07c42da363404) <code>fix allowUncaught in browser</code> 115 - [`4ed3fc5`](https://github.com/mochajs/mocha/commit/4ed3fc58a3ba95a6420086d7af0d0a032308e36a) <code>Add license report and scan status</code> 116 - [`fb1687e`](https://github.com/mochajs/mocha/commit/fb1687ec16e8ae347ca4498560f984e575224d59) <code>:ship: Release v3.3.0</code> 117 - [`1943e02`](https://github.com/mochajs/mocha/commit/1943e029da1d420e027ad8b5875c0e03e43b86c4) <code>Add Changelog for v3.3.0</code> 118 - [`861e968`](https://github.com/mochajs/mocha/commit/861e968b516613a9f1d964668660450b446750dc) <code>Refactor literal play-icon hex code to a var</code> 119 - [`1d3c5bc`](https://github.com/mochajs/mocha/commit/1d3c5bcc945a2cf8ff3c640f7d3358b1a639bb4e) <code>Fix typo in karma.conf.js</code> 120 - [`9bd9389`](https://github.com/mochajs/mocha/commit/9bd9389c58e81b10bef9f4b2e5a54b77a026d2d0) <code>Fix spec paths in test HTML files</code> 121 - [`0a93024`](https://github.com/mochajs/mocha/commit/0a93024b475e58e75c5def6b2f5228bd363874de) <code>Adds tests for loading reporters w/ relative/absolute paths (#2773)</code> 122 123 124 There are 170 commits in total. See the [full diff](https://github.com/mochajs/mocha/compare/e8cda7399efe1f8f1da97d8295ad323f9c64c8aa...7554b310d830353db554bc0e67649eb3e9e4cb32). 125