New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.1 to 2.1.2

14

dist/index.common.js

@@ -83,6 +83,9 @@ 'use strict';

links: options.links || undefined,
size: options.size,
size: options.size || Favicon.size,
};
}
FaviconVideo.prototype.start = function (video) {
if (!Favicon.hasSupport) {
return;
}
this.unbindEvents();

@@ -97,2 +100,5 @@ this.video = video;

FaviconVideo.prototype.stop = function () {
if (!Favicon.hasSupport) {
return;
}
this.unbindEvents();

@@ -109,5 +115,11 @@ };

FaviconVideo.prototype.reset = function () {
if (!Favicon.hasSupport) {
return;
}
Favicon.reset();
};
FaviconVideo.prototype.destroy = function () {
if (!Favicon.hasSupport) {
return;
}
this.unbindEvents();

@@ -114,0 +126,0 @@ this.video = undefined;

2

dist/index.d.ts

@@ -10,3 +10,3 @@ import { FaviconVideoOptions } from './types';

private context?;
private video;
private video?;
constructor(options?: FaviconVideoOptions);

@@ -13,0 +13,0 @@ start(video: HTMLVideoElement): void;

@@ -81,6 +81,9 @@ function hasSupport$1() {

links: options.links || undefined,
size: options.size,
size: options.size || Favicon.size,
};
}
FaviconVideo.prototype.start = function (video) {
if (!Favicon.hasSupport) {
return;
}
this.unbindEvents();

@@ -95,2 +98,5 @@ this.video = video;

FaviconVideo.prototype.stop = function () {
if (!Favicon.hasSupport) {
return;
}
this.unbindEvents();

@@ -107,5 +113,11 @@ };

FaviconVideo.prototype.reset = function () {
if (!Favicon.hasSupport) {
return;
}
Favicon.reset();
};
FaviconVideo.prototype.destroy = function () {
if (!Favicon.hasSupport) {
return;
}
this.unbindEvents();

@@ -112,0 +124,0 @@ this.video = undefined;

@@ -84,6 +84,9 @@ var FaviconVideo = (function () {

links: options.links || undefined,
size: options.size,
size: options.size || Favicon.size,
};
}
FaviconVideo.prototype.start = function (video) {
if (!Favicon.hasSupport) {
return;
}
this.unbindEvents();

@@ -98,2 +101,5 @@ this.video = video;

FaviconVideo.prototype.stop = function () {
if (!Favicon.hasSupport) {
return;
}
this.unbindEvents();

@@ -110,5 +116,11 @@ };

FaviconVideo.prototype.reset = function () {
if (!Favicon.hasSupport) {
return;
}
Favicon.reset();
};
FaviconVideo.prototype.destroy = function () {
if (!Favicon.hasSupport) {
return;
}
this.unbindEvents();

@@ -115,0 +127,0 @@ this.video = undefined;

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

@@ -5,0 +5,0 @@ "main": "dist/index.common.js",

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