favorite-icon-video
Advanced tools
Comparing version 2.1.0 to 2.1.1
'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" | ||
} | ||
} |
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
16613
367