tar-stream
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -0,12 +1,14 @@ | ||
const constants = { // just for envs without fs | ||
S_IFMT: 61440, | ||
S_IFDIR: 16384, | ||
S_IFCHR: 8192, | ||
S_IFBLK: 24576, | ||
S_IFIFO: 4096, | ||
S_IFLNK: 40960 | ||
} | ||
try { | ||
module.exports = require('fs').constants | ||
module.exports = require('fs').constants || constants | ||
} catch { | ||
module.exports = { // just for envs without fs | ||
S_IFMT: 61440, | ||
S_IFDIR: 16384, | ||
S_IFCHR: 8192, | ||
S_IFBLK: 24576, | ||
S_IFIFO: 4096, | ||
S_IFLNK: 40960 | ||
} | ||
module.exports = constants | ||
} |
{ | ||
"name": "tar-stream", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "tar-stream is a streaming tar parser and generator and nothing else. It operates purely using streams which means you can easily extract/parse tarballs without ever hitting the file system.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
31620
822