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

favorite-icon-video

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

favorite-icon-video - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

8

dist/index.common.js
'use strict';
function hasSupport() {
function hasSupport$1() {
if (typeof window === 'undefined') {

@@ -15,2 +15,3 @@ return false;

var PNG_MIME_TYPE = 'image/png';
var hasSupport = hasSupport$1();
var Favicon = /** @class */ (function () {

@@ -55,6 +56,7 @@ function Favicon() {

};
var _a;
Favicon.icons = Favicon.searchIcons();
Favicon.originalSrc = Favicon.icons[Favicon.icons.length - 1].href;
Favicon.originalSrc = hasSupport ? (_a = Favicon.icons[Favicon.icons.length - 1]) === null || _a === void 0 ? void 0 : _a.href : '';
Favicon.size = 32;
Favicon.hasSupport = hasSupport();
Favicon.hasSupport = hasSupport;
return Favicon;

@@ -61,0 +63,0 @@ }());

@@ -1,2 +0,2 @@

function hasSupport() {
function hasSupport$1() {
if (typeof window === 'undefined') {

@@ -13,2 +13,3 @@ return false;

var PNG_MIME_TYPE = 'image/png';
var hasSupport = hasSupport$1();
var Favicon = /** @class */ (function () {

@@ -53,6 +54,7 @@ function Favicon() {

};
var _a;
Favicon.icons = Favicon.searchIcons();
Favicon.originalSrc = Favicon.icons[Favicon.icons.length - 1].href;
Favicon.originalSrc = hasSupport ? (_a = Favicon.icons[Favicon.icons.length - 1]) === null || _a === void 0 ? void 0 : _a.href : '';
Favicon.size = 32;
Favicon.hasSupport = hasSupport();
Favicon.hasSupport = hasSupport;
return Favicon;

@@ -59,0 +61,0 @@ }());

var FaviconVideo = (function () {
'use strict';
function hasSupport() {
function hasSupport$1() {
if (typeof window === 'undefined') {

@@ -16,2 +16,3 @@ return false;

var PNG_MIME_TYPE = 'image/png';
var hasSupport = hasSupport$1();
var Favicon = /** @class */ (function () {

@@ -56,6 +57,7 @@ function Favicon() {

};
var _a;
Favicon.icons = Favicon.searchIcons();
Favicon.originalSrc = Favicon.icons[Favicon.icons.length - 1].href;
Favicon.originalSrc = hasSupport ? (_a = Favicon.icons[Favicon.icons.length - 1]) === null || _a === void 0 ? void 0 : _a.href : '';
Favicon.size = 32;
Favicon.hasSupport = hasSupport();
Favicon.hasSupport = hasSupport;
return Favicon;

@@ -62,0 +64,0 @@ }());

{
"name": "favorite-icon-video",
"version": "2.1.0",
"version": "2.1.1",
"description": "A small library for video manipulating in favicon",

@@ -33,4 +33,4 @@ "main": "dist/index.common.js",

"devDependencies": {
"favorite-icon": "^1.0.0"
"favorite-icon": "^1.0.1"
}
}
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