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.5 to 0.0.6

6

index.js

@@ -12,5 +12,7 @@ var spawn = require('child_process').spawn;

var editor = opts.editor || process.env.VISUAL || process.env.EDITOR || ed;
var args = editor.split(/\s+/);
var bin = args.shift();
setRaw(true);
var ps = spawn(editor, [ file ], { customFds : [ 0, 1, 2 ] });
var ps = spawn(bin, args.concat([ file ]), { customFds : [ 0, 1, 2 ] });

@@ -17,0 +19,0 @@ ps.on('exit', function (code, sig) {

{
"name" : "editor",
"version" : "0.0.5",
"version" : "0.0.6",
"description" : "launch $EDITOR in your program",

@@ -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