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

Replace async devDependency with async-each #116

Merged
merged 1 commit into from
May 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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