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

choices-separator

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

choices-separator - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

12

index.js

@@ -28,5 +28,11 @@ 'use strict';

this.chars = {middot: '·', line: '─', bullet: '•'};
this.line = dim(this.chars[opts.line]
|| opts.line
|| repeat(this.chars.line, 8));
if (typeof opts.line === 'string') {
if (this.chars[opts.line]) {
this.line = dim(this.chars[opts.line]);
} else {
this.line = opts.line;
}
} else {
this.line = dim(repeat(this.chars.line, 8));
}
}

@@ -33,0 +39,0 @@

{
"name": "choices-separator",
"description": "Separator for choices arrays in prompts. Based on the Separator from inquirer.",
"version": "1.0.0",
"version": "1.1.0",
"homepage": "https://github.com/enquirer/choices-separator",

@@ -22,2 +22,13 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

},
"dependencies": {
"ansi-dim": "^0.1.1",
"debug": "^2.6.6",
"extend-shallow": "^2.0.1",
"repeat-string": "^1.6.1"
},
"devDependencies": {
"gulp-format-md": "^0.1.12",
"mocha": "^3.3.0",
"strip-color": "^0.1.0"
},
"keywords": [

@@ -68,19 +79,4 @@ "answer",

]
},
"reflinks": [
"verb",
"verb-generate-readme"
]
},
"dependencies": {
"ansi-dim": "^0.1.1",
"debug": "^2.6.6",
"extend-shallow": "^2.0.1",
"repeat-string": "^1.6.1"
},
"devDependencies": {
"gulp-format-md": "^0.1.12",
"mocha": "^3.3.0",
"strip-color": "^0.1.0"
}
}
}

@@ -90,2 +90,2 @@ # choices-separator [![NPM version](https://img.shields.io/npm/v/choices-separator.svg?style=flat)](https://www.npmjs.com/package/choices-separator) [![NPM monthly downloads](https://img.shields.io/npm/dm/choices-separator.svg?style=flat)](https://npmjs.org/package/choices-separator) [![NPM total downloads](https://img.shields.io/npm/dt/choices-separator.svg?style=flat)](https://npmjs.org/package/choices-separator) [![Linux Build Status](https://img.shields.io/travis/enquirer/choices-separator.svg?style=flat&label=Travis)](https://travis-ci.org/enquirer/choices-separator)

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 05, 2017._
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 09, 2017._
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