@types/binary-split 1.0.0 → 1.0.2

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
@@ -6,11 +6,27 @@ This package contains type definitions for binary-split (https://github.com/maxo
6
6
 
7
7
  # Details
8
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" />
12
+
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
+ ````
9
26
 
10
27
  ### Additional Details
11
- * Last updated: Tue, 23 Jun 2020 16:00:07 GMT
28
+ * Last updated: Tue, 17 Oct 2023 22:10:13 GMT
12
29
  * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
13
- * Global values: none
14
30
 
15
31
  # Credits
16
32
  These definitions were written by [Krisztián Balla](https://github.com/krisztianb).
binary-split/index.d.ts CHANGED
@@ -1,12 +1,6 @@
1
- // Type definitions for binary-split 1.0
2
- // Project: https://github.com/maxogden/binary-split#readme
3
- // Definitions by: Krisztián Balla <https://github.com/krisztianb>
4
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
- // Minimum TypeScript Version: 3.2
6
-
7
1
  /// <reference types="node" />
8
2
 
9
- import { Transform } from 'stream';
3
+ import { Transform } from "stream";
10
4
 
11
5
  export = BinarySplit;
12
6
 
binary-split/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@types/binary-split",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "TypeScript definitions for binary-split",
5
+ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/binary-split",
5
6
  "license": "MIT",
6
7
  "contributors": [
7
8
  {
8
9
  "name": "Krisztián Balla",
9
- "url": "https://github.com/krisztianb",
10
- "githubUsername": "krisztianb"
10
+ "githubUsername": "krisztianb",
11
+ "url": "https://github.com/krisztianb"
11
12
  }
12
13
  ],
13
14
  "main": "",
@@ -21,6 +22,6 @@
21
22
  "dependencies": {
22
23
  "@types/node": "*"
23
24
  },
24
- "typesPublisherContentHash": "aea1103ffbbd976324e8cf53a0b144156a144c3a861122efc59438fae336d9e5",
25
- "typeScriptVersion": "3.2"
25
+ "typesPublisherContentHash": "fdea8bea380bb8783666f21ed006b1f6091b5e4713a4deab029d882ea193f479",
26
+ "typeScriptVersion": "4.5"
26
27
  }