Socket
Socket
Sign inDemoInstall

isbinaryfile

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isbinaryfile - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

6

lib/index.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc