Comparing version 5.0.1 to 5.0.2
@@ -16,2 +16,3 @@ // Get the appropriate flag to use for creating files | ||
const fMapFlag = UV_FS_O_FILEMAP | O_TRUNC | O_CREAT | O_WRONLY | ||
module.exports = size => (fMapEnabled && size < fMapLimit) ? fMapFlag : 'w' | ||
module.exports = !fMapEnabled ? () => 'w' | ||
: size => size < fMapLimit ? fMapFlag : 'w' |
@@ -5,3 +5,3 @@ { | ||
"description": "tar for node", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"repository": { | ||
@@ -21,7 +21,7 @@ "type": "git", | ||
"chownr": "^1.1.3", | ||
"fs-minipass": "^1.2.7", | ||
"minipass": "^2.9.0", | ||
"minizlib": "^1.2.2", | ||
"fs-minipass": "^2.0.0", | ||
"minipass": "^3.0.0", | ||
"minizlib": "^2.0.0", | ||
"mkdirp": "^0.5.0", | ||
"yallist": "^3.0.3" | ||
"yallist": "^4.0.0" | ||
}, | ||
@@ -34,3 +34,3 @@ "devDependencies": { | ||
"rimraf": "^2.7.1", | ||
"tap": "^14.6.5", | ||
"tap": "^14.6.9", | ||
"tar-fs": "^1.16.3", | ||
@@ -41,3 +41,3 @@ "tar-stream": "^1.6.2" | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">= 8" | ||
}, | ||
@@ -44,0 +44,0 @@ "files": [ |
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
146332
3221
+ Addedfs-minipass@2.1.0(transitive)
+ Addedminipass@3.3.6(transitive)
+ Addedminizlib@2.1.2(transitive)
+ Addedyallist@4.0.0(transitive)
- Removedfs-minipass@1.2.7(transitive)
- Removedminipass@2.9.0(transitive)
- Removedminizlib@1.3.3(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedyallist@3.1.1(transitive)
Updatedfs-minipass@^2.0.0
Updatedminipass@^3.0.0
Updatedminizlib@^2.0.0
Updatedyallist@^4.0.0