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 5.1.1 to 5.2.0-beta.0

2

lib/codenarc-caller.js

@@ -85,3 +85,3 @@ // Call CodeNarc by server or java

(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
) {

@@ -88,0 +88,0 @@ if ((await this.startCodeNarcServer()) && this.serverStatus === "running") {

@@ -151,5 +151,3 @@ #! /usr/bin/env node

// If java home is set, but not jdk or jre, add it in PATH
else if (process.env["JAVA_HOME"] &&
!process.env["PATH"].includes('jdk') &&
!process.env["PATH"].includes('jre')) {
else if (process.env["JAVA_HOME"] && !process.env["PATH"].includes("jdk") && !process.env["PATH"].includes("jre")) {
process.env["PATH"] = process.env["PATH"].includes(process.env["JAVA_HOME"])

@@ -183,3 +181,3 @@ ? process.env["PATH"]

`Java between ${this.minimumJavaVersion} and ${this.maximumJavaVersion} is required ${
javaVersion ? "(" + javaVersion + " found)" : ""
javaVersion ? "(" + javaVersion + " found)" : ""
}`

@@ -186,0 +184,0 @@ );

@@ -173,3 +173,3 @@ /**

type: "String",
default: "http://" + require("ip").address(),
default: "http://localhost", //"http://" + require("ip").address(),
description: "If use of CodeNarc server, host where is the CodeNarc server (default: localhost)"

@@ -176,0 +176,0 @@ },

{
"name": "npm-groovy-lint",
"version": "5.1.1",
"version": "5.2.0-beta.0",
"description": "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files",

@@ -5,0 +5,0 @@ "main": "index.js",

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