Socket
Socket
Sign inDemoInstall

smart-buffer

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smart-buffer - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

build/smartbuffer.js
"use strict";
// The default Buffer size if one is not provided.
const DEFAULT_SMARTBUFFER_SIZE = 4096;
// The default string encoding to use for reading/writing strings.
// The default string encoding to use for reading/writing strings.
const DEFAULT_SMARTBUFFER_ENCODING = 'utf8';

@@ -177,3 +177,3 @@ class SmartBuffer {

* @param func { Function(offset: number, offset?) => number} The function to write data on the internal Buffer with.
* @param byteSize { Number } The numer of bytes written.
* @param byteSize { Number } The number of bytes written.
* @param value { Number } The number value to write.

@@ -180,0 +180,0 @@ * @param offset { Number } the offset to write the number at.

{
"name": "smart-buffer",
"version": "1.1.2",
"version": "1.1.3",
"description": "A smarter Buffer that keeps track of its own read and write positions while growing endlessly.",

@@ -45,4 +45,4 @@ "main": "build/smartbuffer.js",

"fullcoverage": "node_modules/.bin/istanbul -include-all-sources cover node_modules/mocha/bin/_mocha recursive test",
"preinstall": "tsc -p ./"
"prepublish": "tsc -p ./"
}
}

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