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

jitsu

Package Overview
Dependencies
Maintainers
8
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jitsu - npm Package Compare versions

Comparing version 0.13.6 to 0.13.7

33

lib/jitsu/commands/install.js

@@ -0,1 +1,3 @@

'use strict';
/*

@@ -8,3 +10,4 @@ * install.js: Commands for installing and deploying starter apps.

var fs = require('fs'),
var canihaz = require('canihaz')('jitsu'),
fs = require('fs'),
path = require('path'),

@@ -14,7 +17,6 @@ exists = fs.exists || path.exists,

cpr = common.cpr,
rimraf = common.rimraf,
npmModule = require('npm'),
wizard = require('wizard'),
jitsu = require('../../jitsu'),
utile = jitsu.common;
utile = jitsu.common,
npm;

@@ -67,3 +69,3 @@ //

npmModule.load({ exit: false }, function (err) {
canihaz.npm(function fetch(err, module) {
if (err) {

@@ -73,7 +75,14 @@ return callback(err);

if (typeof app.name === 'string') {
return createApp({starter: app.name}, callback);
}
npm = module;
npm.load({ exit: false }, function (err) {
if (err) {
return callback(err);
}
promptforAppName(callback);
if (typeof app.name === 'string') {
return createApp({starter: app.name}, callback);
}
promptforAppName(callback);
});
});

@@ -97,3 +106,3 @@

jitsu.log.warn('Downloading packages from npm, this may take a moment...');
npmModule.commands.install(appName, [nodeapps[appName].package], function (err, result) {
npm.commands.install(appName, [nodeapps[appName].package], function (err, result) {
if (err) {

@@ -156,3 +165,3 @@ return cb(err);

}
return createApp({ starter: results['starter'] }, callback);
return createApp({ starter: results.starter }, callback);
});

@@ -243,3 +252,3 @@ }

if (dest === "local") {
return npmModule.start(process.cwd() + '/' + app.name, cb);
return npm.start(process.cwd() + '/' + app.name, cb);
}

@@ -246,0 +255,0 @@ }

@@ -66,5 +66,2 @@ /**

// jitsu wizard [<commands>]
// jitsu wizard
// jitsu help [<commands>]

@@ -79,3 +76,2 @@ // jitsu help apps

// jitsu help users
// jitsu help wizard

@@ -323,3 +319,2 @@ // jitsu signup

'wizard': {},
'whoami': {},

@@ -335,4 +330,3 @@

'snapshots': {},
'users': {},
'wizard': {}
'users': {}
},

@@ -339,0 +333,0 @@

@@ -11,3 +11,3 @@ {

],
"version": "0.13.6",
"version": "0.13.7",
"author": "Nodejitsu Inc. <info@nodejitsu.com>",

@@ -24,2 +24,3 @@ "maintainers": [

"dependencies": {
"canihaz": "1.0.1",
"colors": "0.6.2",

@@ -34,3 +35,2 @@ "complete": "0.3.1",

"ladder": "0.0.1",
"npm": "1.3.15",
"nodejitsu-api": "0.5.3",

@@ -44,5 +44,7 @@ "opener": "1.3.x",

"semver": "1.0.14",
"tar": "0.1.18",
"wizard": "0.0.1"
"tar": "0.1.18"
},
"canihaz": {
"npm": "1.3.15"
},
"devDependencies": {

@@ -49,0 +51,0 @@ "nock": "0.25.x",

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