Socket
Socket
Sign inDemoInstall

bandersnatch

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bandersnatch - npm Package Compare versions

Comparing version 1.2.6 to 1.3.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [1.3.0](https://github.com/hongaar/bandersnatch/compare/v1.2.6...v1.3.0) (2020-07-28)
### Features
* enquirer ([#81](https://github.com/hongaar/bandersnatch/issues/81)) ([7891e70](https://github.com/hongaar/bandersnatch/commit/7891e70f11cdbfbae40a3932c51e4104b810c930))
## [1.2.6](https://github.com/hongaar/bandersnatch/compare/v1.2.5...v1.2.6) (2020-07-23)

@@ -2,0 +9,0 @@

16

lib/prompter.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Prompter = exports.prompter = void 0;
const inquirer_1 = require("inquirer");
const enquirer_1 = require("enquirer");
/**

@@ -24,3 +24,3 @@ * Creates a new command, which can be added to a program.

// Ask questions and merge with passed in args.
const answers = await inquirer_1.prompt(questions);
const answers = await enquirer_1.prompt(questions);
return Object.assign(Object.assign({}, this.args), answers);

@@ -53,5 +53,5 @@ }

name,
type: 'checkbox',
type: 'multiselect',
message: arg.getPrompt(),
default: defaultValue,
initial: defaultValue,
// @todo ignoring type error here, probably need another type

@@ -67,5 +67,5 @@ // than Question[]

name,
type: 'list',
type: 'select',
message: arg.getPrompt(),
default: defaultValue,
initial: defaultValue,
choices: arg.getChoices(),

@@ -80,3 +80,3 @@ });

message: arg.getPrompt(),
default: defaultValue,
initial: defaultValue,
});

@@ -90,3 +90,3 @@ break;

message: arg.getPrompt(),
default: defaultValue,
initial: defaultValue,
});

@@ -93,0 +93,0 @@ }

{
"name": "bandersnatch",
"description": "Simple TypeScript CLI / REPL framework",
"version": "1.2.6",
"version": "1.3.0",
"repository": {

@@ -38,7 +38,6 @@ "type": "git",

"dependencies": {
"@types/inquirer": "^7.0.0",
"@types/yargs": "^15.0.5",
"inquirer": "^7.3.0",
"enquirer": "^2.3.6",
"string-argv": "^0.3.1",
"typed-emitter": "1.2.0",
"typed-emitter": "^1.2.0",
"yargs": "^15.4.0"

@@ -49,4 +48,4 @@ },

"@semantic-release/git": "9.0.0",
"@types/jest": "26.0.5",
"@types/node": "14.0.24",
"@types/jest": "26.0.7",
"@types/node": "14.0.26",
"doctoc": "1.4.0",

@@ -53,0 +52,0 @@ "husky": "4.2.5",

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