Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hazae41/binary

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hazae41/binary - npm Package Compare versions

Comparing version 1.1.9 to 1.1.10

10

dist/types/mods/binary/binary.d.ts

@@ -22,3 +22,3 @@ declare class Binary<T extends ArrayBufferView = ArrayBufferView> {

*/
static alloc(length: number): Binary<Buffer>;
static alloc(length: number): Binary<Uint8Array>;
/**

@@ -29,4 +29,10 @@ * Create a new Binary using Buffer.allocUnsafe

*/
static allocUnsafe(length: number): Binary<Buffer>;
static allocUnsafe(length: number): Binary<Uint8Array>;
/**
* Create a new Binary with random bytes
* @param length
* @returns Binary
*/
static random(length: number): Binary<Uint8Array>;
/**
* @returns number of remaining bytes

@@ -33,0 +39,0 @@ */

2

package.json
{
"type": "module",
"name": "@hazae41/binary",
"version": "1.1.9",
"version": "1.1.10",
"description": "Zero-copy bytes reader and writer",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/hazae41/binary",

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc