New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@types/istextorbinary

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/istextorbinary - npm Package Compare versions

Comparing version
2.3.1
to
2.3.2
+6
-6
istextorbinary/index.d.ts

@@ -30,3 +30,3 @@ // Type definitions for istextorbinary 2.3

buffer: Buffer | undefined,
next: (err: null, result: boolean) => void
next: (err: null, result: boolean) => void,
): void;

@@ -36,3 +36,3 @@ export function isText(

buffer: Buffer,
next: (err: null, result: boolean) => void
next: (err: null, result: boolean) => void,
): void;

@@ -59,3 +59,3 @@

buffer: Buffer | undefined,
next: (err: null, result: boolean) => void
next: (err: null, result: boolean) => void,
): void;

@@ -65,3 +65,3 @@ export function isBinary(

buffer: Buffer,
next: (err: null, result: boolean) => void
next: (err: null, result: boolean) => void,
): void;

@@ -79,3 +79,3 @@

*/
export function getEncodingSync(buffer: Buffer, opts?: Options): 'utf8' | 'binary';
export function getEncodingSync(buffer: Buffer, opts?: Options): "utf8" | "binary";

@@ -92,3 +92,3 @@ /**

opts: Options | undefined,
next: (err: null, result: 'utf8' | 'binary') => void
next: (err: null, result: "utf8" | "binary") => void,
): void;

@@ -95,0 +95,0 @@

{
"name": "@types/istextorbinary",
"version": "2.3.1",
"version": "2.3.2",
"description": "TypeScript definitions for istextorbinary",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istextorbinary",

},
"typesPublisherContentHash": "1dc0616e4e8219837d9fdbbc1b6a133d53f91e986f6180f73c45de690663f647",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "d4ea610312d57052a1f184f05ce993fd1b816758ea08394eb7dff0eb2642b800",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 08 Jul 2021 14:23:21 GMT
* Last updated: Tue, 26 Sep 2023 14:36:22 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none