Comparing version 3.1.3 to 3.1.4
@@ -9,3 +9,3 @@ /** | ||
* @module filesize | ||
* @version 3.1.3 | ||
* @version 3.1.4 | ||
*/ | ||
@@ -141,3 +141,3 @@ ( global ) => { | ||
} | ||
else if ( typeof define === "function" ) { | ||
else if ( typeof define === "function" && define.amd ) { | ||
define( () => { | ||
@@ -144,0 +144,0 @@ return filesize; |
@@ -1,3 +0,1 @@ | ||
"use strict"; | ||
/** | ||
@@ -11,4 +9,6 @@ * filesize | ||
* @module filesize | ||
* @version 3.1.3 | ||
* @version 3.1.4 | ||
*/ | ||
"use strict"; | ||
(function (global) { | ||
@@ -150,3 +150,3 @@ var bit = /b$/; | ||
module.exports = filesize; | ||
} else if (typeof define === "function") { | ||
} else if (typeof define === "function" && define.amd) { | ||
define(function () { | ||
@@ -153,0 +153,0 @@ return filesize; |
{ | ||
"name": "filesize", | ||
"description": "JavaScript library to generate a human readable String describing the file size", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"homepage": "http://filesizejs.com", | ||
@@ -6,0 +6,0 @@ "author": "Jason Mulligan <jason.mulligan@avoidwork.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42816