fs-blob-storage
Advanced tools
Comparing version 0.2.0 to 0.2.1
# Changelog | ||
## v0.2.1 2018-05-13 | ||
* Bugfix: write to .part file if `part` option is set. | ||
## v0.2.0 2018-05-10 | ||
@@ -4,0 +8,0 @@ |
@@ -79,3 +79,3 @@ const fs = require('fs') | ||
}).then(() => { | ||
return fs.createWriteStream(filepath, { fd, encoding }) | ||
return fs.createWriteStream(filepath + part, { fd, encoding }) | ||
}) | ||
@@ -82,0 +82,0 @@ } |
{ | ||
"name": "fs-blob-storage", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Blob storage on filesystem with promises API", | ||
@@ -36,3 +36,3 @@ "main": "lib/fs-blob-storage.js", | ||
"chai-as-promised": "^7.1.1", | ||
"markdownlint-cli": "^0.8.1", | ||
"markdownlint-cli": "^0.8.2", | ||
"mock-fs": "^4.5.0", | ||
@@ -39,0 +39,0 @@ "promise-readable": "^3.1.5", |
@@ -82,3 +82,3 @@ 'use strict' | ||
const content = fs.readFileSync(realFilename, { encoding: 'utf8' }) | ||
content.should.deep.equal('new content here') | ||
content.should.equal('new content here') | ||
}) | ||
@@ -85,0 +85,0 @@ |
38150