mocha 6.1.4 → 6.2.0
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 +40 -0
- package/bin/mocha +32 -26
- package/lib/cli/cli.js +6 -1
- package/lib/cli/collect-files.js +85 -0
- package/lib/cli/options.js +24 -10
- package/lib/cli/run-helpers.js +35 -193
- package/lib/cli/run-option-metadata.js +14 -3
- package/lib/cli/run.js +7 -11
- package/lib/cli/watch-run.js +106 -0
- package/lib/mocha.js +10 -3
- package/lib/reporters/base.js +15 -8
- package/lib/reporters/doc.js +14 -10
- package/lib/reporters/dot.js +1 -1
- package/lib/reporters/landing.js +1 -1
- package/lib/reporters/list.js +4 -4
- package/lib/reporters/progress.js +2 -2
- package/lib/reporters/spec.js +7 -7
- package/lib/reporters/xunit.js +1 -1
- package/lib/utils.js +26 -16
- package/mocha.css +0 -1
- package/mocha.js +82 -54
- package/package.json +34 -25
package/mocha.js
CHANGED
|
@@ -1500,6 +1500,10 @@ function Mocha(options) {
|
|
|
1500
1500
|
options.color = 'color' in options ? options.color : options.useColors;
|
|
1501
1501
|
}
|
|
1502
1502
|
|
|
1503
|
+
// Globals are passed in as options.global, with options.globals for backward compatibility.
|
|
1504
|
+
options.globals = options.global || options.globals || [];
|
|
1505
|
+
delete options.global;
|
|
1506
|
+
|
|
1503
1507
|
this.grep(options.grep)
|
|
1504
1508
|
.fgrep(options.fgrep)
|
|
1505
1509
|
.ui(options.ui)
|
|
@@ -1934,7 +1938,7 @@ Mocha.prototype._growl = growl.notify;
|
|
|
1934
1938
|
* Specifies whitelist of variable names to be expected in global scope.
|
|
1935
1939
|
*
|
|
1936
1940
|
* @public
|
|
1937
|
-
* @see {@link https://mochajs.org
|
|
1941
|
+
* @see {@link https://mochajs.org/#-global-variable-name|CLI option}
|
|
1938
1942
|
* @see {@link Mocha#checkLeaks}
|
|
1939
1943
|
* @param {String[]|String} globals - Accepted global variable name(s).
|
|
1940
1944
|
* @return {Mocha} this
|
|
@@ -1945,9 +1949,12 @@ Mocha.prototype._growl = growl.notify;
|
|
|
1945
1949
|
* mocha.globals(['jQuery', 'MyLib']);
|
|
1946
1950
|
*/
|
|
1947
1951
|
Mocha.prototype.globals = function(globals) {
|
|
1948
|
-
this.options.globals =
|
|
1952
|
+
this.options.globals = this.options.globals
|
|
1949
1953
|
.concat(globals)
|
|
1950
|
-
.filter(Boolean)
|
|
1954
|
+
.filter(Boolean)
|
|
1955
|
+
.filter(function(elt, idx, arr) {
|
|
1956
|
+
return arr.indexOf(elt) === idx;
|
|
1957
|
+
});
|
|
1951
1958
|
return this;
|
|
1952
1959
|
};
|
|
1953
1960
|
|
|
@@ -2294,6 +2301,11 @@ exports = module.exports = Base;
|
|
|
2294
2301
|
|
|
2295
2302
|
var isatty = tty.isatty(1) && tty.isatty(2);
|
|
2296
2303
|
|
|
2304
|
+
/**
|
|
2305
|
+
* Save log references to avoid tests interfering (see GH-3604).
|
|
2306
|
+
*/
|
|
2307
|
+
var consoleLog = console.log;
|
|
2308
|
+
|
|
2297
2309
|
/**
|
|
2298
2310
|
* Enable coloring by default, except in the browser interface.
|
|
2299
2311
|
*/
|
|
@@ -2459,7 +2471,7 @@ var generateDiff = (exports.generateDiff = function(actual, expected) {
|
|
|
2459
2471
|
* Error property
|
|
2460
2472
|
*/
|
|
2461
2473
|
exports.list = function(failures) {
|
|
2462
|
-
|
|
2474
|
+
Base.consoleLog();
|
|
2463
2475
|
failures.forEach(function(test, i) {
|
|
2464
2476
|
// format
|
|
2465
2477
|
var fmt =
|
|
@@ -2520,7 +2532,7 @@ exports.list = function(failures) {
|
|
|
2520
2532
|
testTitle += str;
|
|
2521
2533
|
});
|
|
2522
2534
|
|
|
2523
|
-
|
|
2535
|
+
Base.consoleLog(fmt, i + 1, testTitle, msg, stack);
|
|
2524
2536
|
});
|
|
2525
2537
|
};
|
|
2526
2538
|
|
|
@@ -2575,7 +2587,7 @@ Base.prototype.epilogue = function() {
|
|
|
2575
2587
|
var stats = this.stats;
|
|
2576
2588
|
var fmt;
|
|
2577
2589
|
|
|
2578
|
-
|
|
2590
|
+
Base.consoleLog();
|
|
2579
2591
|
|
|
2580
2592
|
// passes
|
|
2581
2593
|
fmt =
|
|
@@ -2583,26 +2595,26 @@ Base.prototype.epilogue = function() {
|
|
|
2583
2595
|
color('green', ' %d passing') +
|
|
2584
2596
|
color('light', ' (%s)');
|
|
2585
2597
|
|
|
2586
|
-
|
|
2598
|
+
Base.consoleLog(fmt, stats.passes || 0, milliseconds(stats.duration));
|
|
2587
2599
|
|
|
2588
2600
|
// pending
|
|
2589
2601
|
if (stats.pending) {
|
|
2590
2602
|
fmt = color('pending', ' ') + color('pending', ' %d pending');
|
|
2591
2603
|
|
|
2592
|
-
|
|
2604
|
+
Base.consoleLog(fmt, stats.pending);
|
|
2593
2605
|
}
|
|
2594
2606
|
|
|
2595
2607
|
// failures
|
|
2596
2608
|
if (stats.failures) {
|
|
2597
2609
|
fmt = color('fail', ' %d failing');
|
|
2598
2610
|
|
|
2599
|
-
|
|
2611
|
+
Base.consoleLog(fmt, stats.failures);
|
|
2600
2612
|
|
|
2601
2613
|
Base.list(this.failures);
|
|
2602
|
-
|
|
2614
|
+
Base.consoleLog();
|
|
2603
2615
|
}
|
|
2604
2616
|
|
|
2605
|
-
|
|
2617
|
+
Base.consoleLog();
|
|
2606
2618
|
};
|
|
2607
2619
|
|
|
2608
2620
|
/**
|
|
@@ -2755,6 +2767,8 @@ function sameType(a, b) {
|
|
|
2755
2767
|
return objToString.call(a) === objToString.call(b);
|
|
2756
2768
|
}
|
|
2757
2769
|
|
|
2770
|
+
Base.consoleLog = consoleLog;
|
|
2771
|
+
|
|
2758
2772
|
Base.abstract = true;
|
|
2759
2773
|
|
|
2760
2774
|
}).call(this,require('_process'))
|
|
@@ -2805,41 +2819,45 @@ function Doc(runner, options) {
|
|
|
2805
2819
|
return;
|
|
2806
2820
|
}
|
|
2807
2821
|
++indents;
|
|
2808
|
-
|
|
2822
|
+
Base.consoleLog('%s<section class="suite">', indent());
|
|
2809
2823
|
++indents;
|
|
2810
|
-
|
|
2811
|
-
|
|
2824
|
+
Base.consoleLog('%s<h1>%s</h1>', indent(), utils.escape(suite.title));
|
|
2825
|
+
Base.consoleLog('%s<dl>', indent());
|
|
2812
2826
|
});
|
|
2813
2827
|
|
|
2814
2828
|
runner.on(EVENT_SUITE_END, function(suite) {
|
|
2815
2829
|
if (suite.root) {
|
|
2816
2830
|
return;
|
|
2817
2831
|
}
|
|
2818
|
-
|
|
2832
|
+
Base.consoleLog('%s</dl>', indent());
|
|
2819
2833
|
--indents;
|
|
2820
|
-
|
|
2834
|
+
Base.consoleLog('%s</section>', indent());
|
|
2821
2835
|
--indents;
|
|
2822
2836
|
});
|
|
2823
2837
|
|
|
2824
2838
|
runner.on(EVENT_TEST_PASS, function(test) {
|
|
2825
|
-
|
|
2839
|
+
Base.consoleLog('%s <dt>%s</dt>', indent(), utils.escape(test.title));
|
|
2826
2840
|
var code = utils.escape(utils.clean(test.body));
|
|
2827
|
-
|
|
2841
|
+
Base.consoleLog('%s <dd><pre><code>%s</code></pre></dd>', indent(), code);
|
|
2828
2842
|
});
|
|
2829
2843
|
|
|
2830
2844
|
runner.on(EVENT_TEST_FAIL, function(test, err) {
|
|
2831
|
-
|
|
2845
|
+
Base.consoleLog(
|
|
2832
2846
|
'%s <dt class="error">%s</dt>',
|
|
2833
2847
|
indent(),
|
|
2834
2848
|
utils.escape(test.title)
|
|
2835
2849
|
);
|
|
2836
2850
|
var code = utils.escape(utils.clean(test.body));
|
|
2837
|
-
|
|
2851
|
+
Base.consoleLog(
|
|
2838
2852
|
'%s <dd class="error"><pre><code>%s</code></pre></dd>',
|
|
2839
2853
|
indent(),
|
|
2840
2854
|
code
|
|
2841
2855
|
);
|
|
2842
|
-
|
|
2856
|
+
Base.consoleLog(
|
|
2857
|
+
'%s <dd class="error">%s</dd>',
|
|
2858
|
+
indent(),
|
|
2859
|
+
utils.escape(err)
|
|
2860
|
+
);
|
|
2843
2861
|
});
|
|
2844
2862
|
}
|
|
2845
2863
|
|
|
@@ -2917,7 +2935,7 @@ function Dot(runner, options) {
|
|
|
2917
2935
|
});
|
|
2918
2936
|
|
|
2919
2937
|
runner.once(EVENT_RUN_END, function() {
|
|
2920
|
-
|
|
2938
|
+
process.stdout.write('\n');
|
|
2921
2939
|
self.epilogue();
|
|
2922
2940
|
});
|
|
2923
2941
|
}
|
|
@@ -3677,7 +3695,7 @@ function Landing(runner, options) {
|
|
|
3677
3695
|
|
|
3678
3696
|
runner.once(EVENT_RUN_END, function() {
|
|
3679
3697
|
cursor.show();
|
|
3680
|
-
|
|
3698
|
+
process.stdout.write('\n');
|
|
3681
3699
|
self.epilogue();
|
|
3682
3700
|
});
|
|
3683
3701
|
}
|
|
@@ -3735,7 +3753,7 @@ function List(runner, options) {
|
|
|
3735
3753
|
var n = 0;
|
|
3736
3754
|
|
|
3737
3755
|
runner.on(EVENT_RUN_BEGIN, function() {
|
|
3738
|
-
|
|
3756
|
+
Base.consoleLog();
|
|
3739
3757
|
});
|
|
3740
3758
|
|
|
3741
3759
|
runner.on(EVENT_TEST_BEGIN, function(test) {
|
|
@@ -3744,7 +3762,7 @@ function List(runner, options) {
|
|
|
3744
3762
|
|
|
3745
3763
|
runner.on(EVENT_TEST_PENDING, function(test) {
|
|
3746
3764
|
var fmt = color('checkmark', ' -') + color('pending', ' %s');
|
|
3747
|
-
|
|
3765
|
+
Base.consoleLog(fmt, test.fullTitle());
|
|
3748
3766
|
});
|
|
3749
3767
|
|
|
3750
3768
|
runner.on(EVENT_TEST_PASS, function(test) {
|
|
@@ -3753,12 +3771,12 @@ function List(runner, options) {
|
|
|
3753
3771
|
color('pass', ' %s: ') +
|
|
3754
3772
|
color(test.speed, '%dms');
|
|
3755
3773
|
cursor.CR();
|
|
3756
|
-
|
|
3774
|
+
Base.consoleLog(fmt, test.fullTitle(), test.duration);
|
|
3757
3775
|
});
|
|
3758
3776
|
|
|
3759
3777
|
runner.on(EVENT_TEST_FAIL, function(test) {
|
|
3760
3778
|
cursor.CR();
|
|
3761
|
-
|
|
3779
|
+
Base.consoleLog(color('fail', ' %d) %s'), ++n, test.fullTitle());
|
|
3762
3780
|
});
|
|
3763
3781
|
|
|
3764
3782
|
runner.once(EVENT_RUN_END, self.epilogue.bind(self));
|
|
@@ -4286,7 +4304,7 @@ function Progress(runner, options) {
|
|
|
4286
4304
|
|
|
4287
4305
|
// tests started
|
|
4288
4306
|
runner.on(EVENT_RUN_BEGIN, function() {
|
|
4289
|
-
|
|
4307
|
+
process.stdout.write('\n');
|
|
4290
4308
|
cursor.hide();
|
|
4291
4309
|
});
|
|
4292
4310
|
|
|
@@ -4319,7 +4337,7 @@ function Progress(runner, options) {
|
|
|
4319
4337
|
// and the failures if any
|
|
4320
4338
|
runner.once(EVENT_RUN_END, function() {
|
|
4321
4339
|
cursor.show();
|
|
4322
|
-
|
|
4340
|
+
process.stdout.write('\n');
|
|
4323
4341
|
self.epilogue();
|
|
4324
4342
|
});
|
|
4325
4343
|
}
|
|
@@ -4381,24 +4399,24 @@ function Spec(runner, options) {
|
|
|
4381
4399
|
}
|
|
4382
4400
|
|
|
4383
4401
|
runner.on(EVENT_RUN_BEGIN, function() {
|
|
4384
|
-
|
|
4402
|
+
Base.consoleLog();
|
|
4385
4403
|
});
|
|
4386
4404
|
|
|
4387
4405
|
runner.on(EVENT_SUITE_BEGIN, function(suite) {
|
|
4388
4406
|
++indents;
|
|
4389
|
-
|
|
4407
|
+
Base.consoleLog(color('suite', '%s%s'), indent(), suite.title);
|
|
4390
4408
|
});
|
|
4391
4409
|
|
|
4392
4410
|
runner.on(EVENT_SUITE_END, function() {
|
|
4393
4411
|
--indents;
|
|
4394
4412
|
if (indents === 1) {
|
|
4395
|
-
|
|
4413
|
+
Base.consoleLog();
|
|
4396
4414
|
}
|
|
4397
4415
|
});
|
|
4398
4416
|
|
|
4399
4417
|
runner.on(EVENT_TEST_PENDING, function(test) {
|
|
4400
4418
|
var fmt = indent() + color('pending', ' - %s');
|
|
4401
|
-
|
|
4419
|
+
Base.consoleLog(fmt, test.title);
|
|
4402
4420
|
});
|
|
4403
4421
|
|
|
4404
4422
|
runner.on(EVENT_TEST_PASS, function(test) {
|
|
@@ -4408,19 +4426,19 @@ function Spec(runner, options) {
|
|
|
4408
4426
|
indent() +
|
|
4409
4427
|
color('checkmark', ' ' + Base.symbols.ok) +
|
|
4410
4428
|
color('pass', ' %s');
|
|
4411
|
-
|
|
4429
|
+
Base.consoleLog(fmt, test.title);
|
|
4412
4430
|
} else {
|
|
4413
4431
|
fmt =
|
|
4414
4432
|
indent() +
|
|
4415
4433
|
color('checkmark', ' ' + Base.symbols.ok) +
|
|
4416
4434
|
color('pass', ' %s') +
|
|
4417
4435
|
color(test.speed, ' (%dms)');
|
|
4418
|
-
|
|
4436
|
+
Base.consoleLog(fmt, test.title, test.duration);
|
|
4419
4437
|
}
|
|
4420
4438
|
});
|
|
4421
4439
|
|
|
4422
4440
|
runner.on(EVENT_TEST_FAIL, function(test) {
|
|
4423
|
-
|
|
4441
|
+
Base.consoleLog(indent() + color('fail', ' %d) %s'), ++n, test.title);
|
|
4424
4442
|
});
|
|
4425
4443
|
|
|
4426
4444
|
runner.once(EVENT_RUN_END, self.epilogue.bind(self));
|
|
@@ -4877,7 +4895,7 @@ XUnit.prototype.write = function(line) {
|
|
|
4877
4895
|
} else if (typeof process === 'object' && process.stdout) {
|
|
4878
4896
|
process.stdout.write(line + '\n');
|
|
4879
4897
|
} else {
|
|
4880
|
-
|
|
4898
|
+
Base.consoleLog(line);
|
|
4881
4899
|
}
|
|
4882
4900
|
};
|
|
4883
4901
|
|
|
@@ -7854,32 +7872,41 @@ function isHiddenOnUnix(pathname) {
|
|
|
7854
7872
|
*
|
|
7855
7873
|
* @public
|
|
7856
7874
|
* @memberof Mocha.utils
|
|
7857
|
-
* @todo Fix extension handling
|
|
7858
7875
|
* @param {string} filepath - Base path to start searching from.
|
|
7859
|
-
* @param {string[]} extensions - File extensions to look for.
|
|
7860
|
-
* @param {boolean} recursive - Whether to recurse into subdirectories.
|
|
7876
|
+
* @param {string[]} [extensions=[]] - File extensions to look for.
|
|
7877
|
+
* @param {boolean} [recursive=false] - Whether to recurse into subdirectories.
|
|
7861
7878
|
* @return {string[]} An array of paths.
|
|
7862
7879
|
* @throws {Error} if no files match pattern.
|
|
7863
7880
|
* @throws {TypeError} if `filepath` is directory and `extensions` not provided.
|
|
7864
7881
|
*/
|
|
7865
7882
|
exports.lookupFiles = function lookupFiles(filepath, extensions, recursive) {
|
|
7883
|
+
extensions = extensions || [];
|
|
7884
|
+
recursive = recursive || false;
|
|
7866
7885
|
var files = [];
|
|
7867
7886
|
var stat;
|
|
7868
7887
|
|
|
7869
7888
|
if (!fs.existsSync(filepath)) {
|
|
7870
|
-
|
|
7871
|
-
|
|
7889
|
+
var pattern;
|
|
7890
|
+
if (glob.hasMagic(filepath)) {
|
|
7891
|
+
// Handle glob as is without extensions
|
|
7892
|
+
pattern = filepath;
|
|
7872
7893
|
} else {
|
|
7873
|
-
//
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7894
|
+
// glob pattern e.g. 'filepath+(.js|.ts)'
|
|
7895
|
+
var strExtensions = extensions
|
|
7896
|
+
.map(function(v) {
|
|
7897
|
+
return '.' + v;
|
|
7898
|
+
})
|
|
7899
|
+
.join('|');
|
|
7900
|
+
pattern = filepath + '+(' + strExtensions + ')';
|
|
7901
|
+
}
|
|
7902
|
+
files = glob.sync(pattern, {nodir: true});
|
|
7903
|
+
if (!files.length) {
|
|
7904
|
+
throw createNoFilesMatchPatternError(
|
|
7905
|
+
'Cannot find any files matching pattern ' + exports.dQuote(filepath),
|
|
7906
|
+
filepath
|
|
7907
|
+
);
|
|
7882
7908
|
}
|
|
7909
|
+
return files;
|
|
7883
7910
|
}
|
|
7884
7911
|
|
|
7885
7912
|
// Handle file
|
|
@@ -7910,7 +7937,7 @@ exports.lookupFiles = function lookupFiles(filepath, extensions, recursive) {
|
|
|
7910
7937
|
// ignore error
|
|
7911
7938
|
return;
|
|
7912
7939
|
}
|
|
7913
|
-
if (!extensions) {
|
|
7940
|
+
if (!extensions.length) {
|
|
7914
7941
|
throw createMissingArgumentError(
|
|
7915
7942
|
util.format(
|
|
7916
7943
|
'Argument %s required when argument %s is a directory',
|
|
@@ -8006,7 +8033,8 @@ exports.stackTraceFilter = function() {
|
|
|
8006
8033
|
function isMochaInternal(line) {
|
|
8007
8034
|
return (
|
|
8008
8035
|
~line.indexOf('node_modules' + slash + 'mocha' + slash) ||
|
|
8009
|
-
~line.indexOf(slash + 'mocha.js')
|
|
8036
|
+
~line.indexOf(slash + 'mocha.js') ||
|
|
8037
|
+
~line.indexOf(slash + 'mocha.min.js')
|
|
8010
8038
|
);
|
|
8011
8039
|
}
|
|
8012
8040
|
|
|
@@ -18069,7 +18097,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
18069
18097
|
},{"./support/isBuffer":88,"_process":69,"inherits":56}],90:[function(require,module,exports){
|
|
18070
18098
|
module.exports={
|
|
18071
18099
|
"name": "mocha",
|
|
18072
|
-
"version": "6.
|
|
18100
|
+
"version": "6.2.0",
|
|
18073
18101
|
"homepage": "https://mochajs.org/",
|
|
18074
18102
|
"notifyLogo": "https://ibin.co/4QuRuGjXvl36.png"
|
|
18075
18103
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mocha",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "simple, flexible, fun test framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mocha",
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
"Bjorn Stromberg <bjorn@bjornstar.com>",
|
|
79
79
|
"Brendan Nee <brendan.nee@gmail.com>",
|
|
80
80
|
"Brian Beck <exogen@gmail.com>",
|
|
81
|
+
"Brian Lagerman <49239617+brian-lagerman@users.noreply.github.com>",
|
|
81
82
|
"Brian Lalor <blalor@bravo5.org>",
|
|
82
83
|
"Brian M. Carlson <brian.m.carlson@gmail.com>",
|
|
83
84
|
"Brian Moore <guardbionic-github@yahoo.com>",
|
|
@@ -111,6 +112,7 @@
|
|
|
111
112
|
"Cory Thomas <cory.thomas@bazaarvoice.com>",
|
|
112
113
|
"Craig Taub <craigtaub@gmail.com>",
|
|
113
114
|
"Cube <maty21@gmail.com>",
|
|
115
|
+
"Daniel Ruf <827205+DanielRuf@users.noreply.github.com>",
|
|
114
116
|
"Daniel Ruf <daniel@daniel-ruf.de>",
|
|
115
117
|
"Daniel St. Jules <danielst.jules@gmail.com>",
|
|
116
118
|
"Daniel Stockman <daniel.stockman@gmail.com>",
|
|
@@ -163,6 +165,7 @@
|
|
|
163
165
|
"Fredrik Enestad <fredrik@devloop.se>",
|
|
164
166
|
"Fredrik Lindin <fredriklindin@gmail.com>",
|
|
165
167
|
"Fumiaki MATSUSHIMA <mtsmfm@gmail.com>",
|
|
168
|
+
"Gabe Gorelick <gabegorelick@gmail.com>",
|
|
166
169
|
"Gabriel Silk <gabesilk@gmail.com>",
|
|
167
170
|
"Gareth Aye <gaye@mozilla.com>",
|
|
168
171
|
"Gareth Murphy <gareth.cpm@gmail.com>",
|
|
@@ -343,6 +346,7 @@
|
|
|
343
346
|
"P. Roebuck <plroebuck@users.noreply.github.com>",
|
|
344
347
|
"Panu Horsmalahti <panu.horsmalahti@iki.fi>",
|
|
345
348
|
"Parker Moore <parkrmoore@gmail.com>",
|
|
349
|
+
"Pascal <pascal@pascal.com>",
|
|
346
350
|
"Pat Finnigan <patrick.k.finnigan@gmail.com>",
|
|
347
351
|
"Paul Armstrong <paul@paularmstrongdesigns.com>",
|
|
348
352
|
"Paul Miller <paul@paulmillr.com>",
|
|
@@ -353,6 +357,7 @@
|
|
|
353
357
|
"Peter Rust <peter@cornerstonenw.com>",
|
|
354
358
|
"Phil Sung <psung@dnanexus.com>",
|
|
355
359
|
"Philip M. White <philip@mailworks.org>",
|
|
360
|
+
"Piotr Kuczynski <piotr.kuczynski@gmail.com>",
|
|
356
361
|
"PoppinL <poppinlp@gmail.com>",
|
|
357
362
|
"Poprádi Árpád <popradi.arpad11@gmail.com>",
|
|
358
363
|
"Prayag Verma <prayag.verma@gmail.com>",
|
|
@@ -414,6 +419,7 @@
|
|
|
414
419
|
"Sorin Iclanzan <sorin@iclanzan.com>",
|
|
415
420
|
"Standa Opichal <opichals@gmail.com>",
|
|
416
421
|
"startswithaj <jake.mc@icloud.com>",
|
|
422
|
+
"Stephen Hess <trescube@users.noreply.github.com>",
|
|
417
423
|
"Stephen Mathieson <smath23@gmail.com>",
|
|
418
424
|
"Steve Mason <stevem@brandwatch.com>",
|
|
419
425
|
"Stewart Taylor <stewart.taylor1@gmail.com>",
|
|
@@ -431,6 +437,7 @@
|
|
|
431
437
|
"Thedark1337 <thedark1337@thedark1337.com>",
|
|
432
438
|
"Thomas Broadley <buriedunderbooks@hotmail.com>",
|
|
433
439
|
"Thomas Grainger <tagrain@gmail.com>",
|
|
440
|
+
"Thomas Scholtes <thomas-scholtes@gmx.de>",
|
|
434
441
|
"Thomas Vantuycom <thomasvantuycom@protonmail.com>",
|
|
435
442
|
"Tim Ehat <timehat@gmail.com>",
|
|
436
443
|
"Tim Harshman <goteamtim+git@gmail.com>",
|
|
@@ -444,6 +451,7 @@
|
|
|
444
451
|
"Tom Coquereau <tom@thau.me>",
|
|
445
452
|
"Tom Hughes <tom@compton.nu>",
|
|
446
453
|
"Tomer Eskenazi <tomer.eskenazi@ironsrc.com>",
|
|
454
|
+
"toyjhlee <toyjhlee@gmail.com>",
|
|
447
455
|
"traleig1 <darkphoenix739@gmail.com>",
|
|
448
456
|
"Travis Jeffery <tj@travisjeffery.com>",
|
|
449
457
|
"tripu <t@tripu.info>",
|
|
@@ -529,11 +537,11 @@
|
|
|
529
537
|
"yargs-unparser": "1.5.0"
|
|
530
538
|
},
|
|
531
539
|
"devDependencies": {
|
|
532
|
-
"@11ty/eleventy": "^0.
|
|
533
|
-
"@mocha/contributors": "^1.0.
|
|
534
|
-
"@mocha/docdash": "^2.1.
|
|
535
|
-
"assetgraph-builder": "^6.10.
|
|
536
|
-
"autoprefixer": "^9.
|
|
540
|
+
"@11ty/eleventy": "^0.8.3",
|
|
541
|
+
"@mocha/contributors": "^1.0.4",
|
|
542
|
+
"@mocha/docdash": "^2.1.1",
|
|
543
|
+
"assetgraph-builder": "^6.10.1",
|
|
544
|
+
"autoprefixer": "^9.6.0",
|
|
537
545
|
"browserify": "^16.2.3",
|
|
538
546
|
"browserify-package-json": "^1.0.1",
|
|
539
547
|
"chai": "^4.2.0",
|
|
@@ -541,48 +549,49 @@
|
|
|
541
549
|
"coveralls": "^3.0.3",
|
|
542
550
|
"cross-env": "^5.2.0",
|
|
543
551
|
"cross-spawn": "^6.0.5",
|
|
544
|
-
"eslint": "^5.
|
|
552
|
+
"eslint": "^5.16.0",
|
|
545
553
|
"eslint-config-prettier": "^3.6.0",
|
|
546
554
|
"eslint-config-semistandard": "^13.0.0",
|
|
547
555
|
"eslint-config-standard": "^12.0.0",
|
|
548
|
-
"eslint-plugin-import": "^2.
|
|
556
|
+
"eslint-plugin-import": "^2.17.3",
|
|
549
557
|
"eslint-plugin-node": "^8.0.1",
|
|
550
|
-
"eslint-plugin-prettier": "^3.0
|
|
551
|
-
"eslint-plugin-promise": "^4.
|
|
558
|
+
"eslint-plugin-prettier": "^3.1.0",
|
|
559
|
+
"eslint-plugin-promise": "^4.1.1",
|
|
552
560
|
"eslint-plugin-standard": "^4.0.0",
|
|
561
|
+
"fs-extra": "^8.0.1",
|
|
553
562
|
"husky": "^1.3.1",
|
|
554
|
-
"jsdoc": "^3.
|
|
555
|
-
"karma": "^4.0
|
|
563
|
+
"jsdoc": "^3.6.2",
|
|
564
|
+
"karma": "^4.1.0",
|
|
556
565
|
"karma-browserify": "^6.0.0",
|
|
557
566
|
"karma-chrome-launcher": "^2.2.0",
|
|
558
567
|
"karma-mocha": "^1.3.0",
|
|
559
568
|
"karma-mocha-reporter": "^2.2.5",
|
|
560
569
|
"karma-sauce-launcher": "^2.0.2",
|
|
561
|
-
"lint-staged": "^8.1.
|
|
570
|
+
"lint-staged": "^8.1.7",
|
|
562
571
|
"markdown-it": "^8.4.2",
|
|
563
|
-
"markdown-it-anchor": "^5.
|
|
564
|
-
"markdown-it-attrs": "^2.
|
|
565
|
-
"markdown-it-prism": "^2.0.
|
|
572
|
+
"markdown-it-anchor": "^5.2.4",
|
|
573
|
+
"markdown-it-attrs": "^2.4.1",
|
|
574
|
+
"markdown-it-prism": "^2.0.2",
|
|
566
575
|
"markdown-magic": "^0.1.25",
|
|
567
576
|
"markdown-magic-package-json": "^2.0.0",
|
|
568
577
|
"markdown-toc": "^1.2.0",
|
|
569
578
|
"markdownlint-cli": "^0.14.1",
|
|
570
|
-
"nps": "^5.9.
|
|
571
|
-
"nyc": "^
|
|
572
|
-
"prettier": "^1.
|
|
579
|
+
"nps": "^5.9.5",
|
|
580
|
+
"nyc": "^14.1.1",
|
|
581
|
+
"prettier": "^1.17.1",
|
|
573
582
|
"remark": "^10.0.1",
|
|
574
583
|
"remark-github": "^7.0.6",
|
|
575
584
|
"remark-inline-links": "^3.1.2",
|
|
576
|
-
"rewiremock": "^3.13.
|
|
585
|
+
"rewiremock": "^3.13.7",
|
|
577
586
|
"rimraf": "^2.6.3",
|
|
578
|
-
"sinon": "^7.2
|
|
579
|
-
"strip-ansi": "^5.
|
|
580
|
-
"svgo": "^1.2.
|
|
587
|
+
"sinon": "^7.3.2",
|
|
588
|
+
"strip-ansi": "^5.2.0",
|
|
589
|
+
"svgo": "^1.2.2",
|
|
581
590
|
"through2": "^3.0.1",
|
|
582
|
-
"to-vfile": "^5.0.
|
|
591
|
+
"to-vfile": "^5.0.3",
|
|
583
592
|
"unexpected": "^10.40.2",
|
|
584
593
|
"unexpected-eventemitter": "^1.1.3",
|
|
585
|
-
"unexpected-sinon": "^10.11.
|
|
594
|
+
"unexpected-sinon": "^10.11.2",
|
|
586
595
|
"uslug": "^1.0.4",
|
|
587
596
|
"watchify": "^3.11.1"
|
|
588
597
|
},
|