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

prompts

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prompts - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

2

dist/elements/autocomplete.js

@@ -249,3 +249,3 @@ 'use strict';

this.outputText = [color.bold(style.symbol(this.done, this.aborted)), color.bold(this.msg), style.delimiter(this.completing), this.done && this.suggestions[this.select] ? this.suggestions[this.select].title : this.rendered = this.transform.render(this.input)].join(' ');
this.outputText = [style.symbol(this.done, this.aborted), color.bold(this.msg), style.delimiter(this.completing), this.done && this.suggestions[this.select] ? this.suggestions[this.select].title : this.rendered = this.transform.render(this.input)].join(' ');

@@ -252,0 +252,0 @@ if (!this.done) {

@@ -41,5 +41,3 @@ 'use strict';

const getFormattedAnswer =
/*#__PURE__*/
function () {
const getFormattedAnswer = /*#__PURE__*/function () {
var _ref = _asyncToGenerator(function* (question, answer, skipValidation = false) {

@@ -46,0 +44,0 @@ if (!skipValidation && question.validate && question.validate(answer) !== true) {

@@ -219,3 +219,3 @@ 'use strict';

this.outputText = [
color.bold(style.symbol(this.done, this.aborted)),
style.symbol(this.done, this.aborted),
color.bold(this.msg),

@@ -222,0 +222,0 @@ style.delimiter(this.completing),

{
"name": "prompts",
"version": "2.3.1",
"version": "2.3.2",
"description": "Lightweight, beautiful and user-friendly prompts",

@@ -44,7 +44,7 @@ "license": "MIT",

"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-env": "^7.8.7",
"tap-spec": "^5.0.0",
"tape": "^4.13.0"
"tape": "^4.13.2"
},

@@ -51,0 +51,0 @@ "engines": {

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