Socket
Socket
Sign inDemoInstall

filesize

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filesize - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

4

lib/filesize.js

@@ -9,3 +9,3 @@ /**

* @module filesize
* @version 3.0.1
* @version 3.0.2
*/

@@ -67,3 +67,3 @@ ( function ( global ) {

if ( e === -1 || isNaN( e ) ) {
e = Math.floor( Math.log( num ) / Math.log( 1000 ) );
e = Math.floor( Math.log( num ) / Math.log( ceil ) );
}

@@ -70,0 +70,0 @@

{
"name": "filesize",
"description": "JavaScript library to generate a human readable String describing the file size",
"version": "3.0.1",
"version": "3.0.2",
"homepage": "http://filesizejs.com",

@@ -6,0 +6,0 @@ "author": {

Sorry, the diff of this file is not supported yet

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