Socket
Socket
Sign inDemoInstall

@vaadin/cli

Package Overview
Dependencies
Maintainers
17
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/cli - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0-pre3

foo/.classpath

4

package.json
{
"name": "@vaadin/cli",
"version": "1.1.1",
"version": "1.2.0-pre3",
"description": "A CLI for creating Vaadin applications",

@@ -27,6 +27,8 @@ "keywords": [

"readline-sync": "^1.4.9",
"replace-in-file": "^4.1.0",
"request": "^2.88.0",
"request-promise": "^4.2.2",
"tar": "^4.4.10",
"uuid": "^3.3.2"
}
}

@@ -5,2 +5,4 @@ #!/usr/bin/env node

const enableHotswap = require("./hotswap");
const fs = require("fs");

@@ -80,2 +82,3 @@ const request = require("request-promise");

.option("--pre", "Use the latest pre release (if available)")
.option("--hotswap", "Enable hotswapping using Trava JDK")
.option(

@@ -139,8 +142,13 @@ "--tech [tech]",

options,
function(error, response, body) {
async function(error, response, body) {
if (response && response.statusCode == 200) {
fs.writeFileSync("temp.zip", body);
decompress("temp.zip", projectName);
await decompress("temp.zip", projectName);
fs.unlinkSync("temp.zip");
console.log("Project '" + projectName + "' created");
process.chdir(projectName);
if (program.hotswap) {
enableHotswap();
}
}

@@ -147,0 +155,0 @@ }

@@ -10,4 +10,7 @@ #!/usr/bin/env node

.version(require("../package.json").version)
.command("init <name>", "Create a new project");
.command("init <name>", "Create a new project")
.command("hotswap", "Enable hotswapping in the current project (using Trava JDK)")
.command("java", "Download and install a supported JDK")
;
program.parse(process.argv);
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