mongodb-stitch-cli
Advanced tools
Comparing version 1.12.0 to 1.13.0
@@ -19,3 +19,2 @@ const fs = require('fs'); | ||
let downloadURL; | ||
let transpilerdownloadURL; | ||
@@ -22,0 +21,0 @@ if (platform === 'linux') { |
{ | ||
"name": "mongodb-stitch-cli", | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"description": "The MongoDB Stitch Command Line Interface", | ||
@@ -11,3 +11,4 @@ "repository": { | ||
"bin": { | ||
"stitch-cli": "./wrapper.js" | ||
"stitch-cli": "./wrapper.js", | ||
"transpiler": "./wrapper-transpiler.js" | ||
}, | ||
@@ -14,0 +15,0 @@ "scripts": { |
@@ -90,5 +90,4 @@ #!/usr/bin/env node | ||
'node_modules', | ||
'stitch-cli', | ||
`stitch-cli${os.platform() === 'win32' ? '.exe' : ''}`, | ||
`transpiler${os.platform() === 'win32' ? '.exe' : ''}` | ||
'mongodb-stitch-cli', | ||
`stitch-cli${os.platform() === 'win32' ? '.exe' : ''}` | ||
); | ||
@@ -102,2 +101,15 @@ if (fileExists(executable)) { | ||
const executableTranspiler = path.resolve( | ||
tempInstallPath, | ||
'node_modules', | ||
'mongodb-stitch-cli', | ||
`transpiler${os.platform() === 'win32' ? '.exe' : ''}` | ||
); | ||
if (fileExists(executableTranspiler)) { | ||
console.log(`Transpiler installed fine.`); | ||
} else { | ||
console.error(`Transpiler did not install correctly, file '${executableTranspiler}' was not found.`); | ||
process.exit(2); | ||
} | ||
try { | ||
@@ -104,0 +116,0 @@ removeFolder(tempInstallPath); |
{ | ||
"version": "1.12.0", | ||
"baseDirectory": "stitch_cli_rhel70_c55fde17a1666c39c22fbd6f4ab2b8bf0446b0e3_20_04_06_20_23_57" | ||
"version": "1.13.0", | ||
"baseDirectory": "stitch_cli_rhel70_93dc3b54edc6b354254ccb6d958a8c2d9fe8e5eb_20_04_28_16_09_25" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45680775
15
376
4