Socket
Socket
Sign inDemoInstall

filesize

Package Overview
Dependencies
0
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.4.2 to 3.4.3

4

lib/filesize.es6.js

@@ -6,3 +6,3 @@ /**

* @license BSD-3-Clause
* @version 3.4.2
* @version 3.4.3
*/

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

if (val > ceil && e < 8) {
if (val >= ceil && e < 8) {
val = val / ceil;

@@ -84,0 +84,0 @@ e++;

@@ -8,3 +8,3 @@ "use strict";

* @license BSD-3-Clause
* @version 3.4.2
* @version 3.4.3
*/

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

if (val > ceil && e < 8) {
if (val >= ceil && e < 8) {
val = val / ceil;

@@ -99,0 +99,0 @@ e++;

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

@@ -6,0 +6,0 @@ "author": "Jason Mulligan <jason.mulligan@avoidwork.com>",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc