Skip to content

Commit

Permalink
perf: use neo-async instead of async (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic authored and evilebottnawi committed Dec 21, 2018
1 parent 5dbf449 commit d3a6664
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 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
Expand Up @@ -28,7 +28,7 @@
"webpack-defaults": "webpack-defaults"
},
"dependencies": {
"async": "^2.6.1",
"neo-async": "^2.6.0",
"loader-runner": "^2.3.1",
"loader-utils": "^1.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/WorkerPool.js
@@ -1,8 +1,8 @@
/* eslint-disable no-console */

import childProcess from 'child_process';
import asyncQueue from 'async/queue';
import asyncMapSeries from 'async/mapSeries';
import asyncQueue from 'neo-async/queue';
import asyncMapSeries from 'neo-async/mapSeries';
import readBuffer from './readBuffer';
import WorkerError from './WorkerError';

Expand Down
2 changes: 1 addition & 1 deletion src/worker.js
Expand Up @@ -3,7 +3,7 @@
import fs from 'fs';
import NativeModule from 'module';
import loaderRunner from 'loader-runner';
import asyncQueue from 'async/queue';
import asyncQueue from 'neo-async/queue';
import readBuffer from './readBuffer';

const writePipe = fs.createWriteStream(null, { fd: 3 });
Expand Down

0 comments on commit d3a6664

Please sign in to comment.