Skip to content

Commit ad64da7

Browse files
committed
perf: Switch from async to neo-async
1 parent afaf45b commit ad64da7

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

bin/react-docgen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ argv
5555

5656
argv.parse(process.argv);
5757

58-
const async = require('async');
58+
const async = require('neo-async');
5959
const dir = require('node-dir');
6060
const fs = require('fs');
6161
const parser = require('../dist/main');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
"@babel/core": "^7.7.5",
4545
"@babel/runtime": "^7.7.6",
4646
"ast-types": "^0.13.2",
47-
"async": "^2.1.4",
4847
"commander": "^2.19.0",
4948
"doctrine": "^3.0.0",
49+
"neo-async": "^2.6.1",
5050
"node-dir": "^0.1.10",
5151
"strip-indent": "^3.0.0"
5252
},

yarn.lock

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,13 +1091,6 @@ async-limiter@~1.0.0:
10911091
resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
10921092
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==
10931093

1094-
async@^2.1.4:
1095-
version "2.6.3"
1096-
resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff"
1097-
integrity sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==
1098-
dependencies:
1099-
lodash "^4.17.14"
1100-
11011094
asynckit@^0.4.0:
11021095
version "0.4.0"
11031096
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
@@ -3229,7 +3222,7 @@ natural-compare@^1.4.0:
32293222
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
32303223
integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=
32313224

3232-
neo-async@^2.6.0:
3225+
neo-async@^2.6.0, neo-async@^2.6.1:
32333226
version "2.6.1"
32343227
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
32353228
integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==

0 commit comments

Comments
 (0)