npm-groovy-lint
Advanced tools
Comparing version 7.0.0 to 7.1.0
# Changelog | ||
## [7.1.0] 2020-08-10 | ||
- Externalize JavaCaller class into a separate package [java-caller](https://www.npmjs.com/package/java-caller) and use it | ||
## [7.0.0] 2020-08-07 | ||
@@ -4,0 +8,0 @@ |
@@ -5,4 +5,4 @@ // Call CodeNarc by server or java | ||
const debug = require("debug")("npm-groovy-lint"); | ||
const { JavaCaller } = require("java-caller"); | ||
const optionsDefinition = require("./options"); | ||
const { JavaCaller } = require("./java-caller"); | ||
const { performance } = require("perf_hooks"); | ||
@@ -32,2 +32,3 @@ const { getSourceLines } = require("./utils"); | ||
maximumJavaVersion: 14.99, | ||
rootPath: __dirname, | ||
mainClass: "com.nvuillam.CodeNarcServer", | ||
@@ -39,2 +40,3 @@ classPath: "java/CodeNarcServer.jar:java/*" | ||
maximumJavaVersion: 14.99, | ||
rootPath: __dirname, | ||
mainClass: "org.codenarc.CodeNarc", | ||
@@ -96,3 +98,3 @@ classPath: | ||
(startServerTried === false, | ||
e.code && ["ECONNREFUSED", "ETIMEDOUT"].includes(e.code) && ["unknown", "running"].includes(this.serverStatus)) // running is here in case the Server auto-killed itself at its expiration time | ||
e.code && ["ECONNREFUSED", "ETIMEDOUT"].includes(e.code) && ["unknown", "running"].includes(this.serverStatus)) // running is here in case the Server auto-killed itself at its expiration time | ||
) { | ||
@@ -111,5 +113,5 @@ if ((await this.startCodeNarcServer()) && this.serverStatus === "running") { | ||
"CodeNarcServer unexpected error:\n" + | ||
JSON.stringify(e, null, 2) + | ||
"\n" + | ||
(e.response && e.response.data && e.response.data.errorDtl ? JSON.stringify(e.response.data.errorDtl, null, 2) : undefined) | ||
JSON.stringify(e, null, 2) + | ||
"\n" + | ||
(e.response && e.response.data && e.response.data.errorDtl ? JSON.stringify(e.response.data.errorDtl, null, 2) : undefined) | ||
); | ||
@@ -116,0 +118,0 @@ } |
{ | ||
"name": "npm-groovy-lint", | ||
"version": "7.0.0", | ||
"version": "7.1.0", | ||
"description": "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files", | ||
@@ -59,2 +59,3 @@ "main": "index.js", | ||
"ip": "^1.1.5", | ||
"java-caller": "^1.0.0", | ||
"optionator": "^0.8.3", | ||
@@ -61,0 +62,0 @@ "semver": "^7.1.3", |
@@ -379,2 +379,6 @@ <!-- markdownlint-disable MD033 --> | ||
### [7.1.0] 2020-08-10 | ||
- Externalize JavaCaller class into a separate package [java-caller](https://www.npmjs.com/package/java-caller) and use it | ||
### [7.0.0] 2020-08-07 | ||
@@ -381,0 +385,0 @@ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
405
23
1
16568214
17
115
7971
+ Addedjava-caller@^1.0.0
+ Addedat-least-node@1.0.0(transitive)
+ Addedfs-extra@9.1.0(transitive)
+ Addedjava-caller@1.1.0(transitive)
+ Addedjsonfile@6.1.0(transitive)
+ Addeduniversalify@2.0.1(transitive)