mocha 8.0.0 → 8.1.2

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.0",
3
+ "version": "8.1.2",
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,68 +75,81 @@
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.0",
85
- "autoprefixer": "^9.7.4",
83
+ "@babel/preset-env": "^7.11.0",
84
+ "@mocha/docdash": "^3.0.0",
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
+ "fs-extra": "^9.0.1",
111
+ "husky": "^4.2.5",
112
+ "hyperlink": "^4.5.2",
113
+ "jsdoc": "^3.6.5",
114
+ "karma": "^5.1.1",
110
115
  "karma-chrome-launcher": "^3.1.0",
111
- "karma-mocha": "^1.3.0",
116
+ "karma-mocha": "^2.0.1",
112
117
  "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",
118
+ "karma-requirejs": "^1.1.0",
119
+ "karma-sauce-launcher": "^4.1.5",
120
+ "lint-staged": "^10.2.11",
121
+ "markdown-it": "^11.0.0",
122
+ "markdown-it-anchor": "^5.3.0",
123
+ "markdown-it-attrs": "^3.0.3",
118
124
  "markdown-it-emoji": "^1.4.0",
119
- "markdown-it-prism": "^2.0.5",
125
+ "markdown-it-prism": "^2.1.1",
120
126
  "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",
127
+ "markdownlint-cli": "^0.23.2",
128
+ "needle": "^2.5.0",
129
+ "nps": "^5.10.0",
130
+ "nyc": "^15.1.0",
125
131
  "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",
132
+ "remark": "^12.0.1",
133
+ "remark-github": "^9.0.1",
134
+ "remark-inline-links": "^4.0.0",
135
+ "requirejs": "^2.3.6",
136
+ "rewiremock": "^3.14.3",
130
137
  "rimraf": "^3.0.2",
131
- "sinon": "^9.0.1",
138
+ "rollup": "^2.23.1",
139
+ "rollup-plugin-node-builtins": "^2.1.2",
140
+ "rollup-plugin-node-globals": "^1.4.0",
141
+ "rollup-plugin-visualizer": "^4.1.0",
142
+ "sinon": "^9.0.3",
132
143
  "strip-ansi": "^6.0.0",
133
144
  "svgo": "^1.3.2",
134
- "through2": "^3.0.1",
145
+ "through2": "^4.0.2",
135
146
  "to-vfile": "^6.1.0",
136
147
  "unexpected": "^11.14.0",
137
148
  "unexpected-eventemitter": "^2.2.0",
138
149
  "unexpected-sinon": "^10.11.2",
150
+ "update-notifier": "^4.1.0",
139
151
  "uslug": "^1.0.4",
152
+ "uuid": "^8.3.0",
140
153
  "watchify": "^3.11.1"
141
154
  },
142
155
  "files": [
@@ -146,21 +159,14 @@
146
159
  "index.js",
147
160
  "mocha.css",
148
161
  "mocha.js",
162
+ "mocha.js.map",
149
163
  "browser-entry.js"
150
164
  ],
151
- "browserify": {
152
- "transform": [
153
- "./scripts/package-json-cullify"
154
- ]
155
- },
156
165
  "browser": {
157
166
  "./index.js": "./browser-entry.js",
158
167
  "./lib/nodejs/growl.js": "./lib/browser/growl.js",
159
- "tty": "./lib/browser/tty.js",
160
- "./lib/cli/*.js": false,
161
- "chokidar": false,
168
+ "./lib/esm-utils.js": false,
162
169
  "fs": false,
163
- "glob": false,
164
170
  "path": false,
165
171
  "supports-color": false,
166
172
  "./lib/nodejs/serializer.js": false,
@@ -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
- };