Skip to content

Commit 2f062e1

Browse files
dfedermfkling
authored andcommittedMar 7, 2018
Perf: replace async with neo-async (#241)
1 parent d69f700 commit 2f062e1

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"author": "Felix Kling",
2727
"license": "BSD-3-Clause",
2828
"dependencies": {
29-
"async": "^1.5.0",
3029
"babel-plugin-transform-flow-strip-types": "^6.8.0",
3130
"babel-preset-es2015": "^6.9.0",
3231
"babel-preset-stage-1": "^6.5.0",
@@ -36,6 +35,7 @@
3635
"flow-parser": "^0.*",
3736
"lodash": "^4.13.1",
3837
"micromatch": "^2.3.7",
38+
"neo-async": "^2.5.0",
3939
"node-dir": "0.1.8",
4040
"nomnom": "^1.8.1",
4141
"recast": "^0.14.1",

‎src/Worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
const EventEmitter = require('events').EventEmitter;
1414

15-
const async = require('async');
15+
const async = require('neo-async');
1616
const fs = require('fs');
1717
const writeFileAtomic = require('write-file-atomic');
1818
const getParser = require('./getParser');

‎yarn.lock

+5-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ ast-types@0.11.1:
133133
version "0.11.1"
134134
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.1.tgz#5bb3a8d5ba292c3f4ae94d46df37afc30300b990"
135135

136-
async@^1.4.0, async@^1.5.0:
136+
async@^1.4.0:
137137
version "1.5.2"
138138
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
139139

@@ -2304,6 +2304,10 @@ natural-compare@^1.4.0:
23042304
version "1.4.0"
23052305
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
23062306

2307+
neo-async@^2.5.0:
2308+
version "2.5.0"
2309+
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.5.0.tgz#76b1c823130cca26acfbaccc8fbaf0a2fa33b18f"
2310+
23072311
node-dir@0.1.8:
23082312
version "0.1.8"
23092313
resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.8.tgz#55fb8deb699070707fb67f91a460f0448294c77d"

0 commit comments

Comments
 (0)
Please sign in to comment.