mocha 7.1.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/lib/runner.js +3 -1
- package/mocha.js +4 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# 7.1.1 / 2020-03-18
|
|
2
|
+
|
|
3
|
+
## :lock: Security Fixes
|
|
4
|
+
|
|
5
|
+
- [#4204](https://github.com/mochajs/mocha/issues/4204): Update dependencies mkdirp, yargs-parser and yargs ([**@juergba**](https://github.com/juergba))
|
|
6
|
+
|
|
7
|
+
## :bug: Fixes
|
|
8
|
+
|
|
9
|
+
- [#3660](https://github.com/mochajs/mocha/issues/3660): Fix `runner` listening to `start` and `end` events ([**@juergba**](https://github.com/juergba))
|
|
10
|
+
|
|
11
|
+
## :book: Documentation
|
|
12
|
+
|
|
13
|
+
- [#4190](https://github.com/mochajs/mocha/issues/4190): Show Netlify badge on footer ([**@outsideris**](https://github.com/outsideris))
|
|
14
|
+
|
|
1
15
|
# 7.1.0 / 2020-02-26
|
|
2
16
|
|
|
3
17
|
## :tada: Enhancements
|
package/lib/runner.js
CHANGED
|
@@ -939,7 +939,9 @@ Runner.prototype.run = function(fn) {
|
|
|
939
939
|
this.emit(constants.EVENT_DELAY_BEGIN, rootSuite);
|
|
940
940
|
rootSuite.once(EVENT_ROOT_SUITE_RUN, start);
|
|
941
941
|
} else {
|
|
942
|
-
|
|
942
|
+
Runner.immediately(function() {
|
|
943
|
+
start();
|
|
944
|
+
});
|
|
943
945
|
}
|
|
944
946
|
|
|
945
947
|
return this;
|
package/mocha.js
CHANGED
|
@@ -6535,7 +6535,9 @@ Runner.prototype.run = function(fn) {
|
|
|
6535
6535
|
this.emit(constants.EVENT_DELAY_BEGIN, rootSuite);
|
|
6536
6536
|
rootSuite.once(EVENT_ROOT_SUITE_RUN, start);
|
|
6537
6537
|
} else {
|
|
6538
|
-
|
|
6538
|
+
Runner.immediately(function() {
|
|
6539
|
+
start();
|
|
6540
|
+
});
|
|
6539
6541
|
}
|
|
6540
6542
|
|
|
6541
6543
|
return this;
|
|
@@ -18169,7 +18171,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
18169
18171
|
},{"./support/isBuffer":88,"_process":69,"inherits":56}],90:[function(require,module,exports){
|
|
18170
18172
|
module.exports={
|
|
18171
18173
|
"name": "mocha",
|
|
18172
|
-
"version": "7.1.
|
|
18174
|
+
"version": "7.1.1",
|
|
18173
18175
|
"homepage": "https://mochajs.org/",
|
|
18174
18176
|
"notifyLogo": "https://ibin.co/4QuRuGjXvl36.png"
|
|
18175
18177
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mocha",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "simple, flexible, fun test framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mocha",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"js-yaml": "3.13.1",
|
|
57
57
|
"log-symbols": "3.0.0",
|
|
58
58
|
"minimatch": "3.0.4",
|
|
59
|
-
"mkdirp": "0.5.
|
|
59
|
+
"mkdirp": "0.5.3",
|
|
60
60
|
"ms": "2.1.1",
|
|
61
61
|
"node-environment-flags": "1.0.6",
|
|
62
62
|
"object.assign": "4.1.0",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"supports-color": "6.0.0",
|
|
65
65
|
"which": "1.3.1",
|
|
66
66
|
"wide-align": "1.1.3",
|
|
67
|
-
"yargs": "13.3.
|
|
68
|
-
"yargs-parser": "13.1.
|
|
67
|
+
"yargs": "13.3.2",
|
|
68
|
+
"yargs-parser": "13.1.2",
|
|
69
69
|
"yargs-unparser": "1.6.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@11ty/eleventy": "^0.8.3",
|
|
73
73
|
"@mocha/docdash": "^2.1.2",
|
|
74
74
|
"acorn": "^7.0.0",
|
|
75
|
-
"assetgraph-builder": "^
|
|
75
|
+
"assetgraph-builder": "^7.0.0",
|
|
76
76
|
"autoprefixer": "^9.6.0",
|
|
77
77
|
"babel-eslint": "^10.0.3",
|
|
78
78
|
"browserify": "^16.2.3",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"markdown-magic-package-json": "^2.0.0",
|
|
111
111
|
"markdown-toc": "^1.2.0",
|
|
112
112
|
"markdownlint-cli": "^0.14.1",
|
|
113
|
-
"nps": "^5.9.
|
|
113
|
+
"nps": "^5.9.12",
|
|
114
114
|
"nyc": "^14.1.1",
|
|
115
115
|
"prettier": "^1.17.1",
|
|
116
116
|
"remark": "^10.0.1",
|