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 0.1.5 to 0.1.6

8

lib/index.js

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

questions = [].concat(questions);
let answer, question, quit, name, type, key;
let answer, question, quit, name, type;
let MAP = prompt._map || {};

@@ -34,3 +34,3 @@

// if property is a function, invoke it unless it's ignored
for (key in question) {
for (let key in question) {
if (ignore.includes(key)) continue;

@@ -41,2 +41,6 @@ let value = question[key];

// update vars in case they changed
({ name, type } = question);
// skip if type is a falsy value

@@ -43,0 +47,0 @@ if (!type) continue;

{
"name": "prompts",
"version": "0.1.5",
"version": "0.1.6",
"description": "Lightweight, beautiful and user-friendly prompts",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/terkelg/prompts",

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