isbinaryfile
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -15,5 +15,5 @@ "use strict"; | ||
const util_1 = require("util"); | ||
const statAsync = util_1.promisify(fs.stat); | ||
const openAsync = util_1.promisify(fs.open); | ||
const closeAsync = util_1.promisify(fs.close); | ||
const statAsync = (0, util_1.promisify)(fs.stat); | ||
const openAsync = (0, util_1.promisify)(fs.open); | ||
const closeAsync = (0, util_1.promisify)(fs.close); | ||
const MAX_BYTES = 512; | ||
@@ -20,0 +20,0 @@ // A very basic non-exception raising reader. Read bytes and |
{ | ||
"name": "isbinaryfile", | ||
"description": "Detects if a file is binary in Node.js. Similar to Perl's -B.", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"keywords": [ | ||
@@ -22,13 +22,13 @@ "text", | ||
"@types/jest": "^23.3.14", | ||
"@types/node": "^10.17.59", | ||
"@types/node": "^10.17.60", | ||
"jest": "^26.5.5", | ||
"prettier": "^1.19.1", | ||
"release-it": "^14.13.1", | ||
"release-it": "^17.0.4", | ||
"ts-jest": "^26.5.5", | ||
"tslint": "^5.20.1", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^3.9.9" | ||
"typescript": "^4.9.4" | ||
}, | ||
"engines": { | ||
"node": ">= 14.0.0" | ||
"node": ">= 20.0.0" | ||
}, | ||
@@ -35,0 +35,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
12519