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

pretty-bytes

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pretty-bytes - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

2

index.js

@@ -6,3 +6,3 @@ 'use strict';

if (!Number.isFinite(num)) {
throw new TypeError(`Expected a finite number, got ${typeof num}`);
throw new TypeError(`Expected a finite number, got ${typeof num}: ${num}`);
}

@@ -9,0 +9,0 @@

{
"name": "pretty-bytes",
"version": "4.0.1",
"version": "4.0.2",
"description": "Convert bytes to a human readable string: 1337 → 1.34 kB",

@@ -5,0 +5,0 @@ "license": "MIT",

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