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.1.0 to 7.2.0

4

CHANGELOG.md
# Changelog
## [7.1.1] 2020-08-11
- Upgrade [java-caller](https://www.npmjs.com/package/java-caller) to v2.0.0
## [7.1.0] 2020-08-10

@@ -4,0 +8,0 @@

6

lib/codenarc-caller.js

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

codeNarcServer: {
minimumJavaVersion: 1.8,
maximumJavaVersion: 14.99,
minimumJavaVersion: 8,
rootPath: __dirname,

@@ -37,4 +36,3 @@ mainClass: "com.nvuillam.CodeNarcServer",

codeNarcJava: {
minimumJavaVersion: 1.8,
maximumJavaVersion: 14.99,
minimumJavaVersion: 8,
rootPath: __dirname,

@@ -41,0 +39,0 @@ mainClass: "org.codenarc.CodeNarc",

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

describe("Miscellaneous", function() {
describe("Miscellaneous", function () {
beforeEach(beforeEachTestCase);

@@ -297,9 +297,18 @@

it("(API:Server) should kill java override running server", async () => {
const linter = await new NpmGroovyLint([process.execPath, "", "--killserver", "--no-insight", "--verbose"], {
verbose: true
}).run();
assert(linter.status === 0, `Linter status is 0 (${linter.status} returned)`);
assert(linter.outputString.includes("CodeNarcServer terminated"), "CodeNarcServer has been terminated");
checkCodeNarcCallsCounter(1);
let javaPath;
try {
javaPath = which.sync("java");
} catch (e) {
console.log("Java not found: ignore test method");
}
if (javaPath) {
const linter = await new NpmGroovyLint([process.execPath, "", "--killserver", "--no-insight", "--verbose"], {
verbose: true
}).run();
assert(linter.status === 0, `Linter status is 0 (${linter.status} returned)`);
assert(linter.outputString.includes("CodeNarcServer terminated"), "CodeNarcServer has been terminated");
checkCodeNarcCallsCounter(1);
}
});

@@ -306,0 +315,0 @@ });

{
"name": "npm-groovy-lint",
"version": "7.1.0",
"version": "7.2.0",
"description": "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files",

@@ -59,3 +59,3 @@ "main": "index.js",

"ip": "^1.1.5",
"java-caller": "^1.0.0",
"java-caller": "^2.0.0",
"optionator": "^0.8.3",

@@ -62,0 +62,0 @@ "semver": "^7.1.3",

@@ -365,5 +365,6 @@ <!-- markdownlint-disable MD033 -->

This package uses :
### Other packages used
- [CodeNarc](https://github.com/CodeNarc/CodeNarc): groovy lint
- [java-caller](https://www.npmjs.com/package/java-caller): Easy call Java commands from Node
- [slf4j](http://www.slf4j.org): logging for CodeNarc

@@ -374,2 +375,4 @@ - [log4j](https://logging.apache.org/log4j/2.x/): logging for CodeNarc

### Contributors
[<img alt="nvuillam" src="https://avatars1.githubusercontent.com/u/17500430?v=4&s=50 width=50">](https://github.com/nvuillam) |[<img alt="Dave Gallant" src="https://avatars2.githubusercontent.com/u/4519234?v=4&s=50 width=50">](https://github.com/davegallant) |[<img alt="docwhat" src="https://avatars1.githubusercontent.com/u/40799?v=4&s=50 width=50">](https://github.com/docwhat) |[<img alt="CatSue" src="https://avatars3.githubusercontent.com/u/26134618?v=4&s=50 width=50">](https://github.com/CatSue) |

@@ -381,2 +384,6 @@ :---:|:---:|:---:|:---:|

### [7.1.1] 2020-08-11
- Upgrade [java-caller](https://www.npmjs.com/package/java-caller) to v2.0.0
### [7.1.0] 2020-08-10

@@ -383,0 +390,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