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.2.3 to 14.2.4

27

lib/analytics.js

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

events.push(...(await buildFileStatsEvents(linterEvent, data)));
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();
}
})();
try {
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();
}
})();
} catch (e) {
debug(`Analytics send failed type: ${eventType} ${JSON.stringify(events)} ${e}`);
return Promise.resolve();
}
}

@@ -45,0 +50,0 @@

{
"name": "npm-groovy-lint",
"version": "14.2.3",
"version": "14.2.4",
"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