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

bit-buffer

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bit-buffer - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

.github/workflows/ci.yml

2

bit-buffer.d.ts

@@ -9,2 +9,3 @@ declare module 'bit-buffer' {

readonly byteLength: number;
bigEndian: boolean;

@@ -57,2 +58,3 @@ getBits(offset: number, bits: number, signed?: boolean): number;

index: number;
bigEndian: boolean;

@@ -59,0 +61,0 @@ readBits(bits: number, signed?: boolean): number;

11

package.json
{
"name": "bit-buffer",
"version": "0.2.4",
"version": "0.2.5",
"description": "Bit-level reads and writes for ArrayBuffers",

@@ -11,3 +11,4 @@ "main": "bit-buffer.js",

"scripts": {
"test": "make test"
"test": "mocha --ui tdd",
"lint": "jshint bit-buffer.js"
},

@@ -32,6 +33,6 @@ "repository": {

"devDependencies": {
"@types/node": "^7.0.5",
"jshint": "^2.9.4",
"mocha": "^3.2.0"
"@types/node": "^14.14.22",
"jshint": "^2.12.0",
"mocha": "^8.2.1"
}
}
# BitBuffer
[![Build Status](https://travis-ci.org/inolen/bit-buffer.svg?branch=master)](https://travis-ci.org/inolen/bit-buffer)
![Node.js CI](https://github.com/inolen/bit-buffer/workflows/Node.js%20CI/badge.svg)

@@ -5,0 +5,0 @@ BitBuffer provides two objects, `BitView` and `BitStream`. `BitView` is a wrapper for ArrayBuffers, similar to JavaScript's [DataView](https://developer.mozilla.org/en-US/docs/JavaScript/Typed_arrays/DataView), but with support for bit-level reads and writes. `BitStream` is a wrapper for a `BitView` used to help maintain your current buffer position, as well as to provide higher-level read / write operations such as for ASCII strings.

@@ -556,3 +556,3 @@ var assert = require('assert'),

assert.deepEqual(u8, [0x01, 0x02]);
assert.deepEqual(u8, new Uint8Array([0x01, 0x02]));
});

@@ -566,3 +566,3 @@

assert.deepEqual(u8, [0x01, 0x02]);
assert.deepEqual(u8, new Uint8Array([0x01, 0x02]));
});

@@ -575,3 +575,3 @@

assert.deepEqual(u8, [0x01, 0x02]);
assert.deepEqual(u8, new Uint8Array([0x01, 0x02]));
});

@@ -584,3 +584,3 @@

assert.deepEqual(u8, [0x01, 0x02]);
assert.deepEqual(u8, new Uint8Array([0x01, 0x02]));
});

@@ -598,3 +598,3 @@

assert.deepEqual(u8, [0x01, 0x02]);
assert.deepEqual(u8, new Uint8Array([0x01, 0x02]));
});

@@ -610,3 +610,3 @@

assert.deepEqual(u8, [0x01, 0x02]);
assert.deepEqual(u8, new Uint8Array([0x01, 0x02]));
});

@@ -622,3 +622,3 @@

assert.deepEqual(u8, [0x01, 0x02]);
assert.deepEqual(u8, new Uint8Array([0x01, 0x02]));
});

@@ -633,4 +633,4 @@

assert.deepEqual(u8, [0x01, 0x02]);
assert.deepEqual(u8, new Uint8Array([0x01, 0x02]));
});
});
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