level-blobs
Advanced tools
Comparing version 0.1.6 to 0.1.7
14
index.js
@@ -149,8 +149,10 @@ var Writable = require('readable-stream/writable'); | ||
var append = function(block, force, cb) { | ||
self.batch.push({ | ||
type: 'put', | ||
key: key, | ||
value: block, | ||
valueEncoding: ENCODER | ||
}); | ||
if (block.length) { | ||
self.batch.push({ | ||
type: 'put', | ||
key: key, | ||
value: block, | ||
valueEncoding: ENCODER | ||
}); | ||
} | ||
@@ -157,0 +159,0 @@ if (!force && self.batch.length < maxBatch) return cb(); |
{ | ||
"name": "level-blobs", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Save binary blobs in level and stream then back", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/mafintosh/level-blobs.git", |
@@ -8,3 +8,4 @@ # level-blobs | ||
[![build status](https://secure.travis-ci.org/mafintosh/level-blobs.png)](http://travis-ci.org/mafintosh/level-blobs) | ||
[![build status](http://img.shields.io/travis/mafintosh/level-filesystem.svg?style=flat)](http://travis-ci.org/mafintosh/level-blobs) | ||
![dat](http://img.shields.io/badge/Development%20sponsored%20by-dat-green.svg?style=flat) | ||
@@ -11,0 +12,0 @@ [![browser support](https://ci.testling.com/mafintosh/level-blobs.png)](https://ci.testling.com/mafintosh/level-blobs) |
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
17844
8
0
492
90