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.0.1-beta202312161504.0 to 14.0.1

14

lib/analytics.js

@@ -32,5 +32,13 @@ const Amplitude = require("amplitude");

events.push(...(await buildFileStatsEvents(linterEvent, data)));
const amplitudeProm = amplitudeClient.track(events);
debug("Analytics sent: " + eventType + " " + JSON.stringify(events));
return amplitudeProm;
return (async resolve => {
// Failing to send analytics isn't fatal.
try {
await amplitudeClient.track(events);
debug(`Analytics sent type: ${eventType} ${JSON.stringify(events)}`);
} catch (err) {
debug(`Analytics send failed type: ${eventType} ${JSON.stringify(events)} ${err}`);
} finally {
resolve();
}
})();
}

@@ -37,0 +45,0 @@

{
"name": "npm-groovy-lint",
"version": "14.0.1-beta202312161504.0",
"version": "14.0.1",
"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