Socket
Socket
Sign inDemoInstall

listr2

Package Overview
Dependencies
14
Maintainers
1
Versions
231
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.7 to 1.1.8

1

dist/index.d.ts

@@ -5,1 +5,2 @@ export * from './listr';

export * from './interfaces/manager.interface';
export { createPrompt } from './utils/prompt';

@@ -10,2 +10,4 @@ "use strict";

__export(require("./interfaces/manager.interface"));
var prompt_1 = require("./utils/prompt");
exports.createPrompt = prompt_1.createPrompt;
//# sourceMappingURL=index.js.map

2

dist/utils/prompt.d.ts

@@ -1,4 +0,2 @@

import { Prompt } from 'enquirer';
import { PromptOptions, PromptTypes } from './prompt.interface';
export declare function promptUser(input: Prompt): Promise<any>;
export declare function createPrompt(type: PromptTypes, options: PromptOptions): Promise<any>;

@@ -5,13 +5,2 @@ "use strict";

const listr_interface_1 = require("../interfaces/listr.interface");
function promptUser(input) {
try {
return input.on('cancel', () => {
throw new Error('Cancelled prompt. Quitting.');
}).run();
}
catch (e) {
throw new Error('There was a problem getting the answer of the last question. Quitting.');
}
}
exports.promptUser = promptUser;
function createPrompt(type, options) {

@@ -18,0 +7,0 @@ let prompt;

{
"name": "listr2",
"version": "1.1.7",
"version": "1.1.8",
"description": "Terminal task list reborn!",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc