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

c9

Package Overview
Dependencies
Maintainers
4
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c9 - npm Package Compare versions

Comparing version 3.0.1364 to 3.0.1365

2

package.json
{
"name": "c9",
"description": "Cloud9 Client",
"version": "3.0.1364",
"version": "3.0.1365",
"author": "Cloud9 <info@c9.io>",

@@ -6,0 +6,0 @@ "contributors": [

@@ -34,6 +34,2 @@ define(function(require, exports, module) {

"boolean": true
},
"path" : {
description: "Specify the path that will be opened",
default: false
}

@@ -40,0 +36,0 @@ },

@@ -10,2 +10,5 @@ define(function(require, exports, module) {

var fs = require("fs");
var resolve = require("path").resolve;
var optimist;

@@ -25,3 +28,3 @@

process.argv.slice(2).some(function(n){
process.argv.slice(2).some(function(n) {
if (!n.match(/^[-\/]/) && n != "node") {

@@ -34,2 +37,14 @@ module = n;

if (!commands[module] && process.argv.length > 2) {
for (var i = 2; i < process.argv.length; i++) {
if (process.argv[i].charAt(0) == "-") continue;
var path = resolve(process.argv[i]);
if (fs.existsSync(path)) {
process.argv.splice(2, 0, "open");
module = "open";
}
break;
}
}
optimist = require('optimist');

@@ -36,0 +51,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