From e27ab6a6e03bb5d1cd67e409bb9dddd5fc106c65 Mon Sep 17 00:00:00 2001 From: Brendan Kenny Date: Fri, 8 Mar 2019 20:34:52 -0800 Subject: [PATCH] tests: finish removing mocha (#7429) --- clients/test/extension/extension-test.js | 11 +- clients/test/extension/popup-test.js | 11 +- clients/test/lightrider-entry-test.js | 3 +- jest.config.js | 3 + lighthouse-core/test/config/config-test.js | 4 +- lighthouse-viewer/test/viewer-test-pptr.js | 6 +- package.json | 11 +- yarn.lock | 147 ++------------------- 8 files changed, 30 insertions(+), 166 deletions(-) diff --git a/clients/test/extension/extension-test.js b/clients/test/extension/extension-test.js index 8f8abed0e660..1517e5c00b2d 100644 --- a/clients/test/extension/extension-test.js +++ b/clients/test/extension/extension-test.js @@ -5,7 +5,7 @@ */ 'use strict'; -/* eslint-env mocha */ +/* eslint-env jest */ const path = require('path'); const assert = require('assert'); @@ -49,10 +49,7 @@ describe('Lighthouse chrome extension', function() { }); } - before(async function() { - // eslint-disable-next-line - this.timeout(90 * 1000); - + beforeAll(async function() { // read original manifest originalManifest = fs.readFileSync(manifestLocation); @@ -108,9 +105,9 @@ describe('Lighthouse chrome extension', function() { extensionPage = (await browser.pages()).find(page => page.url().includes('blob:chrome-extension://') ); - }); + }, 90 * 1000); - after(async () => { + afterAll(async () => { // put the default manifest back fs.writeFileSync(manifestLocation, originalManifest); diff --git a/clients/test/extension/popup-test.js b/clients/test/extension/popup-test.js index 0653792188f3..335425d386d4 100644 --- a/clients/test/extension/popup-test.js +++ b/clients/test/extension/popup-test.js @@ -5,7 +5,7 @@ */ 'use strict'; -/* eslint-env mocha */ +/* eslint-env jest */ const path = require('path'); const assert = require('assert'); @@ -36,10 +36,7 @@ describe('Lighthouse chrome popup', function() { let page; const pageErrors = []; - before(async function() { - // eslint-disable-next-line - this.timeout(90 * 1000); - + beforeAll(async function() { // start puppeteer browser = await puppeteer.launch({ headless: false, @@ -81,9 +78,9 @@ describe('Lighthouse chrome popup', function() { }); await page.goto('file://' + path.join(lighthouseExtensionPath, 'popup.html'), {waitUntil: 'networkidle2'}); - }); + }, 90 * 1000); - after(async () => { + afterAll(async () => { if (browser) { await browser.close(); } diff --git a/clients/test/lightrider-entry-test.js b/clients/test/lightrider-entry-test.js index 90ef0fe5ce96..1d93b5b258e6 100644 --- a/clients/test/lightrider-entry-test.js +++ b/clients/test/lightrider-entry-test.js @@ -6,12 +6,11 @@ 'use strict'; const assert = require('assert'); -const jest = require('jest-mock'); const lhBackground = require('../lightrider-entry.js'); const Runner = require('../../lighthouse-core/runner.js'); const LHError = require('../../lighthouse-core/lib/lh-error.js'); -/* eslint-env mocha */ +/* eslint-env jest */ describe('lightrider-entry', () => { describe('#runLighthouseInLR', () => { diff --git a/jest.config.js b/jest.config.js index 4fa25a17546b..2bc0c3b318f2 100644 --- a/jest.config.js +++ b/jest.config.js @@ -19,5 +19,8 @@ module.exports = { testMatch: [ '**/lighthouse-core/**/*-test.js', '**/lighthouse-cli/**/*-test.js', + '**/lighthouse-viewer/**/*-test.js', + '**/lighthouse-viewer/**/*-test-pptr.js', + '**/clients/test/**/*-test.js', ], }; diff --git a/lighthouse-core/test/config/config-test.js b/lighthouse-core/test/config/config-test.js index 3e1f1ff93881..937437f2de53 100644 --- a/lighthouse-core/test/config/config-test.js +++ b/lighthouse-core/test/config/config-test.js @@ -186,7 +186,7 @@ describe('Config', () => { it('loads an audit from node_modules/', () => { return assert.throws(_ => new Config({ // Use a lighthouse dep as a stand in for a module. - audits: ['mocha'], + audits: ['lighthouse-logger'], }), function(err) { // Should throw an audit validation error, but *not* an audit not found error. return !/locate audit/.test(err) && /audit\(\) method/.test(err); @@ -1046,7 +1046,7 @@ describe('Config', () => { it('loads a gatherer from node_modules/', () => { // Use a lighthouse dep as a stand in for a module. - assert.throws(_ => loadGatherer('mocha'), function(err) { + assert.throws(_ => loadGatherer('lighthouse-logger'), function(err) { // Should throw a gatherer validation error, but *not* a gatherer not found error. return !/locate gatherer/.test(err) && /beforePass\(\) method/.test(err); }); diff --git a/lighthouse-viewer/test/viewer-test-pptr.js b/lighthouse-viewer/test/viewer-test-pptr.js index 71c097ab32f8..a5abd399ce9f 100644 --- a/lighthouse-viewer/test/viewer-test-pptr.js +++ b/lighthouse-viewer/test/viewer-test-pptr.js @@ -5,7 +5,7 @@ */ 'use strict'; -/* eslint-env mocha */ +/* eslint-env jest */ const path = require('path'); const assert = require('assert'); @@ -49,7 +49,7 @@ describe('Lighthouse Viewer', function() { }); } - before(async function() { + beforeAll(async function() { server.listen(portNumber, 'localhost'); // start puppeteer @@ -65,7 +65,7 @@ describe('Lighthouse Viewer', function() { await viewerPage.waitForSelector('.lh-container', {timeout: 30000}); }); - after(async function() { + afterAll(async function() { // Log any page load errors encountered in case before() failed. // eslint-disable-next-line no-console console.error(pageErrors); diff --git a/package.json b/package.json index 056c764f127f..7cfdb3b1d7ac 100644 --- a/package.json +++ b/package.json @@ -24,14 +24,14 @@ "debug": "node --inspect-brk ./lighthouse-cli/index.js", "start": "node ./lighthouse-cli/index.js", "test": "yarn diff:sample-json && yarn lint --quiet && yarn unit && yarn type-check", - "test-clients": "mocha \"clients/test/**/*-test.js\"", - "test-viewer": "yarn unit-viewer && mocha lighthouse-viewer/test/viewer-test-pptr.js", + "test-clients": "jest \"clients/\"", + "test-viewer": "yarn unit-viewer && jest lighthouse-viewer/test/viewer-test-pptr.js", "test-lantern": "bash lighthouse-core/scripts/test-lantern.sh", "unit-core": "jest \"lighthouse-core/\"", "unit-core:ci": "jest --runInBand --coverage --ci \"lighthouse-core/\"", "unit-cli": "jest --runInBand \"lighthouse-cli/\"", "unit-cli:ci": "jest --runInBand --coverage --ci \"lighthouse-cli/\"", - "unit-viewer": "mocha --reporter dot \"lighthouse-viewer/test/**/*-test.js\"", + "unit-viewer": "jest \"lighthouse-viewer/\"", "unit": "yarn unit-core && yarn unit-cli && yarn unit-viewer", "unit:ci": "yarn unit-core:ci && yarn unit-cli:ci && yarn unit-viewer", "core-unit": "yarn unit-core", @@ -50,7 +50,6 @@ "fast": "yarn start --disable-device-emulation --throttlingMethod=provided", "deploy-viewer": "yarn build-viewer --deploy", "bundlesize": "bundlesize", - "plots-smoke": "bash plots/test/smoke.sh", "timing-trace": "node lighthouse-core/scripts/generate-timing-trace.js", "changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile changelog.md --same-file", "type-check": "tsc -p . && tsc -p lighthouse-viewer/", @@ -111,6 +110,7 @@ "devtools-protocol": "0.0.588129", "eslint": "^4.19.1", "eslint-config-google": "^0.9.1", + "esprima": "^4.0.1", "gh-pages": "^2.0.1", "glob": "^7.1.3", "idb-keyval": "2.2.0", @@ -118,7 +118,6 @@ "jest": "^24.3.0", "jsdom": "^12.2.0", "make-dir": "^1.3.0", - "mocha": "^3.2.0", "npm-run-posix-or-windows": "^2.0.2", "nyc": "^11.6.0", "package-json-versionify": "^1.0.4", @@ -138,12 +137,10 @@ "configstore": "^3.1.1", "cssstyle": "1.2.1", "details-element-polyfill": "2.2.0", - "esprima": "^4.0.1", "http-link-header": "^0.8.0", "inquirer": "^3.3.0", "intl-messageformat": "^2.2.0", "intl-messageformat-parser": "^1.4.0", - "jest-mock": "^24.3.0", "jpeg-js": "0.1.2", "js-library-detector": "^5.1.0", "lighthouse-logger": "^1.2.0", diff --git a/yarn.lock b/yarn.lock index 859adc617750..07176ee7f637 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1565,11 +1565,6 @@ browser-resolve@^1.11.0, browser-resolve@^1.11.3, browser-resolve@^1.7.0: dependencies: resolve "1.1.7" -browser-stdout@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" - integrity sha1-81HTKWnTL6XXpVZxVCY9korjvR8= - browserify-aes@^1.0.0, browserify-aes@^1.0.4: version "1.2.0" resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" @@ -2098,13 +2093,6 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" -commander@2.9.0, commander@~2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" - integrity sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q= - dependencies: - graceful-readlink ">= 1.0.0" - commander@^2.11.0: version "2.11.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" @@ -2120,6 +2108,13 @@ commander@~2.17.1: resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg== +commander@~2.9.0: + version "2.9.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" + integrity sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q= + dependencies: + graceful-readlink ">= 1.0.0" + commitizen@^2.10.1: version "2.10.1" resolved "https://registry.yarnpkg.com/commitizen/-/commitizen-2.10.1.tgz#8c395def34a895f4e94952c2efc3c9eb4c3683bd" @@ -2696,13 +2691,6 @@ debug-log@^1.0.1: resolved "https://registry.yarnpkg.com/debug-log/-/debug-log-1.0.1.tgz#2307632d4c04382b8df8a32f70b895046d52745f" integrity sha1-IwdjLUwEOCuN+KMvcLiVBG1SdF8= -debug@2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da" - integrity sha1-+HBX6ZWxofauaklgZkE3vFbwOdo= - dependencies: - ms "0.7.1" - debug@2.6.9, debug@^2.3.3: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" @@ -2884,11 +2872,6 @@ diff-sequences@^24.3.0: resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-24.3.0.tgz#0f20e8a1df1abddaf4d9c226680952e64118b975" integrity sha512-xLqpez+Zj9GKSnPWS0WZw1igGocZ+uua8+y+5dDNTT934N3QuY1sp2LkHzwiaYQGz60hMq0pjAshdeXm5VUOEw== -diff@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-1.4.0.tgz#7f28d2eb9ee7b15a97efd89ce63dcfdaa3ccbabf" - integrity sha1-fyjS657nsVqX79ic5j3P2qPMur8= - diffie-hellman@^5.0.0: version "5.0.3" resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" @@ -3046,7 +3029,7 @@ es6-promisify@^5.0.0: dependencies: es6-promise "^4.0.3" -escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: +escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= @@ -3150,12 +3133,7 @@ esprima@^3.1.3: resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" integrity sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM= -esprima@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" - integrity sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw== - -esprima@^4.0.1: +esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== @@ -3830,18 +3808,6 @@ glob-to-regexp@^0.3.0: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs= -glob@7.0.5: - version "7.0.5" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.0.5.tgz#b4202a69099bbb4d292a7c1b95b6682b67ebdc95" - integrity sha1-tCAqaQmbu00pKnwblbZoK2fr3JU= - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.2" - once "^1.3.0" - path-is-absolute "^1.0.0" - glob@7.1.1, glob@^7.0.5: version "7.1.1" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" @@ -3996,11 +3962,6 @@ graceful-fs@^4.1.2: resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" integrity sha1-TK+tdrxi8C+gObL5Tpo906ORpyU= -growl@1.9.2: - version "1.9.2" - resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" - integrity sha1-Dqd0NxXbjY3ixe3hd14bRayFwC8= - "growl@~> 1.10.0": version "1.10.5" resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" @@ -5452,11 +5413,6 @@ json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= -json3@3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1" - integrity sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE= - json5@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" @@ -5672,34 +5628,6 @@ locate-path@^3.0.0: p-locate "^3.0.0" path-exists "^3.0.0" -lodash._baseassign@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" - integrity sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4= - dependencies: - lodash._basecopy "^3.0.0" - lodash.keys "^3.0.0" - -lodash._basecopy@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" - integrity sha1-jaDmqHbPNEwK2KVIghEd08XHyjY= - -lodash._basecreate@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821" - integrity sha1-G8ZhYU2qf8MRt9A78WgGoCE8+CE= - -lodash._getnative@^3.0.0: - version "3.9.1" - resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" - integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U= - -lodash._isiterateecall@^3.0.0: - version "3.0.9" - resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" - integrity sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw= - lodash._reinterpolate@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" @@ -5710,15 +5638,6 @@ lodash.assign@^4.2.0: resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7" integrity sha1-DZnzzNem0mHRm9rrkkUAXShYCOc= -lodash.create@3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/lodash.create/-/lodash.create-3.1.1.tgz#d7f2849f0dbda7e04682bb8cd72ab022461debe7" - integrity sha1-1/KEnw29p+BGgruM1yqwIkYd6+c= - dependencies: - lodash._baseassign "^3.0.0" - lodash._basecreate "^3.0.0" - lodash._isiterateecall "^3.0.0" - lodash.defaults@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c" @@ -5734,16 +5653,6 @@ lodash.flatten@^4.4.0: resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" integrity sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8= -lodash.isarguments@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" - integrity sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo= - -lodash.isarray@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" - integrity sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U= - lodash.isequal@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" @@ -5754,15 +5663,6 @@ lodash.isplainobject@^4.0.6: resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" integrity sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs= -lodash.keys@^3.0.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" - integrity sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo= - dependencies: - lodash._getnative "^3.0.0" - lodash.isarguments "^3.0.0" - lodash.isarray "^3.0.0" - lodash.map@^4.5.1: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3" @@ -6134,23 +6034,6 @@ mkdirp@0.5.1, mkdirp@^0.5.0, mkdirp@^0.5.1: dependencies: minimist "0.0.8" -mocha@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.2.0.tgz#7dc4f45e5088075171a68896814e6ae9eb7a85e3" - integrity sha1-fcT0XlCIB1FxpoiWgU5q6et6heM= - dependencies: - browser-stdout "1.3.0" - commander "2.9.0" - debug "2.2.0" - diff "1.4.0" - escape-string-regexp "1.0.5" - glob "7.0.5" - growl "1.9.2" - json3 "3.3.2" - lodash.create "3.1.1" - mkdirp "0.5.1" - supports-color "3.1.2" - modify-values@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.0.tgz#e2b6cdeb9ce19f99317a53722f3dbf5df5eaaab2" @@ -6177,11 +6060,6 @@ module-deps@^6.0.0: through2 "^2.0.0" xtend "^4.0.0" -ms@0.7.1: - version "0.7.1" - resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098" - integrity sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg= - ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -8123,13 +8001,6 @@ subarg@^1.0.0: dependencies: minimist "^1.1.0" -supports-color@3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5" - integrity sha1-cqJiiU2dQIuVbKBf83su2KbiotU= - dependencies: - has-flag "^1.0.0" - supports-color@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"