Skip to content

Commit 249dab2

Browse files
authored
Upgrade mocha version to 5.2.0 in all packages. (#1375)
We are trying to consolidate flags passed to mocha test into mocha.opts (a mocha config file). In order for mocha to support comments in this file, mocha needs to be upgraded to its latest version (5.2.0 as of 11/09/2018).
1 parent b3063e4 commit 249dab2

File tree

16 files changed

+34
-38
lines changed

16 files changed

+34
-38
lines changed

integration/browserify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
"karma-sauce-launcher": "1.2.0",
2323
"karma-spec-reporter": "0.0.32",
2424
"mkdirp": "0.5.1",
25-
"mocha": "5.0.5"
25+
"mocha": "5.2.0"
2626
}
2727
}

integration/firestore/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"karma-firefox-launcher": "1.1.0",
2222
"karma-mocha": "1.3.0",
2323
"karma-spec-reporter": "0.0.32",
24-
"mocha": "5.0.5",
24+
"mocha": "5.2.0",
2525
"ts-loader": "3.5.0",
2626
"typescript": "2.8.1",
2727
"webpack": "3.11.0",

integration/messaging/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"chromedriver": "2.37.0",
1616
"express": "4.16.3",
1717
"geckodriver": "1.11.0",
18-
"mocha": "5.0.5",
18+
"mocha": "5.2.0",
1919
"node-fetch": "2.1.2",
2020
"selenium-assistant": "5.3.0",
2121
"sinon": "4.5.0"

integration/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"karma-sauce-launcher": "1.2.0",
2424
"karma-spec-reporter": "0.0.32",
2525
"karma-typescript": "3.0.12",
26-
"mocha": "5.0.5",
26+
"mocha": "5.2.0",
2727
"npm-run-all": "4.1.2",
2828
"typescript": "2.8.1"
2929
}

integration/webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"karma-mocha": "1.3.0",
2121
"karma-sauce-launcher": "1.2.0",
2222
"karma-spec-reporter": "0.0.32",
23-
"mocha": "5.0.5",
23+
"mocha": "5.2.0",
2424
"webpack": "3.11.0"
2525
}
2626
}

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"karma-sourcemap-loader": "0.3.7",
4343
"karma-spec-reporter": "0.0.32",
4444
"karma-webpack": "2.0.9",
45-
"mocha": "5.0.5",
45+
"mocha": "5.2.0",
4646
"npm-run-all": "4.1.2",
4747
"nyc": "11.6.0",
4848
"rollup": "0.57.1",

packages/database/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"karma-sourcemap-loader": "0.3.7",
4545
"karma-spec-reporter": "0.0.32",
4646
"karma-webpack": "2.0.9",
47-
"mocha": "5.0.5",
47+
"mocha": "5.2.0",
4848
"npm-run-all": "4.1.2",
4949
"nyc": "11.6.0",
5050
"rollup": "0.57.1",

packages/firestore/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"karma-webpack": "2.0.9",
5656
"long": "3.2.0",
5757
"mkdirp": "0.5.1",
58-
"mocha": "5.0.5",
58+
"mocha": "5.2.0",
5959
"npm-run-all": "4.1.2",
6060
"nyc": "11.6.0",
6161
"prettier": "1.12.0",

packages/functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"karma-sourcemap-loader": "0.3.7",
4040
"karma-spec-reporter": "0.0.32",
4141
"karma-webpack": "2.0.9",
42-
"mocha": "5.0.5",
42+
"mocha": "5.2.0",
4343
"npm-run-all": "4.1.2",
4444
"nyc": "11.6.0",
4545
"rollup": "0.57.1",

packages/logger/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"karma-sauce-launcher": "1.2.0",
3232
"karma-spec-reporter": "0.0.32",
3333
"karma-webpack": "2.0.9",
34-
"mocha": "5.0.5",
34+
"mocha": "5.2.0",
3535
"npm-run-all": "4.1.2",
3636
"nyc": "11.6.0",
3737
"rollup": "0.57.1",

packages/messaging/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"karma-sauce-launcher": "1.2.0",
4444
"karma-sourcemap-loader": "0.3.7",
4545
"karma-spec-reporter": "0.0.32",
46-
"mocha": "5.0.5",
46+
"mocha": "5.2.0",
4747
"npm-run-all": "4.1.2",
4848
"rollup": "0.57.1",
4949
"rollup-plugin-commonjs": "9.1.0",

packages/rxfire/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"karma-sourcemap-loader": "0.3.7",
5858
"karma-spec-reporter": "0.0.32",
5959
"karma-webpack": "2.0.9",
60-
"mocha": "5.0.5",
60+
"mocha": "5.2.0",
6161
"npm-run-all": "4.1.2",
6262
"nyc": "11.6.0",
6363
"sinon": "4.5.0",

packages/template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"karma-sauce-launcher": "1.2.0",
4141
"karma-spec-reporter": "0.0.32",
4242
"karma-webpack": "2.0.9",
43-
"mocha": "5.0.5",
43+
"mocha": "5.2.0",
4444
"npm-run-all": "4.1.2",
4545
"nyc": "11.6.0",
4646
"rollup": "0.57.1",

