@types/binary-split 1.0.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
binary-split/README.md CHANGED
@@ -1,32 +1,3 @@
1
- # Installation
2
- > `npm install --save @types/binary-split`
3
-
4
- # Summary
5
- This package contains type definitions for binary-split (https://github.com/maxogden/binary-split#readme).
6
-
7
- # Details
8
- Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/binary-split.
9
- ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/binary-split/index.d.ts)
10
- ````ts
11
- /// <reference types="node" />
1
+ This is a stub types definition for @types/binary-split (https://github.com/max-mapper/binary-split#readme).
12
2
 
13
- import { Transform } from "stream";
14
-
15
- export = BinarySplit;
16
-
17
- /**
18
- * Split streams of binary data.
19
- * @param splitOn The matcher for the splitting points in the stream. Default: os.EOL
20
- */
21
- declare function BinarySplit(
22
- splitOn?: string | Buffer | ArrayBuffer | SharedArrayBuffer | number[] | BigInt[] | Uint8Array | object,
23
- ): Transform;
24
-
25
- ````
26
-
27
- ### Additional Details
28
- * Last updated: Tue, 17 Oct 2023 22:10:13 GMT
29
- * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
30
-
31
- # Credits
32
- These definitions were written by [Krisztián Balla](https://github.com/krisztianb).
3
+ binary-split provides its own type definitions, so you don't need @types/binary-split installed!
binary-split/package.json CHANGED
@@ -1,27 +1,12 @@
1
1
  {
2
2
  "name": "@types/binary-split",
3
- "version": "1.0.2",
4
- "description": "TypeScript definitions for binary-split",
5
- "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/binary-split",
6
- "license": "MIT",
7
- "contributors": [
8
- {
9
- "name": "Krisztián Balla",
10
- "githubUsername": "krisztianb",
11
- "url": "https://github.com/krisztianb"
12
- }
13
- ],
3
+ "version": "2.0.0",
4
+ "description": "Stub TypeScript definitions entry for binary-split, which provides its own types definitions",
14
5
  "main": "",
15
- "types": "index.d.ts",
16
- "repository": {
17
- "type": "git",
18
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
19
- "directory": "types/binary-split"
20
- },
21
6
  "scripts": {},
7
+ "license": "MIT",
22
8
  "dependencies": {
23
- "@types/node": "*"
9
+ "binary-split": "*"
24
10
  },
25
- "typesPublisherContentHash": "fdea8bea380bb8783666f21ed006b1f6091b5e4713a4deab029d882ea193f479",
26
- "typeScriptVersion": "4.5"
11
+ "deprecated": "This is a stub types definition. binary-split provides its own type definitions, so you do not need this installed."
27
12
  }
binary-split/index.d.ts DELETED
@@ -1,13 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- import { Transform } from "stream";
4
-
5
- export = BinarySplit;
6
-
7
- /**
8
- * Split streams of binary data.
9
- * @param splitOn The matcher for the splitting points in the stream. Default: os.EOL
10
- */
11
- declare function BinarySplit(
12
- splitOn?: string | Buffer | ArrayBuffer | SharedArrayBuffer | number[] | BigInt[] | Uint8Array | object,
13
- ): Transform;