fs-minipass
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -208,3 +208,3 @@ 'use strict' | ||
// truncating makes no sense when writing into the middle | ||
const defaultFlag = this[_pos] ? 'a' : 'w' | ||
const defaultFlag = this[_pos] !== null ? 'a' : 'w' | ||
this[_flags] = opt.flags === undefined ? defaultFlag : opt.flags | ||
@@ -279,3 +279,3 @@ | ||
else { | ||
if (this[_pos]) | ||
if (this[_pos] !== null) | ||
this[_pos] += bw | ||
@@ -282,0 +282,0 @@ if (this[_queue].length) |
{ | ||
"name": "fs-minipass", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
10793