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

yosay

Package Overview
Dependencies
Maintainers
7
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yosay - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

8

index.js
'use strict';
var chalk = require('chalk');
var pad = require('pad-component');
var wrap = require('word-wrap');
var wrap = require('wrap-ansi');
var stringWidth = require('string-width');

@@ -74,3 +74,3 @@ var stripAnsi = require('strip-ansi');

return wrap(stripAnsi(message), { width: maxLength })
return wrap(stripAnsi(message), maxLength, {hard: true})
.split(/\n/)

@@ -111,5 +111,5 @@ .reduce(function (greeting, str, index, array) {

return continuedStyle + char;
} else {
return char;
}
return char;
})

@@ -116,0 +116,0 @@ .trim();

{
"name": "yosay",
"version": "1.1.0",
"version": "1.1.1",
"description": "Tell Yeoman what to say",

@@ -18,3 +18,3 @@ "license": "BSD-2-Clause",

],
"homepage": "http://yeoman.io",
"homepage": "yeoman.io",
"author": "Yeoman",

@@ -31,3 +31,3 @@ "repository": "yeoman/yosay",

"scripts": {
"test": "mocha"
"test": "xo && mocha"
},

@@ -38,3 +38,2 @@ "dependencies": {

"chalk": "^1.0.0",
"minimist": "^1.1.0",
"pad-component": "0.0.1",

@@ -45,7 +44,11 @@ "repeating": "^2.0.0",

"taketalk": "^1.0.0",
"word-wrap": "^1.0.0"
"wrap-ansi": "^2.0.0"
},
"devDependencies": {
"mocha": "*"
"mocha": "*",
"xo": "*"
},
"xo": {
"space": true
}
}

@@ -20,3 +20,3 @@ # yosay [![Build Status](https://travis-ci.org/yeoman/yosay.svg?branch=master)](https://travis-ci.org/yeoman/yosay)

```js
var yosay = require('yosay');
const yosay = require('yosay');

@@ -23,0 +23,0 @@ console.log(yosay('Hello, and welcome to my fantastic generator full of whimsy and bubble gum!'));

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