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

animated-gif-detector

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animated-gif-detector - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

7

index.js
var Writable = require('stream').Writable
, inherits = require('inherits')
, types = require('typechecker')
// GIF CONSTANTS: http://www.matthewflickinger.com/lab/whatsinagif/bits_and_bytes.asp

@@ -45,3 +44,3 @@ , BLOCK_TERMINATOR = { value: new Buffer('00') }

this.buffer = Buffer.concat([this.buffer, chunk])
, animated = this.isAnimated(this.buffer)
var animated = this.isAnimated(this.buffer)
;

@@ -66,4 +65,4 @@

if (buffer) {
var valid = types.isString(buffer)
|| types.isNumber(buffer)
var valid = typeof buffer === 'string'
|| typeof buffer === 'number'
|| Buffer.isBuffer(buffer)

@@ -70,0 +69,0 @@ ;

{
"name": "animated-gif-detector",
"version": "1.1.6",
"version": "1.1.7",
"description": "Detect animated GIFs from JavaScript buffers.",

@@ -18,4 +18,3 @@ "main": "index.js",

"dependencies": {
"inherits": "^2.0.1",
"typechecker": "^4.0.0"
"inherits": "^2.0.1"
},

@@ -22,0 +21,0 @@ "repository": {

@@ -72,3 +72,4 @@ animated-gif-detector

Bradley Spaulding - [GitHub/bspaulding](https://github.com/bspaulding)
Vilson Vieira - [GitHub/automata](https://github.com/automata)
- Bradley Spaulding - [GitHub/bspaulding](https://github.com/bspaulding)
- Vilson Vieira - [GitHub/automata](https://github.com/automata)
- Andreas Lind - [GitHub/papandreou](https://github.com/papandreou)
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