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

figlet

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

figlet - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

.npmignore

7

lib/node-figlet.js

@@ -7,3 +7,4 @@ /*

fs = require('fs'),
fontDir = __dirname + '/../fonts/';
path = require('path'),
fontDir = path.join(__dirname, '/../fonts/');

@@ -23,3 +24,3 @@ /*

fs.readFile(fontDir + name + '.flf', {encoding: 'utf-8'}, function(err, fontData) {
fs.readFile( path.join(fontDir, name + '.flf'), {encoding: 'utf-8'}, function(err, fontData) {
if (err) {

@@ -49,3 +50,3 @@ return next(err);

var fontData = fs.readFileSync(fontDir + name + '.flf', {encoding: 'utf-8'});
var fontData = fs.readFileSync( path.join(fontDir, name + '.flf'), {encoding: 'utf-8'});

@@ -52,0 +53,0 @@ fontData = fontData + '';

{
"name": "figlet",
"version": "1.2.1",
"version": "1.2.2",
"description": "Creates ASCII Art from text. A full implementation of the FIGfont spec.",

@@ -5,0 +5,0 @@ "keywords": [

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