New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

reloquent

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reloquent - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

2

build/index.js

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

let askQuestions = require('./lib/ask-questions'); if (askQuestions && askQuestions.__esModule) askQuestions = askQuestions.default;
const askQuestions = require('./lib/ask-questions');

@@ -3,0 +3,0 @@ /**

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

let ask = require('./ask'); if (ask && ask.__esModule) ask = ask.default;
const ask = require('./ask');

@@ -3,0 +3,0 @@ /**

@@ -36,16 +36,12 @@ const { createInterface } = require('readline');

}
const p = new Promise((resolve) => {
rl.question(question, answer => {
resolve(answer)
})
rl.once('close', () => resolve())
})
const p = new Promise(rl.question.bind(rl, question))
const promise = timeout
? promto(p, timeout, `reloquent: ${question}`)
: p
rl.promise = makePromise(promise, rl)
rl.promise = tryPromise(promise, rl)
return rl
}
const makePromise = async (promise, rl) => {
const tryPromise = async (promise, rl) => {
try {

@@ -52,0 +48,0 @@ const res = await promise

@@ -0,1 +1,7 @@

## 10 October 2018
### 1.2.3
- [fix] Don't resolve on close (accepts confirmation with ctrl-c)
## 8 October 2018

@@ -2,0 +8,0 @@

{
"name": "reloquent",
"version": "1.2.2",
"version": "1.2.3",
"description": "Ask user configurable questions via read-line.",

@@ -43,3 +43,3 @@ "main": "build",

"devDependencies": {
"alamode": "1.5.1",
"alamode": "1.6.0",
"catchment": "3.1.1",

@@ -46,0 +46,0 @@ "documentary": "1.20.1",

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