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

@wizpanda/super-gif

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wizpanda/super-gif - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

dist/super-gif.d.ts

@@ -68,4 +68,4 @@ export declare class SuperGif {

moveTo(idx: any): void;
private loadURL;
loadURL(src: string, callback: any): void;
load(callback: any): void;
}

@@ -53,5 +53,2 @@ "use strict";

}
if (this.options.viewPortWidth && this.options.viewPortHeight) {
this.options.is_vp = true;
}
this.onEndListener = opts.onEnd;

@@ -76,3 +73,2 @@ this.loopDelay = opts.loopDelay || 0;

};
;
SuperGif.prototype.loadSetup = function (callback) {

@@ -94,3 +90,2 @@ if (this.loading) {

};
;
SuperGif.prototype.completeLoop = function () {

@@ -109,3 +104,2 @@ if (this.onEndListener) {

};
;
SuperGif.prototype.doStep = function () {

@@ -131,3 +125,2 @@ this.stepping = this.playing;

};
;
SuperGif.prototype.step = function () {

@@ -152,3 +145,2 @@ if (!this.stepping) {

};
;
SuperGif.prototype.playerInit = function () {

@@ -166,3 +158,2 @@ if (this.loadErrorCause)

};
;
SuperGif.prototype.clear = function () {

@@ -175,3 +166,2 @@ this.transparency = null;

};
;
// XXX: There's probably a better way to handle catching exceptions when

@@ -188,3 +178,2 @@ // callbacks are involved.

};
;
SuperGif.prototype.setSizes = function (width, height) {

@@ -199,3 +188,2 @@ this.canvas.width = width * this.getCanvasScale();

};
;
SuperGif.prototype.drawError = function () {

@@ -212,3 +200,2 @@ this.canvasContext.fillStyle = 'black';

};
;
SuperGif.prototype.doLoadError = function (originOfError) {

@@ -223,3 +210,2 @@ this.loadErrorCause = originOfError;

};
;
SuperGif.prototype.doHdr = function (_hdr) {

@@ -229,3 +215,2 @@ this.hdr = _hdr;

};
;
SuperGif.prototype.doGCE = function (gce) {

@@ -239,3 +224,2 @@ this.pushFrame();

};
;
SuperGif.prototype.pushFrame = function () {

@@ -251,3 +235,2 @@ if (!this.frame) {

};
;
SuperGif.prototype.doImg = function (img) {

@@ -310,6 +293,4 @@ var _this = this;

};
;
SuperGif.prototype.doNothing = function () {
};
;
SuperGif.prototype.withProgress = function (fn) {

@@ -316,0 +297,0 @@ return function (block) {

{
"name": "@wizpanda/super-gif",
"version": "0.0.1",
"version": "0.0.2",
"description": "GIF parser & player in Typescript to work with node_modules (converted from https://github.com/buzzfeed/libgif-js)",

@@ -5,0 +5,0 @@ "main": "dist/super-gif.js",

@@ -7,2 +7,12 @@ # Super GIF

## Installation
## Installation
```
npm i @wizpanda/super-gif
```
## Release
```
npm publish --access public
```

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