Skip to content

Commit

Permalink
Merge #5735
Browse files Browse the repository at this point in the history
5735: chore(deps-dev): bump mocha from 8.4.0 to 9.0.0 r=jniles a=dependabot[bot]

Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/mochajs/mocha/releases">mocha's releases</a>.</em></p>
<blockquote>
<h2>v9.0.0</h2>
<h1>9.0.0 / 2021-06-07</h1>
<h2>:boom: Breaking Changes</h2>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4633">#4633</a>: <strong>Drop Node.js v10.x support</strong> (<a href="https://github.com/juergba"><strong><code>@​juergba</code></strong></a>)</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4635">#4635</a>: <code>import</code>-first loading of test files (<a href="https://github.com/giltayar"><strong><code>@​giltayar</code></strong></a>)</p>
</li>
</ul>
<p><strong>Mocha is going ESM-first!</strong> This means that it will now use ESM <code>import(test_file)</code> to load the test files, instead of the CommonJS <code>require(test_file)</code>. This is not a problem, as <code>import</code> can also load most files that <code>require</code> does. In the rare cases where this fails, it will fallback to <code>require(...)</code>. This ESM-first approach is the next step in Mocha's ESM migration, and allows ESM loaders to load and transform the test file.</p>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4636">#4636</a>: Remove deprecated <code>utils.lookupFiles()</code> (<a href="https://github.com/juergba"><strong><code>@​juergba</code></strong></a>)</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4638">#4638</a>: Limit the size of <code>actual</code>/<code>expected</code> for <code>diff</code> generation (<a href="https://github.com/juergba"><strong><code>@​juergba</code></strong></a>)</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4389">#4389</a>: Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base (<a href="https://github.com/MoonSupport"><strong><code>@​MoonSupport</code></strong></a>)</p>
</li>
</ul>
<h2>:tada: Enhancements</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4640">#4640</a>: Add new option <code>--dry-run</code> (<a href="https://github.com/juergba"><strong><code>@​juergba</code></strong></a>)</li>
</ul>
<h2>:bug: Fixes</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4128">#4128</a>: Fix: control stringification of error message (<a href="https://github.com/syeutyu"><strong><code>@​syeutyu</code></strong></a>)</li>
</ul>
<h2>:nut_and_bolt: Other</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4646">#4646</a>: Deprecate <code>Runner(suite: Suite, delay: boolean)</code> signature (<a href="https://github.com/juergba"><strong><code>@​juergba</code></strong></a>)</li>
<li><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4643">#4643</a>: Update production dependencies (<a href="https://github.com/juergba"><strong><code>@​juergba</code></strong></a>)</li>
</ul>
</blockquote>


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
bors[bot] and dependabot[bot] authored Jun 8, 2021
2 parents 260a51e + 098ffae commit 75bbb6a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 43 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"karma-mocha": "^2.0.1",
"karma-ng-html2js-preprocessor": "^1.0.0",
"merge-stream": "^2.0.0",
"mocha": "^8.4.0",
"mocha": "^9.0.0",
"protractor": "^7.0.0",
"protractor-console-plugin": "^0.1.1",
"qs": "^6.10.1",
Expand Down
65 changes: 23 additions & 42 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3941,19 +3941,7 @@ glob-watcher@^5.0.3:
normalize-path "^3.0.0"
object.defaults "^1.1.0"

glob@7.1.6:
version "7.1.6"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.4"
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.0.6, glob@^7.1.1, glob@^7.1.3, glob@^7.1.6, glob@^7.1.7:
glob@7.1.7, glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.0.6, glob@^7.1.1, glob@^7.1.3, glob@^7.1.6, glob@^7.1.7:
version "7.1.7"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90"
integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==
Expand Down Expand Up @@ -5197,10 +5185,10 @@ js-tokens@^4.0.0:
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==

js-yaml@4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.0.0.tgz#f426bc0ff4b4051926cd588c71113183409a121f"
integrity sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==
js-yaml@4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602"
integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==
dependencies:
argparse "^2.0.1"

Expand Down Expand Up @@ -5699,14 +5687,7 @@ lodash@4.17.21, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==

log-symbols@4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.0.0.tgz#69b3cc46d20f448eccdb75ea1fa733d9e821c920"
integrity sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==
dependencies:
chalk "^4.0.0"

log-symbols@^4.1.0:
log-symbols@4.1.0, log-symbols@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503"
integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==
Expand Down Expand Up @@ -6020,10 +6001,10 @@ mkdirp@^0.5.1, mkdirp@~0.5.1:
dependencies:
minimist "^1.2.5"

mocha@^8.4.0:
version "8.4.0"
resolved "https://registry.yarnpkg.com/mocha/-/mocha-8.4.0.tgz#677be88bf15980a3cae03a73e10a0fc3997f0cff"
integrity sha512-hJaO0mwDXmZS4ghXsvPVriOhsxQ7ofcpQdm8dE+jISUOKopitvnXFQmpRR7jd2K6VBG6E26gU3IAbXXGIbu4sQ==
mocha@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/mocha/-/mocha-9.0.0.tgz#67ce848170cb6426f9e84c57e38376dc9017bab4"
integrity sha512-GRGG/q9bIaUkHJB9NL+KZNjDhMBHB30zW3bZW9qOiYr+QChyLjPzswaxFWkI1q6lGlSL28EQYzAi2vKWNkPx+g==
dependencies:
"@ungap/promise-all-settled" "1.1.2"
ansi-colors "4.1.1"
Expand All @@ -6033,20 +6014,20 @@ mocha@^8.4.0:
diff "5.0.0"
escape-string-regexp "4.0.0"
find-up "5.0.0"
glob "7.1.6"
glob "7.1.7"
growl "1.10.5"
he "1.2.0"
js-yaml "4.0.0"
log-symbols "4.0.0"
js-yaml "4.1.0"
log-symbols "4.1.0"
minimatch "3.0.4"
ms "2.1.3"
nanoid "3.1.20"
nanoid "3.1.23"
serialize-javascript "5.0.1"
strip-json-comments "3.1.1"
supports-color "8.1.1"
which "2.0.2"
wide-align "1.1.3"
workerpool "6.1.0"
workerpool "6.1.4"
yargs "16.2.0"
yargs-parser "20.2.4"
yargs-unparser "2.0.0"
Expand Down Expand Up @@ -6148,10 +6129,10 @@ nan@^2.12.1:
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.2.tgz#f5376400695168f4cc694ac9393d0c9585eeea19"
integrity sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==

nanoid@3.1.20:
version "3.1.20"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.20.tgz#badc263c6b1dcf14b71efaa85f6ab4c1d6cfc788"
integrity sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw==
nanoid@3.1.23:
version "3.1.23"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81"
integrity sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==

nanomatch@^1.2.9:
version "1.2.13"
Expand Down Expand Up @@ -9530,10 +9511,10 @@ wordwrap@^1.0.0:
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=

workerpool@6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.1.0.tgz#a8e038b4c94569596852de7a8ea4228eefdeb37b"
integrity sha512-toV7q9rWNYha963Pl/qyeZ6wG+3nnsyvolaNUS8+R5Wtw6qJPTxIlOP1ZSvcGhEJw+l3HMMmtiNo9Gl61G4GVg==
workerpool@6.1.4:
version "6.1.4"
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.1.4.tgz#6a972b6df82e38d50248ee2820aa98e2d0ad3090"
integrity sha512-jGWPzsUqzkow8HoAvqaPWTUPCrlPJaJ5tY8Iz7n1uCz3tTp6s3CDG0FF1NsX42WNlkRSW6Mr+CDZGnNoSsKa7g==

wrap-ansi@^2.0.0:
version "2.1.0"
Expand Down

0 comments on commit 75bbb6a

Please sign in to comment.