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

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 10.1.5 to 10.1.6

4

dist/filesize.esm.js

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

* @license BSD-3-Clause
* @version 10.1.5
* @version 10.1.6
*/

@@ -173,3 +173,3 @@ const ARRAY = "array";

const i = result[0].toString(),
x = separator || (i.match(/(\D)/g)?.pop() ?? PERIOD),
x = separator || ((i.match(/(\D)/g) || []).pop() || PERIOD),
tmp = i.toString().split(x),

@@ -176,0 +176,0 @@ s = tmp[1] || EMPTY,

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

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

@@ -0,0 +0,0 @@ # filesize.js

@@ -0,0 +0,0 @@ interface FileSizeOptionsBase {

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