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

atlassian-soy-cli

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atlassian-soy-cli - npm Package Compare versions

Comparing version 1.3.0 to 1.5.0

28

app/cli.js

@@ -1,16 +0,16 @@

var _ = require('lodash');
var exec = require('child-process-promise').exec;
var findJavaHome = require('find-java-home');
var fs = require('fs-extra');
var https = require('https');
var interpolate = require('interpolate');
var path = require('path');
var Q = require('q');
var winston = require('winston');
const _ = require('lodash');
const exec = require('child-process-promise').exec;
const findJavaHome = require('find-java-home');
const fs = require('fs-extra');
const createOutputStream = require('create-output-stream');
const https = require('follow-redirects').https;
const interpolate = require('interpolate');
const path = require('path');
const Q = require('q');
const winston = require('winston');
/** {string} template URL whence the Soy CLI is downloaded (instances of {version} will be interpolated)*/
var OLD_MAVEN_URL_TEMPLATE = 'https://maven.atlassian.com/service/local/repositories/atlassian-public/content/com/atlassian/soy/atlassian-soy-cli-support/{version}/atlassian-soy-cli-support-{version}-jar-with-dependencies.jar';
var ARTIFACTORY_URL_TEMPLATE = 'https://packages.atlassian.com/maven/repository/public/com/atlassian/soy/atlassian-soy-cli-support/{version}/atlassian-soy-cli-support-{version}-jar-with-dependencies.jar';
const ARTIFACTORY_URL_TEMPLATE = 'https://packages.atlassian.com/maven/repository/public/com/atlassian/soy/atlassian-soy-cli-support/{version}/atlassian-soy-cli-support-{version}-jar-with-dependencies.jar';
var DEFAULTS = {
const DEFAULTS = {
/** {string} version of the Soy CLI to download */

@@ -120,3 +120,3 @@ version: '4.1.2',

var deferred = Q.defer();
var file = fs.createOutputStream(localPath);
var file = createOutputStream(localPath);
winston.info("Downloading %s...", url);

@@ -144,3 +144,3 @@ https.get(url, function(response) {

}, function(err) {
if (err.code == 'ENOENT') {
if (err.code === 'ENOENT') {
return streamFromMavenRepo();

@@ -147,0 +147,0 @@ } else {

{
"name": "atlassian-soy-cli",
"version": "1.3.0",
"version": "1.5.0",
"description": "Node wrapper for the Atlassian Soy CLI",

@@ -26,11 +26,14 @@ "main": "app/cli.js",

"devDependencies": {
"chai": "^3.3.0",
"chai-as-promised": "^5.1.0",
"mocha": "^2.3.3",
"process": "^0.11.2"
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"mocha": "^5.2.0",
"process": "^0.11.2",
"rimraf": "^2.6.3"
},
"dependencies": {
"child-process-promise": "^1.1.0",
"find-java-home": "^0.1.2",
"fs-extra": "^0.26.7",
"child-process-promise": "^2.2.1",
"create-output-stream": "^0.0.1",
"find-java-home": "^0.2.0",
"follow-redirects": "^1.7.0",
"fs-extra": "^7.0.0",
"interpolate": "^0.1.0",

@@ -40,3 +43,6 @@ "lodash": "^4.6.1",

"winston": "^2.2.0"
},
"engines": {
"node": ">=6.4"
}
}
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