Comparing version 0.3.2 to 0.3.3
/** | ||
* @module vow-fs | ||
* @author Filatov Dmitry <dfilatov@yandex-team.ru> | ||
* @version 0.3.2 | ||
* @version 0.3.3 | ||
* @license | ||
@@ -71,3 +71,3 @@ * Dual licensed under the MIT and GPL licenses: | ||
* @param {String} path | ||
* @param {String} [encoding=utf8] | ||
* @param {String} [encoding] | ||
* @returns {vow:Promise} | ||
@@ -81,3 +81,3 @@ */ | ||
* @param {String|Buffer} data | ||
* @param {String} [encoding=utf8] | ||
* @param {String} [encoding] | ||
* @returns {vow:Promise} | ||
@@ -91,3 +91,3 @@ */ | ||
* @param {String|Buffer} data | ||
* @param {String} [encoding=utf8] | ||
* @param {String} [encoding] | ||
* @returns {vow:Promise} | ||
@@ -362,3 +362,3 @@ */ | ||
if(typeof opts.openFileLimit !== 'undefined') { | ||
openFilesQueue.params({ weightLimit : opts.openFileLimit }); | ||
openFilesQueue.setParams({ weightLimit : opts.openFileLimit }); | ||
} | ||
@@ -365,0 +365,0 @@ } |
{ | ||
"name" : "vow-fs", | ||
"version" : "0.3.2", | ||
"version" : "0.3.3", | ||
"description" : "File I/O by Vow", | ||
@@ -19,3 +19,3 @@ "homepage" : "https://github.com/dfilatov/vow-fs", | ||
"vow" : "0.4.4", | ||
"vow-queue" : "0.3.1", | ||
"vow-queue" : "0.4.1", | ||
"glob" : "3.2.8" | ||
@@ -22,0 +22,0 @@ }, |
@@ -23,7 +23,7 @@ vow-fs [![NPM version](https://badge.fury.io/js/vow-fs.png)](http://badge.fury.io/js/vow-fs) [![Build Status](https://secure.travis-ci.org/dfilatov/vow-fs.png)](http://travis-ci.org/dfilatov/vow-fs) | ||
--- | ||
####read(path, [encoding=utf8])#### | ||
####read(path, [encoding])#### | ||
Returns a promise for the file's content at a given ````path````. | ||
####write(path, data, [encoding=utf8])#### | ||
####write(path, data, [encoding])#### | ||
Writes ````data```` to file at a given ````path````. Returns a promise for the completion of the operation. | ||
####append(path, data, [encoding=utf8])#### | ||
####append(path, data, [encoding])#### | ||
Appends````data```` to file's content at a given ````path````. Returns a promise for the completion of the operation. | ||
@@ -30,0 +30,0 @@ ####remove(path)#### |
28939
+ Addedvow-queue@0.4.1(transitive)
- Removedvow-queue@0.3.1(transitive)
Updatedvow-queue@0.4.1