@yarnpkg/fslib
Advanced tools
Comparing version 2.6.1-rc.11 to 2.6.1
@@ -295,7 +295,5 @@ "use strict"; | ||
throw errors.EBADF(`read`); | ||
let realPosition; | ||
if (position === -1 || position === null) | ||
realPosition = entry.cursor; | ||
else | ||
realPosition = position; | ||
const realPosition = position === -1 || position === null | ||
? entry.cursor | ||
: position; | ||
const source = this.readFileSync(entry.p); | ||
@@ -302,0 +300,0 @@ source.copy(buffer, offset, realPosition, realPosition + length); |
{ | ||
"name": "@yarnpkg/fslib", | ||
"version": "2.6.1-rc.11", | ||
"version": "2.6.1", | ||
"license": "BSD-2-Clause", | ||
@@ -8,3 +8,3 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@yarnpkg/libzip": "^2.2.3-rc.11", | ||
"@yarnpkg/libzip": "^2.2.3", | ||
"tslib": "^1.13.0" | ||
@@ -34,4 +34,3 @@ }, | ||
}, | ||
"stableVersion": "2.6.0", | ||
"typings": "./lib/index.d.ts" | ||
} |
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
248084
6346
Updated@yarnpkg/libzip@^2.2.3