mocha 9.1.3 → 9.1.4

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.
Files changed (44) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/browser-entry.js +15 -15
  4. package/lib/browser/growl.js +5 -5
  5. package/lib/browser/parse-query.js +1 -1
  6. package/lib/browser/progress.js +6 -6
  7. package/lib/cli/run.js +1 -1
  8. package/lib/cli/watch-run.js +1 -4
  9. package/lib/context.js +5 -5
  10. package/lib/errors.js +1 -1
  11. package/lib/hook.js +2 -2
  12. package/lib/interfaces/bdd.js +23 -20
  13. package/lib/interfaces/common.js +7 -7
  14. package/lib/interfaces/exports.js +1 -1
  15. package/lib/interfaces/qunit.js +7 -7
  16. package/lib/interfaces/tdd.js +9 -9
  17. package/lib/mocha.js +56 -58
  18. package/lib/nodejs/esm-utils.js +18 -3
  19. package/lib/reporters/base.js +18 -21
  20. package/lib/reporters/doc.js +4 -4
  21. package/lib/reporters/dot.js +5 -5
  22. package/lib/reporters/html.js +12 -12
  23. package/lib/reporters/json-stream.js +4 -4
  24. package/lib/reporters/json.js +7 -7
  25. package/lib/reporters/landing.js +5 -5
  26. package/lib/reporters/list.js +5 -5
  27. package/lib/reporters/markdown.js +5 -5
  28. package/lib/reporters/min.js +1 -1
  29. package/lib/reporters/nyan.js +16 -16
  30. package/lib/reporters/progress.js +3 -3
  31. package/lib/reporters/spec.js +6 -6
  32. package/lib/reporters/tap.js +17 -17
  33. package/lib/reporters/xunit.js +9 -9
  34. package/lib/runnable.js +21 -21
  35. package/lib/runner.js +44 -47
  36. package/lib/stats-collector.js +7 -7
  37. package/lib/suite.js +29 -29
  38. package/lib/test.js +4 -4
  39. package/lib/utils.js +18 -19
  40. package/mocha-es2018.js +380 -386
  41. package/mocha.js +752 -551
  42. package/mocha.js.map +1 -1
  43. package/package.json +16 -15
  44. package/CHANGELOG.md +0 -1025
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mocha",
3
- "version": "9.1.3",
3
+ "version": "9.1.4",
4
4
  "description": "simple, flexible, fun test framework",
5
5
  "keywords": [
6
6
  "mocha",
@@ -78,11 +78,11 @@
78
78
  "yargs-unparser": "2.0.0"
79
79
  },
80
80
  "devDependencies": {
81
- "@11ty/eleventy": "^0.11.0",
82
- "@11ty/eleventy-plugin-inclusive-language": "^1.0.0",
81
+ "@11ty/eleventy": "^0.12.1",
82
+ "@11ty/eleventy-plugin-inclusive-language": "^1.0.3",
83
83
  "@babel/eslint-parser": "^7.15.4",
84
84
  "@babel/preset-env": "^7.14.8",
85
- "@mocha/docdash": "^3.0.1",
85
+ "@mocha/docdash": "^4.0.0",
86
86
  "@rollup/plugin-babel": "^5.1.0",
87
87
  "@rollup/plugin-commonjs": "^14.0.0",
88
88
  "@rollup/plugin-json": "^4.1.0",
@@ -97,7 +97,6 @@
97
97
  "core-js": "^3.16.3",
98
98
  "coveralls": "^3.1.1",
99
99
  "cross-env": "^7.0.2",
100
- "cross-spawn": "^7.0.3",
101
100
  "eslint": "^7.32.0",
102
101
  "eslint-config-prettier": "^8.3.0",
103
102
  "eslint-config-semistandard": "^16.0.0",
@@ -110,8 +109,8 @@
110
109
  "fs-extra": "^9.0.1",
111
110
  "husky": "^4.2.5",
112
111
  "hyperlink": "^4.7.0",
113
- "jsdoc": "^3.6.5",
114
- "jsdoc-ts-utils": "^1.1.2",
112
+ "jsdoc": "^3.6.7",
113
+ "jsdoc-ts-utils": "^2.0.1",
115
114
  "karma": "^6.3.4",
116
115
  "karma-chrome-launcher": "^3.1.0",
117
116
  "karma-mocha": "^2.0.1",
@@ -130,11 +129,11 @@
130
129
  "nps": "^5.10.0",
131
130
  "nyc": "^15.1.0",
132
131
  "pidtree": "^0.5.0",
133
- "prettier": "^1.19.1",
132
+ "prettier": "^2.4.1",
134
133
  "regenerator-runtime": "0.13.7",
135
- "remark": "^12.0.1",
136
- "remark-github": "^9.0.1",
137
- "remark-inline-links": "^4.0.0",
134
+ "remark": "^14.0.1",
135
+ "remark-github": "^11.1.1",
136
+ "remark-inline-links": "^6.0.0",
138
137
  "requirejs": "^2.3.6",
139
138
  "rewiremock": "^3.14.3",
140
139
  "rimraf": "^3.0.2",
@@ -157,8 +156,8 @@
157
156
  "uslug": "^1.0.4",
158
157
  "uuid": "^8.3.0",
159
158
  "watchify": "^4.0.0",
160
- "webpack": "^4.44.1",
161
- "webpack-cli": "^3.3.12"
159
+ "webpack": "^5.59.1",
160
+ "webpack-cli": "^4.9.1"
162
161
  },
163
162
  "files": [
164
163
  "bin/*mocha",
@@ -187,9 +186,11 @@
187
186
  "./lib/cli/index.js": false
188
187
  },
189
188
  "prettier": {
190
- "singleQuote": true,
189
+ "arrowParens": "avoid",
191
190
  "bracketSpacing": false,
192
- "endOfLine": "auto"
191
+ "endOfLine": "auto",
192
+ "singleQuote": true,
193
+ "trailingComma": "none"
193
194
  },
194
195
  "gitter": "https://gitter.im/mochajs/mocha",
195
196
  "husky": {