New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cfonts

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cfonts - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

20

lib/index.js

@@ -158,3 +158,3 @@ /***************************************************************************************************************************************************************

short: '-s',
default: 1
default: false
},

@@ -166,3 +166,3 @@ '--max-length': {

options: true,
default: 1
default: 0
},

@@ -178,3 +178,3 @@ '--debug': {

example: '--debug-level 2',
short: '-m',
short: '-x',
options: true,

@@ -576,3 +576,3 @@ default: 1

if (OPTIONS.colors[0] === "candy") {
if (OPTIONS.colors[0] === 'candy') {
output.push(line.split('').map(function (character) {

@@ -659,3 +659,3 @@ return Colorize(character, 1, OPTIONS.colors);

background: background === undefined && backgroundColor === undefined ? 'transparent' : background === undefined ? allowedBG[backgroundColor.toLowerCase()] || backgroundColor : allowedBG[background.toLowerCase()] || background,
letterSpacing: typeof letterSpacing === 'number' && letterSpacing > 0 ? letterSpacing : 1,
letterSpacing: typeof parseInt(letterSpacing) === 'number' && letterSpacing > 0 ? letterSpacing : 1,
lineHeight: lineHeight === undefined ? 1 : parseInt(lineHeight),

@@ -985,3 +985,3 @@ space: typeof space === 'boolean' ? space : true,

Debugging.report('OPTIONS:\n' + (' CFonts.say("' + args.text + '", {\n') + (' font: "' + args.font + '",\n') + (' align: "' + args.align + '",\n') + (' colors: ' + (args.colors ? (0, _stringify2.default)(args.colors.split(',')) : []) + ',\n') + (' background: "' + args.background + '",\n') + (' letterSpacing: ' + args.letterSpacing + ',\n') + (' lineHeight: ' + args.lineHeight + ',\n') + (' space: ' + args.spaceless + ',\n') + (' maxLength: ' + args.maxLength + '\n') + (' }, ' + args.debug + ', ' + args.debugLevel + ' );'), 3, args.debug, args.debugLevel);
Debugging.report('OPTIONS:\n' + (' CFonts.say("' + args.text + '", {\n') + (' font: "' + args.font + '",\n') + (' align: "' + args.align + '",\n') + (' colors: ' + (args.colors ? (0, _stringify2.default)(args.colors.split(',')) : []) + ',\n') + (' background: "' + args.background + '",\n') + (' letterSpacing: ' + args['letter-spacing'] + ',\n') + (' lineHeight: ' + args['line-height'] + ',\n') + (' space: ' + !args.spaceless + ',\n') + (' maxLength: ' + args['max-length'] + '\n') + (' }, ' + args.debug + ', ' + args.debugLevel + ' );'), 3, args.debug, args.debugLevel);

@@ -1008,6 +1008,6 @@ if (args.help) {

background: args.background,
letterSpacing: args.letterSpacing,
lineHeight: args.lineHeight,
space: args.spaceless,
maxLength: args.maxLength
letterSpacing: args['letter-spacing'],
lineHeight: args['line-height'],
space: !args.spaceless,
maxLength: args['max-length']
}, args.debug, args.debugLevel);

@@ -1014,0 +1014,0 @@ };

{
"name": "cfonts",
"description": "Sexy fonts for the console",
"version": "2.3.0",
"version": "2.3.1",
"homepage": "https://github.com/dominikwilkowski/cfonts",

@@ -48,3 +48,3 @@ "author": {

"jest-cli": "^23.6.0",
"onchange": "^5.1.0"
"onchange": "^5.2.0"
},

@@ -55,3 +55,3 @@ "peerDependencies": {},

"babel-runtime": "^6.26.0",
"chalk": "^2.4.1",
"chalk": "^2.4.2",
"change-case": "^3.0.2",

@@ -58,0 +58,0 @@ "window-size": "^1.1.1"

@@ -338,2 +338,3 @@ ```shell

## Release History
* 2.3.1 - added tests, fixed options, updated dependencies
* 2.3.0 - added apostrophe support in all fonts

@@ -340,0 +341,0 @@ * 2.2.3 - bumped dependencies

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