mocha 8.0.1 → 8.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mocha",
3
- "version": "8.0.1",
3
+ "version": "8.1.3",
4
4
  "description": "simple, flexible, fun test framework",
5
5
  "keywords": [
6
6
  "mocha",
@@ -53,21 +53,21 @@
53
53
  "dependencies": {
54
54
  "ansi-colors": "4.1.1",
55
55
  "browser-stdout": "1.3.1",
56
- "chokidar": "3.3.1",
57
- "debug": "3.2.6",
56
+ "chokidar": "3.4.2",
57
+ "debug": "4.1.1",
58
58
  "diff": "4.0.2",
59
- "escape-string-regexp": "1.0.5",
60
- "find-up": "4.1.0",
59
+ "escape-string-regexp": "4.0.0",
60
+ "find-up": "5.0.0",
61
61
  "glob": "7.1.6",
62
62
  "growl": "1.10.5",
63
63
  "he": "1.2.0",
64
- "js-yaml": "3.13.1",
65
- "log-symbols": "3.0.0",
64
+ "js-yaml": "3.14.0",
65
+ "log-symbols": "4.0.0",
66
66
  "minimatch": "3.0.4",
67
67
  "ms": "2.1.2",
68
68
  "object.assign": "4.1.0",
69
69
  "promise.allsettled": "1.0.2",
70
- "serialize-javascript": "3.0.0",
70
+ "serialize-javascript": "4.0.0",
71
71
  "strip-json-comments": "3.0.1",
72
72
  "supports-color": "7.1.0",
73
73
  "which": "2.0.2",
@@ -75,69 +75,85 @@
75
75
  "workerpool": "6.0.0",
76
76
  "yargs": "13.3.2",
77
77
  "yargs-parser": "13.1.2",
78
- "yargs-unparser": "1.6.0"
78
+ "yargs-unparser": "1.6.1"
79
79
  },
80
80
  "devDependencies": {
81
- "@11ty/eleventy": "^0.10.0",
81
+ "@11ty/eleventy": "^0.11.0",
82
82
  "@11ty/eleventy-plugin-inclusive-language": "^1.0.0",
83
- "@mocha/docdash": "^2.1.3",
84
- "assetgraph-builder": "^8.0.1",
85
- "autoprefixer": "^9.7.4",
83
+ "@babel/preset-env": "^7.11.0",
84
+ "@mocha/docdash": "^3.0.1",
85
+ "@rollup/plugin-babel": "^5.1.0",
86
+ "@rollup/plugin-commonjs": "^14.0.0",
87
+ "@rollup/plugin-json": "^4.1.0",
88
+ "@rollup/plugin-multi-entry": "^3.0.1",
89
+ "@rollup/plugin-node-resolve": "^8.4.0",
90
+ "assetgraph-builder": "^8.1.0",
91
+ "autoprefixer": "^9.8.6",
86
92
  "babel-eslint": "^10.1.0",
87
- "browserify": "^16.5.0",
88
- "browserify-package-json": "^1.0.1",
93
+ "canvas": "^2.6.1",
89
94
  "chai": "^4.2.0",
90
95
  "coffee-script": "^1.12.7",
91
- "coveralls": "^3.0.11",
92
- "cross-env": "^6.0.3",
93
- "cross-spawn": "^7.0.1",
96
+ "configstore": "^5.0.1",
97
+ "core-js": "^3.6.5",
98
+ "coveralls": "^3.1.0",
99
+ "cross-env": "^7.0.2",
100
+ "cross-spawn": "^7.0.3",
94
101
  "eslint": "^6.8.0",
95
- "eslint-config-prettier": "^6.10.0",
96
- "eslint-config-semistandard": "^15.0.0",
102
+ "eslint-config-prettier": "^6.11.0",
103
+ "eslint-config-semistandard": "^15.0.1",
97
104
  "eslint-config-standard": "^14.1.1",
98
- "eslint-plugin-import": "^2.20.1",
105
+ "eslint-plugin-import": "^2.22.0",
99
106
  "eslint-plugin-node": "^11.0.0",
100
- "eslint-plugin-prettier": "^3.1.2",
107
+ "eslint-plugin-prettier": "^3.1.4",
101
108
  "eslint-plugin-promise": "^4.2.1",
102
109
  "eslint-plugin-standard": "^4.0.1",
103
- "fs-extra": "^9.0.0",
104
- "husky": "^4.2.3",
105
- "hyperlink": "^4.4.3",
106
- "image-size": "^0.8.3",
107
- "jsdoc": "^3.6.3",
108
- "karma": "^4.4.1",
109
- "karma-browserify": "^7.0.0",
110
+ "fail-on-errors-webpack-plugin": "^3.0.0",
111
+ "fs-extra": "^9.0.1",
112
+ "husky": "^4.2.5",
113
+ "hyperlink": "^4.5.2",
114
+ "jsdoc": "^3.6.5",
115
+ "karma": "^5.1.1",
110
116
  "karma-chrome-launcher": "^3.1.0",
111
- "karma-mocha": "^1.3.0",
117
+ "karma-mocha": "^2.0.1",
112
118
  "karma-mocha-reporter": "^2.2.5",
113
- "karma-sauce-launcher": "^2.0.2",
114
- "lint-staged": "^9.5.0",
115
- "markdown-it": "^10.0.0",
116
- "markdown-it-anchor": "^5.2.5",
117
- "markdown-it-attrs": "^3.0.2",
119
+ "karma-requirejs": "^1.1.0",
120
+ "karma-sauce-launcher": "^4.1.5",
121
+ "lint-staged": "^10.2.11",
122
+ "markdown-it": "^11.0.0",
123
+ "markdown-it-anchor": "^5.3.0",
124
+ "markdown-it-attrs": "^3.0.3",
118
125
  "markdown-it-emoji": "^1.4.0",
119
- "markdown-it-prism": "^2.0.5",
126
+ "markdown-it-prism": "^2.1.1",
120
127
  "markdown-toc": "^1.2.0",
121
- "markdownlint-cli": "^0.22.0",
122
- "needle": "^2.4.1",
123
- "nps": "^5.9.12",
124
- "nyc": "^15.0.0",
128
+ "markdownlint-cli": "^0.23.2",
129
+ "needle": "^2.5.0",
130
+ "nps": "^5.10.0",
131
+ "nyc": "^15.1.0",
125
132
  "prettier": "^1.19.1",
126
- "remark": "^11.0.2",
127
- "remark-github": "^8.0.0",
128
- "remark-inline-links": "^3.1.3",
129
- "rewiremock": "^3.14.1",
133
+ "remark": "^12.0.1",
134
+ "remark-github": "^9.0.1",
135
+ "remark-inline-links": "^4.0.0",
136
+ "requirejs": "^2.3.6",
137
+ "rewiremock": "^3.14.3",
130
138
  "rimraf": "^3.0.2",
131
- "sinon": "^9.0.1",
139
+ "rollup": "^2.23.1",
140
+ "rollup-plugin-node-builtins": "^2.1.2",
141
+ "rollup-plugin-node-globals": "^1.4.0",
142
+ "rollup-plugin-visualizer": "^4.1.0",
143
+ "sinon": "^9.0.3",
132
144
  "strip-ansi": "^6.0.0",
133
145
  "svgo": "^1.3.2",
134
- "through2": "^3.0.1",
146
+ "through2": "^4.0.2",
135
147
  "to-vfile": "^6.1.0",
136
148
  "unexpected": "^11.14.0",
137
149
  "unexpected-eventemitter": "^2.2.0",
138
150
  "unexpected-sinon": "^10.11.2",
151
+ "update-notifier": "^4.1.0",
139
152
  "uslug": "^1.0.4",
140
- "watchify": "^3.11.1"
153
+ "uuid": "^8.3.0",
154
+ "watchify": "^3.11.1",
155
+ "webpack": "^4.44.1",
156
+ "webpack-cli": "^3.3.12"
141
157
  },
142
158
  "files": [
143
159
  "bin/*mocha",
@@ -146,28 +162,23 @@
146
162
  "index.js",
147
163
  "mocha.css",
148
164
  "mocha.js",
165
+ "mocha.js.map",
149
166
  "browser-entry.js"
150
167
  ],
151
- "browserify": {
152
- "transform": [
153
- "./scripts/package-json-cullify"
154
- ]
155
- },
156
168
  "browser": {
157
169
  "./index.js": "./browser-entry.js",
158
170
  "./lib/nodejs/growl.js": "./lib/browser/growl.js",
159
- "tty": "./lib/browser/tty.js",
160
- "./lib/cli/*.js": false,
161
- "chokidar": false,
171
+ "./lib/esm-utils.js": false,
162
172
  "fs": false,
163
- "glob": false,
164
173
  "path": false,
165
174
  "supports-color": false,
166
175
  "./lib/nodejs/serializer.js": false,
167
176
  "./lib/nodejs/worker.js": false,
168
177
  "./lib/nodejs/buffered-worker-pool.js": false,
169
178
  "./lib/nodejs/parallel-buffered-runner.js": false,
170
- "./lib/nodejs/reporters/parallel-buffered.js": false
179
+ "./lib/nodejs/reporters/parallel-buffered.js": false,
180
+ "./lib/nodejs/file-unloader.js": false,
181
+ "./lib/cli/index.js": false
171
182
  },
172
183
  "prettier": {
173
184
  "singleQuote": true,
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- exports.isatty = function isatty() {
4
- return true;
5
- };
6
-
7
- exports.getWindowSize = function getWindowSize() {
8
- if ('innerHeight' in global) {
9
- return [global.innerHeight, global.innerWidth];
10
- }
11
- // In a Web Worker, the DOM Window is not available.
12
- return [640, 480];
13
- };