packages/testing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"devDependencies": {
2626
"chai": "4.1.2",
2727
"chai-as-promised": "7.1.1",
28-
"mocha": "5.0.5",
28+
"mocha": "5.2.0",
2929
"nyc": "13.1.0",
3030
"rollup": "0.57.1",
3131
"rollup-plugin-commonjs": "9.1.0",

packages/util/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"karma-sauce-launcher": "1.2.0",
3535
"karma-spec-reporter": "0.0.32",
3636
"karma-webpack": "2.0.9",
37-
"mocha": "5.0.5",
37+
"mocha": "5.2.0",
3838
"npm-run-all": "4.1.2",
3939
"nyc": "11.6.0",
4040
"rollup": "0.57.1",

yarn.lock

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3031,12 +3031,7 @@ command-join@^2.0.0:
30313031
resolved "https://registry.npmjs.org/command-join/-/command-join-2.0.0.tgz#52e8b984f4872d952ff1bdc8b98397d27c7144cf"
30323032
integrity sha1-Uui5hPSHLZUv8b3IuYOX0nxxRM8=
30333033

3034-
3035-
version "2.11.0"
3036-
resolved "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563"
3037-
integrity sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==
3038-
3039-
commander@^2.12.1, commander@^2.8.1, commander@^2.9.0:
3034+
[email protected], commander@^2.12.1, commander@^2.8.1, commander@^2.9.0:
30403035
version "2.15.1"
30413036
resolved "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"
30423037
integrity sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==
@@ -6086,10 +6081,10 @@ graceful-fs@^4.0.0, graceful-fs@^4.1.0, graceful-fs@^4.1.10, graceful-fs@^4.1.11
60866081
resolved "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
60876082
integrity sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=
60886083

6089-
6090-
version "1.10.3"
6091-
resolved "https://registry.npmjs.org/growl/-/growl-1.10.3.tgz#1926ba90cf3edfe2adb4927f5880bc22c66c790f"
6092-
integrity sha512-hKlsbA5Vu3xsh1Cg3J7jSmX/WaW6A5oBeqzM88oNbCRQFz+zUaXm6yxS4RVytp1scBoJzSYl4YAEOQIt6O8V1Q==
6084+
6085+
version "1.10.5"
6086+
resolved "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"
6087+
integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==
60936088

60946089
60956090
version "1.16.0"
@@ -8966,7 +8961,7 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
89668961
resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
89678962
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=
89688963

8969-
"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4:
8964+
"minimatch@2 || 3", minimatch@3.0.4, minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4:
89708965
version "3.0.4"
89718966
resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
89728967
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
@@ -9038,21 +9033,22 @@ [email protected], [email protected], [email protected], "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdir
90389033
dependencies:
90399034
minimist "0.0.8"
90409035

9041-
mocha@5.0.5:
9042-
version "5.0.5"
9043-
resolved "https://registry.npmjs.org/mocha/-/mocha-5.0.5.tgz#e228e3386b9387a4710007a641f127b00be44b52"
9044-
integrity sha512-3MM3UjZ5p8EJrYpG7s+29HAI9G7sTzKEe4+w37Dg0QP7qL4XGsV+Q2xet2cE37AqdgN1OtYQB6Vl98YiPV3PgA==
9036+
mocha@5.2.0:
9037+
version "5.2.0"
9038+
resolved "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz#6d8ae508f59167f940f2b5b3c4a612ae50c90ae6"
9039+
integrity sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==
90459040
dependencies:
90469041
browser-stdout "1.3.1"
9047-
commander "2.11.0"
9042+
commander "2.15.1"
90489043
debug "3.1.0"
90499044
diff "3.5.0"
90509045
escape-string-regexp "1.0.5"
90519046
glob "7.1.2"
9052-
growl "1.10.3"
9047+
growl "1.10.5"
90539048
he "1.1.1"
9049+
minimatch "3.0.4"
90549050
mkdirp "0.5.1"
9055-
supports-color "4.4.0"
9051+
supports-color "5.4.0"
90569052

90579053
modelo@^4.2.0:
90589054
version "4.2.3"
@@ -12525,12 +12521,12 @@ superstatic@^6.0.1:
1252512521
try-require "^1.0.0"
1252612522
update-notifier "^2.5.0"
1252712523

12528-
supports-color@4.4.0:
12529-
version "4.4.0"
12530-
resolved "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz#883f7ddabc165142b2a61427f3352ded195d1a3e"
12531-
integrity sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==
12524+
supports-color@5.4.0:
12525+
version "5.4.0"
12526+
resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54"
12527+
integrity sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==
1253212528
dependencies:
12533-
has-flag "^2.0.0"
12529+
has-flag "^3.0.0"
1253412530

1253512531
supports-color@^2.0.0:
1253612532
version "2.0.0"

0 commit comments

Comments
 (0)