@types/istextorbinary
Advanced tools
@@ -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 |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
5796
0.09%