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.5.2 to 7.5.3

5

lib/analytics.js
const Amplitude = require("amplitude");
const crypto = require("crypto");
const debug = require("debug")("npm-groovy-lint");

@@ -191,2 +192,6 @@ const fse = require("fs-extra");

const sourceLines = await getSourceLines(source);
fileStatEventProps.fileId = crypto
.createHash("sha1")
.update(file)
.digest("base64");
fileStatEventProps.fileName = path.basename(file);

@@ -193,0 +198,0 @@ fileStatEventProps.fileExtension = path.extname(fileStatEventProps.fileName);

5

lib/test/lint-build.test.js

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

assert(!stdout.includes(`ToIgnore.groovy`), `ToIgnore.groovy has been ignored \n${stdout}`);
assert(stdout.includes(`npm-groovy-lint results in ${c.bold(10)} linted files`), `Number of linted files is displayed in summary \n${stdout}`);
assert(
stdout.includes(`npm-groovy-lint results in ${c.bold(10)} linted files`),
`Number of linted files is displayed in summary \n${stdout}`
);
});

@@ -45,0 +48,0 @@

2

package.json
{
"name": "npm-groovy-lint",
"version": "7.5.2",
"version": "7.5.3",
"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