smart-buffer
Advanced tools
Comparing version 1.1.2 to 1.1.3
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
88586
0