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

prompt-question

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prompt-question - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

3

index.js
'use strict';
var debug = require('debug')('prompt-question');
var extend = require('extend-shallow');
var Choices = require('prompt-choices');

@@ -231,3 +230,3 @@ var define = require('define-property');

set: function(checkbox) {
if (isObject(checkbox)) {
if (utils.isObject(checkbox)) {
throw new TypeError('expected checkbox symbols to be an object');

@@ -234,0 +233,0 @@ }

'use strict';
var define = require('define-property');
var extend = require('extend-shallow');
var typeOf = require('kind-of');

@@ -23,3 +22,3 @@ var utils = module.exports;

if (utils.isObject(val)) {
extend(cache, val);
Object.assign(cache, val);

@@ -36,4 +35,4 @@ } else if (val != null) {

var opts = question.options;
extend(question, cache);
question.options = extend({}, opts, cache.options);
Object.assign(question, cache);
question.options = Object.assign({}, opts, cache.options);
};

@@ -40,0 +39,0 @@

{
"name": "prompt-question",
"description": "Question object, used by Enquirer and prompt plugins.",
"version": "5.0.0",
"version": "5.0.1",
"homepage": "https://github.com/enquirer/prompt-question",

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

"define-property": "^1.0.0",
"extend-shallow": "^2.0.1",
"kind-of": "^4.0.0",

@@ -30,0 +29,0 @@ "koalas": "^1.0.2",

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