it-length-prefixed
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -0,1 +1,14 @@ | ||
## [5.0.3](https://github.com/alanshaw/it-length-prefixed/compare/v5.0.2...v5.0.3) (2021-07-07) | ||
### Bug Fixes | ||
* install esbuild before aegir stuff ([591e758](https://github.com/alanshaw/it-length-prefixed/commit/591e758600ff13703b93cdb49f00c307311bdc01)) | ||
* manually run esbuild install ([1f1332c](https://github.com/alanshaw/it-length-prefixed/commit/1f1332cd479ceb0204740536f23ad375d5c3eb27)) | ||
* not yet main here ([c9ac358](https://github.com/alanshaw/it-length-prefixed/commit/c9ac3581b9c69f47fbfbf1ffed98811e235583db)) | ||
* travis status badge ([75b6382](https://github.com/alanshaw/it-length-prefixed/commit/75b6382903eb65a25bbc3deb37dfb5160bad38ce)) | ||
* upgrade @types/bl ([#17](https://github.com/alanshaw/it-length-prefixed/issues/17)) ([859440d](https://github.com/alanshaw/it-length-prefixed/commit/859440d1bf023a8aa1668b803efae89768081ae0)) | ||
## [5.0.2](https://github.com/alanshaw/it-length-prefixed/compare/v5.0.1...v5.0.2) (2021-04-09) | ||
@@ -2,0 +15,0 @@ |
@@ -5,9 +5,10 @@ export = decode; | ||
*/ | ||
declare function decode(options?: any): (source: AsyncIterable<any>) => AsyncGenerator<any, void, unknown>; | ||
declare function decode(options?: any): (source: AsyncIterable<BufferList>) => AsyncGenerator<Buffer | BufferList, void, unknown>; | ||
declare namespace decode { | ||
export { fromReader, MAX_LENGTH_LENGTH, MAX_DATA_LENGTH }; | ||
} | ||
declare function fromReader(reader: any, options?: import("./types").DecoderOptions<any> | undefined): AsyncGenerator<any, void, unknown>; | ||
import BufferList = require("bl/BufferList"); | ||
declare function fromReader(reader: any, options?: import("./types").DecoderOptions<BufferList> | undefined): AsyncGenerator<Buffer | BufferList, void, unknown>; | ||
declare const MAX_LENGTH_LENGTH: 8; | ||
declare const MAX_DATA_LENGTH: number; | ||
//# sourceMappingURL=decode.d.ts.map |
@@ -6,7 +6,8 @@ /// <reference types="node" /> | ||
*/ | ||
declare function encode(options?: import("./types").EncoderOptions | undefined): (source: AsyncIterable<any>) => AsyncGenerator<any, void, unknown>; | ||
declare function encode(options?: import("./types").EncoderOptions | undefined): (source: AsyncIterable<BufferList>) => AsyncGenerator<BufferList, void, unknown>; | ||
declare namespace encode { | ||
export { single, MIN_POOL_SIZE, DEFAULT_POOL_SIZE }; | ||
} | ||
declare function single(chunk: any | Buffer, options?: import("./types").EncoderOptions | undefined): any; | ||
import BufferList = require("bl/BufferList"); | ||
declare function single(chunk: BufferList | Buffer, options?: import("./types").EncoderOptions | undefined): BufferList; | ||
declare const MIN_POOL_SIZE: 8; | ||
@@ -13,0 +14,0 @@ declare const DEFAULT_POOL_SIZE: number; |
{ | ||
"name": "it-length-prefixed", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "Streaming length prefixed buffers with async iterables", | ||
@@ -43,3 +43,3 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"@types/bl": "^4.1.0", | ||
"@types/bl": "^5.0.1", | ||
"aegir": "^33.0.0", | ||
@@ -53,4 +53,4 @@ "chai": "^4.2.0", | ||
"p-defer": "^3.0.0", | ||
"random-int": "^2.0.0", | ||
"streaming-iterables": "^5.0.2" | ||
"random-int": "^2.0.1", | ||
"streaming-iterables": "^6.0.0" | ||
}, | ||
@@ -57,0 +57,0 @@ "contributors": [ |
# it-length-prefixed | ||
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) | ||
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/) | ||
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) | ||
![Travis (.org)](https://img.shields.io/travis/alanshaw/it-length-prefixed.svg?style=flat-square) | ||
![Codecov](https://img.shields.io/codecov/c/gh/alanshaw/it-length-prefixed.svg?style=flat-square) | ||
[![Dependency Status](https://status.david-dm.org/gh/alanshaw/it-length-prefixed.svg?style=flat-square)](https://david-dm.org/alanshaw/it-length-prefixed) | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard) | ||
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg)](http://ipn.io) | ||
[![](https://img.shields.io/badge/project-IPFS-blue.svg)](http://ipfs.io/) | ||
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg)](http://webchat.freenode.net/?channels=%23ipfs) | ||
[![Build Status](https://github.com/alanshaw/it-length-prefixed/actions/workflows/main.yml/badge.svg)](https://github.com/alanshaw/it-length-prefixed/actions/workflows/main.yml) | ||
![Codecov](https://img.shields.io/codecov/c/gh/alanshaw/it-length-prefixed.svg) | ||
[![Dependency Status](https://status.david-dm.org/gh/alanshaw/it-length-prefixed.svg)](https://david-dm.org/alanshaw/it-length-prefixed) | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard) | ||
@@ -11,0 +11,0 @@ > Streaming length prefixed buffers with async iterators |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
366799
3767