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

npm-groovy-lint

Package Overview
Dependencies
Maintainers
1
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-groovy-lint - npm Package Compare versions

Comparing version 7.0.0 to 7.1.0

4

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

12

lib/codenarc-caller.js

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

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