Socket
Socket
Sign inDemoInstall

charm

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

charm - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

example/resize.js

15

index.js

@@ -46,6 +46,19 @@ var tty = require('tty');

charm.once('^C', process.exit);
charm.once('end', function () {
if (input) {
if (typeof input.fd === 'number' && tty.isatty(input.fd)) {
if (process.stdin.setRawMode) {
process.stdin.setRawMode(false);
}
else tty.setRawMode(false);
}
input.destroy();
}
});
return charm;
};
function Charm () {
var Charm = exports.Charm = function Charm () {
this.writable = true;

@@ -52,0 +65,0 @@ this.readable = true;

2

package.json
{
"name" : "charm",
"version" : "0.1.0",
"version" : "0.1.1",
"description" : "ansi control sequences for terminal cursor hopping and colors",

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

Sorry, the diff of this file is not supported yet

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