java-caller
Advanced tools
Comparing version 2.2.2 to 2.2.3
# Changelog | ||
## [2.2.3] 2020-09-05 | ||
- Fix Java 8 detection ([#101@npm-groovy-lint](https://github.com/nvuillam/npm-groovy-lint/issues/101)) | ||
## [2.2.0] 2020-08-29 | ||
@@ -4,0 +8,0 @@ |
@@ -273,3 +273,7 @@ #! /usr/bin/env node | ||
versionStr = versionStr.replace("_", ""); | ||
const versionNb = parseFloat(versionStr); | ||
let versionNb = parseFloat(versionStr); | ||
if (versionNb < 2) { | ||
versionStr = versionStr.substring(2); | ||
versionNb = parseFloat(versionStr[0] + "." + versionStr.substring(2)); | ||
} | ||
debug(`Found default java version ${versionNb}`); | ||
@@ -276,0 +280,0 @@ return versionNb; |
{ | ||
"name": "java-caller", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Library to easily call java from node sources. Automatically installs java if not present", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -145,2 +145,6 @@ <!-- markdownlint-disable MD033 --> | ||
### [2.2.3] 2020-09-05 | ||
- Fix Java 8 detection ([#101@npm-groovy-lint](https://github.com/nvuillam/npm-groovy-lint/issues/101)) | ||
### [2.2.0] 2020-08-29 | ||
@@ -147,0 +151,0 @@ |
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
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
AI-detected potential security risk
Supply chain riskAI has determined that this package may contain potential security issues or vulnerabilities.
Found 1 instance in 1 package
33355
397
176
2