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

bytebuf

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bytebuf - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

14

dist/bytebuf.d.ts

@@ -33,3 +33,3 @@ export { ByteBuf };

/**
* Gets the number of remaining bytes.
* The number of remaining bytes.
* @returns The number of bytes remaining.

@@ -48,2 +48,6 @@ */

/**
* Clears the byte buffer.
*/
clear(): void;
/**
* Gets a boolean.

@@ -585,7 +589,7 @@ * @param byteOffset The byte offset.

*/
byteLength: number;
readonly byteLength: number;
/**
* The value.
*/
value: number;
readonly value: number;
}

@@ -599,7 +603,7 @@ /**

*/
byteLength: number;
readonly byteLength: number;
/**
* The value.
*/
value: string;
readonly value: string;
}
{
"name": "bytebuf",
"version": "1.1.1",
"version": "1.2.0",
"author": "Ashcon Partovi <ashcon@partovi.net>",
"description": "A byte buffer for encoding and decoding binary data.",
"type": "module",
"module": "dist/bytebuf.mjs",

@@ -32,5 +33,24 @@ "types": "dist/bytebuf.d.ts",

"prepublish": "npm run build",
"test:deno": "npm run build && deno run bytebuf_test.mjs",
"test:node": "npm run build && node bytebuf_test.mjs"
"test": "ava"
},
"devDependencies": {
"ava": "^3.15.0",
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
},
"ava": {
"files": [
"*.test.ts"
],
"extensions": {
"ts": "module"
},
"nonSemVerExperiments": {
"configurableModuleFormat": true
},
"nodeArguments": [
"--no-warnings",
"--loader=ts-node/esm"
]
}
}
# bytebuf
![npm](https://img.shields.io/npm/v/bytebuf) ![David](https://img.shields.io/david/electroid/bytebuf)

@@ -3,0 +4,0 @@ A byte buffer for encoding and decoding binary data in JavaScript. Supports the major web browsers, NodeJS, Deno, and Cloudflare Workers.

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