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.0.4 to 1.0.5

11

index.js

@@ -5,6 +5,7 @@ 'use strict';

var wrap = require('word-wrap');
var stringLength = require('string-length');
var stringWidth = require('string-width');
var stripAnsi = require('strip-ansi');
var ansiStyles = require('ansi-styles');
var ansiRegex = require('ansi-regex')();
var repeating = require('repeating');

@@ -61,5 +62,5 @@ var topOffset = 3;

frame = {
top: '.' + pad('', maxLength + 2, '-') + '.',
top: '.' + repeating('-', maxLength + 2) + '.',
side: ansiStyles.reset.open + '|' + ansiStyles.reset.open,
bottom: ansiStyles.reset.open + '\'' + pad('', maxLength + 2, '-') + '\''
bottom: ansiStyles.reset.open + '\'' + repeating('-', maxLength + 2) + '\''
};

@@ -118,3 +119,3 @@

paddedString = pad({
length: stringLength(str),
length: stringWidth(str),
valueOf: function () {

@@ -133,3 +134,3 @@ return ansiStyles.reset.open + str + ansiStyles.reset.open;

if (!array[index + 1]) {
if (array.length === index + 1) {
greeting[index + topOffset + 1] =

@@ -136,0 +137,0 @@ (greeting[index + topOffset + 1] || pad.left('', leftOffset)) +

{
"name": "yosay",
"version": "1.0.4",
"version": "1.0.5",
"description": "Tell Yeoman what to say",

@@ -38,3 +38,4 @@ "license": "BSD-2-Clause",

"pad-component": "0.0.1",
"string-length": "^1.0.0",
"repeating": "^1.1.3",
"string-width": "^1.0.0",
"strip-ansi": "^2.0.0",

@@ -41,0 +42,0 @@ "taketalk": "^1.0.0",

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

```sh
```
$ npm install --save yosay

@@ -15,0 +15,0 @@ ```

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