mocha 3.4.2 → 3.5.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/CHANGELOG.md +80 -4
- package/README.md +4 -3
- package/bin/_mocha +12 -1
- package/bin/mocha +1 -0
- package/lib/mocha.js +21 -0
- package/lib/reporters/base.js +1 -1
- package/lib/runner.js +6 -0
- package/lib/utils.js +2 -5
- package/mocha.js +815 -430
- package/package.json +13 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mocha",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.3",
|
|
4
4
|
"description": "simple, flexible, fun test framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mocha",
|
|
@@ -301,48 +301,49 @@
|
|
|
301
301
|
"scripts": {
|
|
302
302
|
"lint": "eslint . bin/*",
|
|
303
303
|
"test": "make test && make clean",
|
|
304
|
-
"
|
|
305
|
-
"
|
|
306
|
-
"postcoverage": "istanbul-combine -d coverage -r lcov -r html coverage/reports/*/*.json",
|
|
307
|
-
"preversion": "make test && rm mocha.js && make mocha.js && git add mocha.js"
|
|
304
|
+
"preversion": "make test && rm mocha.js && make mocha.js && git add mocha.js",
|
|
305
|
+
"coveralls": "nyc report --reporter=text-lcov | coveralls"
|
|
308
306
|
},
|
|
309
307
|
"dependencies": {
|
|
310
308
|
"browser-stdout": "1.3.0",
|
|
311
309
|
"commander": "2.9.0",
|
|
312
|
-
"debug": "2.6.
|
|
310
|
+
"debug": "2.6.8",
|
|
313
311
|
"diff": "3.2.0",
|
|
314
312
|
"escape-string-regexp": "1.0.5",
|
|
315
313
|
"glob": "7.1.1",
|
|
316
314
|
"growl": "1.9.2",
|
|
315
|
+
"he": "1.1.1",
|
|
317
316
|
"json3": "3.3.2",
|
|
318
317
|
"lodash.create": "3.1.1",
|
|
319
318
|
"mkdirp": "0.5.1",
|
|
320
319
|
"supports-color": "3.1.2"
|
|
321
320
|
},
|
|
322
321
|
"devDependencies": {
|
|
322
|
+
"@coderbyheart/karma-sauce-launcher": "git://github.com/coderbyheart/karma-sauce-launcher#5259942cd6d40090eaa13ceeef5b0b8738c7710f",
|
|
323
323
|
"assert": "^1.4.1",
|
|
324
324
|
"browserify": "^13.0.0",
|
|
325
325
|
"coffee-script": "^1.10.0",
|
|
326
326
|
"coveralls": "^2.11.15",
|
|
327
|
+
"cross-spawn": "^5.1.0",
|
|
327
328
|
"eslint": "^3.11.1",
|
|
328
329
|
"eslint-config-semistandard": "^7.0.0",
|
|
329
330
|
"eslint-config-standard": "^6.2.1",
|
|
330
331
|
"eslint-plugin-promise": "^3.4.0",
|
|
331
332
|
"eslint-plugin-standard": "2.0.1",
|
|
332
333
|
"expect.js": "^0.3.1",
|
|
333
|
-
"istanbul-combine": "^0.3.0",
|
|
334
334
|
"karma": "1.3.0",
|
|
335
335
|
"karma-browserify": "^5.0.5",
|
|
336
336
|
"karma-chrome-launcher": "^2.0.0",
|
|
337
337
|
"karma-expect": "^1.1.2",
|
|
338
338
|
"karma-mocha": "^1.3.0",
|
|
339
|
-
"karma-phantomjs-launcher": "
|
|
340
|
-
"karma-sauce-launcher": "coderbyheart/karma-sauce-launcher",
|
|
339
|
+
"karma-phantomjs-launcher": "0.2.3",
|
|
341
340
|
"karma-spec-reporter": "0.0.26",
|
|
342
|
-
"nyc": "^
|
|
341
|
+
"nyc": "^11.2.1",
|
|
342
|
+
"os-name": "^2.0.1",
|
|
343
343
|
"phantomjs": "1.9.8",
|
|
344
|
+
"readable-stream": "2.2.11",
|
|
344
345
|
"rimraf": "^2.5.2",
|
|
345
|
-
"should": "^
|
|
346
|
+
"should": "^9.0.2",
|
|
346
347
|
"through2": "^2.0.1",
|
|
347
348
|
"watchify": "^3.7.0"
|
|
348
349
|
},
|
|
@@ -368,11 +369,5 @@
|
|
|
368
369
|
"supports-color": false
|
|
369
370
|
},
|
|
370
371
|
"homepage": "https://mochajs.org",
|
|
371
|
-
"logo": "https://cldup.com/S9uQ-cOLYz.svg"
|
|
372
|
-
"greenkeeper": {
|
|
373
|
-
"ignore": [
|
|
374
|
-
"phantomjs",
|
|
375
|
-
"lodash.create"
|
|
376
|
-
]
|
|
377
|
-
}
|
|
372
|
+
"logo": "https://cldup.com/S9uQ-cOLYz.svg"
|
|
378
373
|
}
|