Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit 5678c16

Browse files
authored
Replace async devDependency with async-each (#116)
1 parent a0f6ace commit 5678c16

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"node-gyp-build": "~4.1.0"
2626
},
2727
"devDependencies": {
28-
"async": "^2.0.1",
28+
"async-each": "^1.0.3",
2929
"coveralls": "^3.0.2",
3030
"cross-env": "^5.2.0",
3131
"delayed": "^1.0.1",

test/compression-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const async = require('async')
1+
const each = require('async-each')
22
const du = require('du')
33
const delayed = require('delayed')
44
const testCommon = require('./common')
@@ -48,7 +48,7 @@ test('compression', function (t) {
4848
var db = testCommon.factory()
4949
db.open(function (err) {
5050
t.error(err)
51-
async.forEach(
51+
each(
5252
Array.apply(null, Array(multiples)).map(function (e, i) {
5353
return [ i, compressableData ]
5454
}), function (args, callback) {
@@ -62,7 +62,7 @@ test('compression', function (t) {
6262
var db = testCommon.factory()
6363
db.open({ compression: false }, function (err) {
6464
t.error(err)
65-
async.forEach(
65+
each(
6666
Array.apply(null, Array(multiples)).map(function (e, i) {
6767
return [ i, compressableData ]
6868
}), function (args, callback) {

0 commit comments

Comments
 (0)