Skip to content

Commit 6a92978

Browse files
authored
Merge pull request #78 from ipfs/perf/async/modular
use modular async
2 parents c1576a6 + d6b956f commit 6a92978

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"devDependencies": {
3232
"abstract-blob-store": "^3.2.0",
3333
"aegir": "^5.0.1",
34-
"async": "^1.5.2",
34+
"async": "^2.0.1",
3535
"buffer-loader": "^0.0.1",
3636
"chai": "^3.5.0",
3737
"fs-blob-store": "^5.2.1",

test/browser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
'use strict'
44

5-
const async = require('async')
5+
const eachSeries = require('async/eachSeries')
66
const store = require('idb-plus-blob-store')
77
const tests = require('./repo-test')
88
const _ = require('lodash')
@@ -32,7 +32,7 @@ describe('IPFS Repo Tests on the Browser', function () {
3232
const mainBlob = store('ipfs')
3333
const blocksBlob = store('ipfs/blocks')
3434

35-
async.eachSeries(repoData, (file, cb) => {
35+
eachSeries(repoData, (file, cb) => {
3636
if (_.startsWith(file.key, 'datastore/')) {
3737
return cb()
3838
}

0 commit comments

Comments
 (0)