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.2.0 to 2.3.0

12

dist/index.common.js

@@ -8,2 +8,5 @@ 'use strict';

var ua = navigator.userAgent;
if (ua.search(/Mobi|Android/i) > -1) {
return false;
}
var opera = Boolean(window.opera) || ua.indexOf('Opera') > -1;

@@ -21,3 +24,3 @@ var firefox = ua.toLowerCase().indexOf('firefox') > -1;

Favicon.set = function (src, elems) {
if (!this.hasSupport) {
if (!hasSupport) {
return;

@@ -31,8 +34,9 @@ }

Favicon.reset = function () {
if (this.hasSupport) {
this.set(Favicon.originalSrc);
if (!hasSupport) {
return;
}
this.set(Favicon.originalSrc);
};
Favicon.searchIcons = function () {
if (typeof window === 'undefined') {
if (!hasSupport) {
return [];

@@ -39,0 +43,0 @@ }

@@ -6,2 +6,5 @@ function hasSupport$1() {

var ua = navigator.userAgent;
if (ua.search(/Mobi|Android/i) > -1) {
return false;
}
var opera = Boolean(window.opera) || ua.indexOf('Opera') > -1;

@@ -19,3 +22,3 @@ var firefox = ua.toLowerCase().indexOf('firefox') > -1;

Favicon.set = function (src, elems) {
if (!this.hasSupport) {
if (!hasSupport) {
return;

@@ -29,8 +32,9 @@ }

Favicon.reset = function () {
if (this.hasSupport) {
this.set(Favicon.originalSrc);
if (!hasSupport) {
return;
}
this.set(Favicon.originalSrc);
};
Favicon.searchIcons = function () {
if (typeof window === 'undefined') {
if (!hasSupport) {
return [];

@@ -37,0 +41,0 @@ }

@@ -9,2 +9,5 @@ var FaviconVideo = (function () {

var ua = navigator.userAgent;
if (ua.search(/Mobi|Android/i) > -1) {
return false;
}
var opera = Boolean(window.opera) || ua.indexOf('Opera') > -1;

@@ -22,3 +25,3 @@ var firefox = ua.toLowerCase().indexOf('firefox') > -1;

Favicon.set = function (src, elems) {
if (!this.hasSupport) {
if (!hasSupport) {
return;

@@ -32,8 +35,9 @@ }

Favicon.reset = function () {
if (this.hasSupport) {
this.set(Favicon.originalSrc);
if (!hasSupport) {
return;
}
this.set(Favicon.originalSrc);
};
Favicon.searchIcons = function () {
if (typeof window === 'undefined') {
if (!hasSupport) {
return [];

@@ -40,0 +44,0 @@ }

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

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

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