java-caller
Advanced tools
Comparing version 2.1.0 to 2.2.0
# Changelog | ||
## [2.2.0] 2020-08-29 | ||
- Fix CLASSPATH on windows in case there are spaces in paths | ||
- Update License to MIT | ||
## [2.1.0] 2020-08-12 | ||
@@ -4,0 +9,0 @@ |
@@ -98,2 +98,3 @@ #! /usr/bin/env node | ||
env: Object.assign({}, process.env), | ||
shell: true, | ||
stdio: this.output === "console" ? "inherit" : runOptions.detached ? "ignore" : "pipe", | ||
@@ -177,5 +178,5 @@ windowsHide: true, | ||
if (this.jar) { | ||
allArgs.push(...["-jar", `${this.rootPath}/${this.jar}`]); | ||
allArgs.push(...["-jar", `"${this.rootPath}/${this.jar}"`]); | ||
} else { | ||
allArgs.push(...["-cp", `${classPathStr}`, this.mainClass]); | ||
allArgs.push(...["-cp", `"${classPathStr}"`, this.mainClass]); | ||
} | ||
@@ -182,0 +183,0 @@ allArgs.push(...programArgs); |
{ | ||
"name": "java-caller", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Library to easily call java from node sources. Automatically installs java if not present", | ||
@@ -32,3 +32,3 @@ "main": "./lib/index.js", | ||
"author": "Nicolas Vuillamy", | ||
"license": "GPL-3.0-only", | ||
"license": "MIT", | ||
"bugs": { | ||
@@ -47,3 +47,4 @@ "url": "https://github.com/nvuillam/node-java-caller/issues" | ||
"mocha": "^8.1.1", | ||
"nyc": "^15.1.0" | ||
"nyc": "^15.1.0", | ||
"which": "^2.0.2" | ||
}, | ||
@@ -50,0 +51,0 @@ "engines": { |
@@ -145,2 +145,7 @@ <!-- markdownlint-disable MD033 --> | ||
### [2.2.0] 2020-08-29 | ||
- Fix CLASSPATH on windows in case there are spaces in paths | ||
- Update License to MIT | ||
### [2.1.0] 2020-08-12 | ||
@@ -147,0 +152,0 @@ |
Sorry, the diff of this file is not supported yet
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
0
100
391
172
32750
5