Socket
Socket
Sign inDemoInstall

@inquirer/core

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inquirer/core - npm Package Compare versions

Comparing version 0.0.7-alpha.0 to 0.0.8-alpha.0

hooks.js

4

lib/key.js

@@ -9,2 +9,6 @@ exports.isUpKey = key =>

exports.isBackspaceKey = key => key.name === 'backspace';
exports.isNumberKey = key => '123456789'.includes(key.name);
exports.isEnterKey = key => key.name === 'enter' || key.name === 'return';

4

lib/Paginator.js

@@ -24,3 +24,5 @@ 'use strict';

const width = cliWidth({ defaultWidth: 80, output: this.rl.output });
// TODO: I've remove the dependency on readline here. But we should refactor the
// paginator to also rely on hook.
const width = cliWidth({ defaultWidth: 80, output: process.stdout });
let lines = breakLines(output, width).split('\n');

@@ -27,0 +29,0 @@

{
"name": "@inquirer/core",
"version": "0.0.7-alpha.0",
"version": "0.0.8-alpha.0",
"description": "Core Inquirer prompt API",

@@ -29,3 +29,3 @@ "main": "index.js",

},
"gitHead": "54285c75bc7986e0e2c7bcd2bc8ae4ddd6f05929"
"gitHead": "7ec6ea0d2e55895fada6782fcc76de232c1e4c12"
}
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