From f3421fad2fad3beaa896c2af1409125295ee3068 Mon Sep 17 00:00:00 2001 From: spalger Date: Fri, 18 May 2018 15:04:01 -0700 Subject: [PATCH] [npm] downgrade mocha to not need https://github.com/mochajs/mocha/pull/3346 --- package.json | 2 +- x-pack/package.json | 2 +- x-pack/yarn.lock | 30 +++++++++++++++--------------- yarn.lock | 9 ++++----- 4 files changed, 21 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index 1a91be9dcd009..31178298c0187 100644 --- a/package.json +++ b/package.json @@ -286,7 +286,7 @@ "load-grunt-config": "0.19.2", "makelogs": "^4.0.5", "marked-text-renderer": "0.1.0", - "mocha": "github:elastic/mocha#37dc027261b2974aa0411955a06c93fb8ed2c06e", + "mocha": "5.0.4", "mock-fs": "^4.4.2", "murmurhash3js": "3.0.1", "ncp": "2.0.0", diff --git a/x-pack/package.json b/x-pack/package.json index 6874e6cd973f9..2bfd95f38ebb3 100644 --- a/x-pack/package.json +++ b/x-pack/package.json @@ -53,7 +53,7 @@ "jest": "^22.4.3", "jest-cli": "^22.4.3", "jest-styled-components": "^5.0.1", - "mocha": "^5.0.5", + "mocha": "5.0.4", "mustache": "^2.3.0", "node-fetch": "^2.1.2", "pdf-image": "1.1.0", diff --git a/x-pack/yarn.lock b/x-pack/yarn.lock index d078448cff8ec..89d2a23d6b1d9 100644 --- a/x-pack/yarn.lock +++ b/x-pack/yarn.lock @@ -4724,6 +4724,21 @@ mkdirp@0.5.1, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1: dependencies: minimist "0.0.8" +mocha@5.0.4: + version "5.0.4" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.0.4.tgz#6b7aa328472da1088e69d47e75925fd3a3bb63c6" + dependencies: + browser-stdout "1.3.1" + commander "2.11.0" + debug "3.1.0" + diff "3.5.0" + escape-string-regexp "1.0.5" + glob "7.1.2" + growl "1.10.3" + he "1.1.1" + mkdirp "0.5.1" + supports-color "4.4.0" + mocha@^2.0.1: version "2.5.3" resolved "https://registry.yarnpkg.com/mocha/-/mocha-2.5.3.tgz#161be5bdeb496771eb9b35745050b622b5aefc58" @@ -4739,21 +4754,6 @@ mocha@^2.0.1: supports-color "1.2.0" to-iso-string "0.0.2" -mocha@^5.0.5: - version "5.0.5" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.0.5.tgz#e228e3386b9387a4710007a641f127b00be44b52" - dependencies: - browser-stdout "1.3.1" - commander "2.11.0" - debug "3.1.0" - diff "3.5.0" - escape-string-regexp "1.0.5" - glob "7.1.2" - growl "1.10.3" - he "1.1.1" - mkdirp "0.5.1" - supports-color "4.4.0" - module-not-found-error@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/module-not-found-error/-/module-not-found-error-1.0.1.tgz#cf8b4ff4f29640674d6cdd02b0e3bc523c2bbdc0" diff --git a/yarn.lock b/yarn.lock index b09c51b78414d..6a8d7fb506de6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8288,7 +8288,7 @@ minimatch@0.3: lru-cache "2" sigmund "~1.0.0" -"minimatch@2 || 3", minimatch@3.0.4, minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@~3.0.0, minimatch@~3.0.2: +"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@~3.0.0, minimatch@~3.0.2: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" dependencies: @@ -8358,9 +8358,9 @@ mkdirp@^0.3.5, mkdirp@~0.3.5: version "0.3.5" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.3.5.tgz#de3e5f8961c88c787ee1368df849ac4413eca8d7" -"mocha@github:elastic/mocha#37dc027261b2974aa0411955a06c93fb8ed2c06e": - version "5.1.1" - resolved "https://codeload.github.com/elastic/mocha/tar.gz/37dc027261b2974aa0411955a06c93fb8ed2c06e" +mocha@5.0.4: + version "5.0.4" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.0.4.tgz#6b7aa328472da1088e69d47e75925fd3a3bb63c6" dependencies: browser-stdout "1.3.1" commander "2.11.0" @@ -8370,7 +8370,6 @@ mkdirp@^0.3.5, mkdirp@~0.3.5: glob "7.1.2" growl "1.10.3" he "1.1.1" - minimatch "3.0.4" mkdirp "0.5.1" supports-color "4.4.0"