Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

press-any-key

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

press-any-key - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

4

index.js

@@ -9,3 +9,3 @@ const sll = require("log-update");

: options.ctrlC;
const preverseLog = options.preverseLog || false;
const preserveLog = options.preserveLog || false;
const hideMessage = options.hideMessage || false;

@@ -23,3 +23,3 @@

if (mssg && !preverseLog) {
if (mssg && !preserveLog) {
sll.clear();

@@ -26,0 +26,0 @@ } else {

{
"name": "press-any-key",
"version": "1.0.1",
"version": "1.1.0",
"description": "Press any key to continue...",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -92,3 +92,3 @@ press-any-key

- **`ctrlC`** The exit code, or `"reject"` (do reject the promise), or false to perceive as pressing any key.
- **`preverseLog`** Preserve the message in the log
- **`preserveLog`** Preserve the message in the log
- **`hideMessage`** Do not show the message

@@ -95,0 +95,0 @@

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