Skip to content

Commit

Permalink
replace promise.allsettled with @ungap/promise-all-settled; closes #4474
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Oct 14, 2020
1 parent f132448 commit 60e3662
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 86 deletions.
2 changes: 1 addition & 1 deletion lib/nodejs/parallel-buffered-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

'use strict';

const allSettled = require('promise.allsettled');
const allSettled = require('@ungap/promise-all-settled').bind(Promise);
const Runner = require('../runner');
const {EVENT_RUN_BEGIN, EVENT_RUN_END} = Runner.constants;
const debug = require('debug')('mocha:parallel:parallel-buffered-runner');
Expand Down
135 changes: 51 additions & 84 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"test:smoke": "node ./bin/mocha --no-config test/smoke/smoke.spec.js"
},
"dependencies": {
"@ungap/promise-all-settled": "^1.1.2",
"ansi-colors": "4.1.1",
"browser-stdout": "1.3.1",
"chokidar": "3.4.2",
Expand All @@ -67,7 +68,6 @@
"minimatch": "3.0.4",
"ms": "2.1.2",
"nanoid": "3.1.12",
"promise.allsettled": "1.0.2",
"serialize-javascript": "5.0.1",
"strip-json-comments": "3.1.1",
"supports-color": "7.2.0",
Expand Down

0 comments on commit 60e3662

Please sign in to comment.