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

java-caller

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

java-caller - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

5

CHANGELOG.md
# 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 @@

5

lib/java-caller.js

@@ -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);

7

package.json
{
"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

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