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

editor

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

editor - npm Package Compare versions

Comparing version 0.0.6 to 0.1.0

12

index.js

@@ -14,16 +14,8 @@ var spawn = require('child_process').spawn;

var bin = args.shift();
setRaw(true);
var ps = spawn(bin, args.concat([ file ]), { customFds : [ 0, 1, 2 ] });
var ps = spawn(bin, args.concat([ file ]), { stdio: 'inherit' });
ps.on('exit', function (code, sig) {
setRaw(false);
process.stdin.pause();
if (typeof cb === 'function') cb(code, sig)
});
};
var tty = require('tty');
function setRaw (mode) {
process.stdin.setRawMode ? process.stdin.setRawMode(mode) : tty.setRawMode(mode);
}

2

package.json
{
"name" : "editor",
"version" : "0.0.6",
"version" : "0.1.0",
"description" : "launch $EDITOR in your program",

@@ -5,0 +5,0 @@ "main" : "index.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