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 14.3.0 to 14.4.0

20

lib/groovy-lint.js

@@ -15,3 +15,2 @@ // Imports

const { computeStats, processOutput } = require("./output.js");
const { recordAnonymousEvent } = require("./analytics.js");
const { getNpmGroovyLintVersion, getSourceLines, isErrorInLogLevelScope } = require("./utils");

@@ -340,21 +339,2 @@

// Manage anonymous usage stats (except if current lint has been cancelled by a duplicate call)
if (this.startElapse && this.options.insight === true && this.status !== 9) {
const elapsedTimeMs = parseInt(performance.now() - this.startElapse);
const callerKey = this.origin === "index" ? "cli" : "module";
const actionKey = this.options.format ? "format" : this.options.fix ? "fix" : "lint";
const data = {
status: this.status,
fileList: this.fileList,
result: this.lintResult,
elapsed: elapsedTimeMs,
options: this.options,
error: this.error
};
const eventSentPromise = recordAnonymousEvent(callerKey + "-" + actionKey, data);
if (callerKey === "cli") {
await eventSentPromise;
}
}
await this.manageDeleteTmpFiles();

@@ -361,0 +341,0 @@

3

package.json
{
"name": "npm-groovy-lint",
"version": "14.3.0",
"version": "14.4.0",
"description": "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files",

@@ -49,3 +49,2 @@ "main": "index.js",

"dependencies": {
"amplitude": "^6.0.0",
"ansi-colors": "^4.1.1",

@@ -52,0 +51,0 @@ "axios": "^1.6.2",

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