Socket
Socket
Sign inDemoInstall

bytes

Package Overview
Dependencies
0
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.1 to 3.1.2

5

History.md

@@ -0,1 +1,6 @@

3.1.2 / 2022-01-27
==================
* Fix return value for un-parsable strings
3.1.1 / 2021-11-15

@@ -2,0 +7,0 @@ ==================

4

index.js

@@ -165,3 +165,7 @@ /*!

if (isNaN(floatValue)) {
return null;
}
return Math.floor(map[unit] * floatValue);
}

4

package.json
{
"name": "bytes",
"description": "Utility to parse a string bytes to bytes and vice-versa",
"version": "3.1.1",
"version": "3.1.2",
"author": "TJ Holowaychuk <tj@vision-media.ca> (http://tjholowaychuk.com)",

@@ -24,3 +24,3 @@ "contributors": [

"eslint-plugin-markdown": "2.2.1",
"mocha": "9.1.3",
"mocha": "9.2.0",
"nyc": "15.1.0"

@@ -27,0 +27,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc