You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

bl-to-buffer

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bl-to-buffer - npm Package Compare versions

Comparing version
1.0.11
to
1.0.13
+23
-0
CHANGELOG.md

@@ -6,2 +6,25 @@ # Change Log

## [1.0.13](https://github.com/bluelovers/ws-ipfs/compare/bl-to-buffer@1.0.11...bl-to-buffer@1.0.13) (2021-07-29)
### 🔖 Miscellaneous
* . ([52c7076](https://github.com/bluelovers/ws-ipfs/commit/52c70765e0e1ca76e00e16cbcc289da34ee7db2a))
* . ([d898809](https://github.com/bluelovers/ws-ipfs/commit/d898809e28e25bbf305b5282a8d42c6d332c9f03))
## [1.0.12](https://github.com/bluelovers/ws-ipfs/compare/bl-to-buffer@1.0.11...bl-to-buffer@1.0.12) (2021-07-29)
### 🔖 Miscellaneous
* . ([d898809](https://github.com/bluelovers/ws-ipfs/commit/d898809e28e25bbf305b5282a8d42c6d332c9f03))
## [1.0.11](https://github.com/bluelovers/ws-ipfs/compare/bl-to-buffer@1.0.10...bl-to-buffer@1.0.11) (2021-07-11)

@@ -8,0 +31,0 @@

+1
-1
/// <reference types="node" />
import BufferListStream, { BufferList } from 'bl';
export declare function toBuffer(bl: BufferListStream | BufferList): Buffer;
export declare function toBuffer<T extends Uint8Array = Buffer>(bl: BufferListStream | BufferList): T;
export default toBuffer;

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAGA,SAAgB,QAAQ,CAAC,EAAiC;IAEzD,OAAO,EAAE,CAAC,KAAK,EAAE,CAAA;AAClB,CAAC;AAHD,4BAGC;AAED,kBAAe,QAAQ,CAAA","sourcesContent":["// @ts-ignore\nimport BufferListStream, { BufferList } from 'bl';\n\nexport function toBuffer(bl: BufferListStream | BufferList): Buffer\n{\n\treturn bl.slice()\n}\n\nexport default toBuffer\n"]}
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAGA,SAAgB,QAAQ,CAAgC,EAAiC;IAExF,OAAO,EAAE,CAAC,KAAK,EAAE,CAAA;AAClB,CAAC;AAHD,4BAGC;AAED,kBAAe,QAAQ,CAAA","sourcesContent":["// @ts-ignore\nimport BufferListStream, { BufferList } from 'bl';\n\nexport function toBuffer<T extends Uint8Array = Buffer>(bl: BufferListStream | BufferList): T\n{\n\treturn bl.slice()\n}\n\nexport default toBuffer\n"]}
{
"name": "bl-to-buffer",
"version": "1.0.11",
"version": "1.0.13",
"description": "",

@@ -33,3 +33,3 @@ "homepage": "https://github.com/bluelovers/ws-ipfs/tree/master/packages/bl-to-buffer#readme",

},
"gitHead": "c04e6e93f48c7711e58192e59329642d362f5ffb"
"gitHead": "a156d4cb6262ecec85baf9057d4015f048646c47"
}