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

pretty-file-icons

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pretty-file-icons - npm Package Compare versions

Comparing version 2.1.2 to 2.2.0

svg/aac.svg

4

index.js

@@ -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

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