pretty-file-icons
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -10,3 +10,3 @@ 'use strict'; | ||
return (typeof value === 'string') || | ||
(Object.prototype.toString.call(value) == '[object String]'); | ||
(Object.prototype.toString.call(value) === '[object String]'); | ||
} | ||
@@ -20,3 +20,3 @@ | ||
type = isString(type) ? type.toLowerCase() : ''; | ||
if (type.charAt(0) == '.') { | ||
if (type.charAt(0) === '.') { | ||
type = type.substr(1, type.length); | ||
@@ -23,0 +23,0 @@ } |
{ | ||
"": "unknown", | ||
"audio": "audio", | ||
"video": "video", | ||
"text": "text", | ||
"archive": "archive", | ||
@@ -41,5 +45,11 @@ ".jpg": "jpg", | ||
".avi": "avi", | ||
".mp2": "mp2", | ||
".mp3": "mp3", | ||
".mp4": "mp4", | ||
".fla": "fla", | ||
".mxf": "mxf", | ||
".wav": "wav", | ||
".wma": "wma", | ||
".aac": "aac", | ||
".flac": "flac", | ||
@@ -46,0 +56,0 @@ ".css": "css", |
{ | ||
"name": "pretty-file-icons", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"description": "Pretty colorful icons for files (in svg format).", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "xdg-open preview.html" | ||
"start": "xdg-open preview.html", | ||
"optimize": "svgo --config=./.svgo.yml --folder=./svg" | ||
}, | ||
@@ -35,3 +36,6 @@ "repository": { | ||
} | ||
] | ||
], | ||
"devDependencies": { | ||
"svgo": "^0.7.2" | ||
} | ||
} |
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
168424
50
83
1