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

bufrw

Package Overview
Dependencies
Maintainers
5
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bufrw - npm Package Compare versions

Comparing version 0.9.24 to 0.9.25

9

null.js

@@ -21,11 +21,6 @@ // Copyright (c) 2015 Uber Technologies, Inc.

var LengthResult = require('./base').LengthResult;
var WriteResult = require('./base').WriteResult;
var ReadResult = require('./base').ReadResult;
var BufferRW = require('./base').BufferRW;
var AtomRW = require('./atoms').AtomRW;
function nullByteLength() {
return new LengthResult(null, 0);
}
function nullWriteInto(val, buffer, offset) {

@@ -39,4 +34,4 @@ return new WriteResult(null, offset);

var NullRW = BufferRW(nullByteLength, nullReadFrom, nullWriteInto);
var NullRW = AtomRW(0, nullReadFrom, nullWriteInto);
module.exports = NullRW;
{
"name": "bufrw",
"version": "0.9.24",
"version": "0.9.25",
"description": "Buffer Reading and Writing",

@@ -21,3 +21,3 @@ "keywords": [],

"ansi-color": "^0.2.1",
"error": "^6.2.0",
"error": "^7.0.0",
"hexer": "^1.4.3",

@@ -24,0 +24,0 @@ "readable-stream": "1.0.33",

@@ -104,2 +104,3 @@ // Copyright (c) 2015 Uber Technologies, Inc.

assert.deepEqual(err, {
fullType: 'bufrw.zero-length-chunk',
type: 'bufrw.zero-length-chunk',

@@ -139,2 +140,3 @@ name: 'BufrwZeroLengthChunkError',

assert.deepEqual(err, {
fullType: 'bufrw.short-buffer',
type: 'bufrw.short-buffer',

@@ -160,2 +162,3 @@ name: 'BufrwShortBufferError',

assert.deepEqual(err, {
fullType: 'bufrw.truncated-read',
type: 'bufrw.truncated-read',

@@ -162,0 +165,0 @@ name: 'BufrwTruncatedReadError',

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