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

Commit

Permalink
Replace async devDependency with async-each (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers authored May 27, 2019
1 parent a0f6ace commit 5678c16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"node-gyp-build": "~4.1.0"
},
"devDependencies": {
"async": "^2.0.1",
"async-each": "^1.0.3",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"delayed": "^1.0.1",
Expand Down
6 changes: 3 additions & 3 deletions test/compression-test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const async = require('async')
const each = require('async-each')
const du = require('du')
const delayed = require('delayed')
const testCommon = require('./common')
Expand Down Expand Up @@ -48,7 +48,7 @@ test('compression', function (t) {
var db = testCommon.factory()
db.open(function (err) {
t.error(err)
async.forEach(
each(
Array.apply(null, Array(multiples)).map(function (e, i) {
return [ i, compressableData ]
}), function (args, callback) {
Expand All @@ -62,7 +62,7 @@ test('compression', function (t) {
var db = testCommon.factory()
db.open({ compression: false }, function (err) {
t.error(err)
async.forEach(
each(
Array.apply(null, Array(multiples)).map(function (e, i) {
return [ i, compressableData ]
}), function (args, callback) {
Expand Down

0 comments on commit 5678c16

Please sign in to comment.