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.4.1 to 3.4.2

4

lib/filesize.es6.js

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

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

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

// Partial application for functional programming
filesize.partial = (descriptor = {}) => arg => filesize(arg, descriptor);
filesize.partial = opt => arg => filesize(arg, opt);

@@ -128,0 +128,0 @@ // CommonJS, AMD, script tag

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

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

@@ -140,6 +140,5 @@ (function (global) {

// Partial application for functional programming
filesize.partial = function () {
var descriptor = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
filesize.partial = function (opt) {
return function (arg) {
return filesize(arg, descriptor);
return filesize(arg, opt);
};

@@ -146,0 +145,0 @@ };

{
"name": "filesize",
"description": "JavaScript library to generate a human readable String describing the file size",
"version": "3.4.1",
"version": "3.4.2",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc