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

stdin-discarder

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stdin-discarder - npm Package Compare versions

Comparing version

to
0.2.2

5

index.js

@@ -36,3 +36,3 @@ import process from 'node:process';

process.stdin.on('data', this.#handleInput);
process.stdin.unref();
process.stdin.resume();
}

@@ -45,4 +45,5 @@

process.stdin.off('data', this.#handleInput);
process.stdin.pause();
process.stdin.setRawMode(false);
process.stdin.off('data', this.#handleInput);
}

@@ -49,0 +50,0 @@

2

package.json
{
"name": "stdin-discarder",
"version": "0.2.1",
"version": "0.2.2",
"description": "Discard stdin input except for Ctrl+C",

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