pull-level
Advanced tools
Comparing version 1.5.0 to 1.5.1
13
index.js
@@ -1,2 +0,6 @@ | ||
var pull = require('pull-stream') | ||
var pull = require('pull-stream/pull') | ||
var Map = require('pull-stream/throughs/map') | ||
var AsyncMap = require('pull-stream/throughs/async-map') | ||
var Drain = require('pull-stream/sinks/drain') | ||
var toPull = require('stream-to-pull-stream') | ||
@@ -62,3 +66,3 @@ var pushable = require('pull-pushable') | ||
return pull( | ||
pull.map(function (e) { | ||
Map(function (e) { | ||
if(e.type) return e | ||
@@ -72,6 +76,6 @@ return { | ||
pw.recent(opts.windowSize, opts.windowTime), | ||
pull.asyncMap(function (batch, cb) { | ||
AsyncMap(function (batch, cb) { | ||
db.batch(batch, cb) | ||
}), | ||
pull.drain(null, done) | ||
Drain(null, done) | ||
) | ||
@@ -81,1 +85,2 @@ } | ||
{ | ||
"name": "pull-level", | ||
"description": "pull-stream interface to levelup", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"homepage": "https://github.com/dominictarr/pull-level", | ||
@@ -14,3 +14,3 @@ "repository": { | ||
"pull-pushable": "^1.1.4", | ||
"pull-stream": "^3.2.3", | ||
"pull-stream": "^3.4.0", | ||
"pull-window": ">=2.1.2 <3", | ||
@@ -17,0 +17,0 @@ "stream-to-pull-stream": "^1.6.6" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15349
402
Updatedpull-stream@^3.4.0