Socket
Socket
Sign inDemoInstall

ansi-gif

Package Overview
Dependencies
165
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.3.0

16

gif.js

@@ -55,4 +55,15 @@ var asynk = require('async');

if(!width) width = frame.width;
if(ob.options.blended && (ob.options.stipple || ob.options.lineart)){
ob.options.verb = 'posterized';
}
var defaultWidth = 80;
if(
process &&
process.stdout &&
process.stdout.columns
){
defaultWidth = process.stdout.columns;
}
var image = new Image({
width : ob.options.width || 80,
width : ob.options.width || defaultWidth,
alphabet : ob.options.alphabet || 'variant4',

@@ -62,3 +73,4 @@ background : ob.options.background,

stroke : ob.options.color,
stipple : ob.options.stipple,
stippled : ob.options.stipple && '#FFFFFF',
lineart : ob.options.stipple && '#000000',
blended : ob.options.blended,

@@ -65,0 +77,0 @@ loader : function(image, setAspectRatio, Canvas, Image){

6

package.json
{
"name": "ansi-gif",
"version": "0.2.0",
"version": "0.3.0",
"homepage": "https://github.com/khrome/ansi-gif",

@@ -35,4 +35,4 @@ "main": "gif.js",

"dependencies": {
"ascii-art-ansi": "^1.3.3",
"ascii-art-image": "^1.2.2",
"ascii-art-ansi": "^1.4.0",
"ascii-art-image": "^1.4.0",
"async": "^3.1.0",

@@ -39,0 +39,0 @@ "canvas": "^2.6.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc