Huge News!Announcing our $40M Series B led by Abstract Ventures.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.0.0 to 1.0.1

build/index.js.map

14

build/index.js

@@ -6,4 +6,4 @@ "use strict";

});
exports.default = reloquent;
exports.askSingle = askSingle;
exports.default = void 0;

@@ -21,2 +21,4 @@ var _askQuestions = _interopRequireDefault(require("./lib/ask-questions"));

* @property {(s: string) => string} [postProcess] A transformation function for the answer.
*
* @typedef {Object.<string, Question>} Questions
*/

@@ -26,4 +28,5 @@

* Ask user questions via the CLI.
* @param {Object.<string, Question>} questions A question or a questions configuration.
* @param {Questions} questions A question or a questions configuration.
* @param {number} [timeout] How long to wait before rejecting the promise. Waits forever by default.
* @returns {Object.<string, string>} An object with answers.
*/

@@ -38,2 +41,3 @@ async function reloquent(questions, timeout) {

* @param {number} [timeout] How long to wait before rejecting the promise. Waits forever by default.
* @returns {string} An answer to the question
*/

@@ -49,2 +53,6 @@

return answer;
}
}
var _default = reloquent;
exports.default = _default;
//# sourceMappingURL=index.js.map

@@ -79,2 +79,3 @@ "use strict";

return res;
}
}
//# sourceMappingURL=ask-questions.js.map

@@ -45,2 +45,3 @@ "use strict";

return rl;
}
}
//# sourceMappingURL=ask.js.map

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

## 1.0.0 (9 June)
## 1.0.1 (11 June 2018)
- [build] build with source maps
- [doc] document return type
## 1.0.0 (9 June 2018)
- [ecma] update to modules

@@ -8,9 +13,9 @@ - [api] change the api to allow to ask single questions.

## 0.2.0 (31 May)
## 0.2.0 (31 May 2017)
- [feature] `askQuestions`: ask multiple questions.
## 0.1.0 (23 May)
## 0.1.0 (23 May 2017)
- Create `reloquent`: reading from readline interface with a timeout
- [repo]: `test`, `src`, `example`, `.eslintrc`
{
"name": "reloquent",
"version": "1.0.0",
"version": "1.0.1",
"description": "Ask user configurable questions via read-line.",

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

"test-build": "BABEL_ENV=test-build zoroaster test/spec -b",
"build": "babel src --out-dir build",
"build": "babel src --out-dir build --source-maps",
"e": "node example",

@@ -13,0 +13,0 @@ "example/single.js": "yarn e example/single.js",

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