Socket
Socket
Sign inDemoInstall

snyk-gradle-plugin

Package Overview
Dependencies
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snyk-gradle-plugin - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

11

dist/index.js

@@ -227,3 +227,5 @@ "use strict";

function cleanupVersionOutput(gradleVersionOutput) {
const matchedData = gradleVersionOutput.match(/(--[\s\S]*?$)/g);
// Everything since the first "------" line.
// [\s\S] used instead of . as it's the easiest way to match \n too
const matchedData = gradleVersionOutput.match(/(-{60}[\s\S]+$)/g);
if (matchedData) {

@@ -242,8 +244,7 @@ return matchedData[0];

const gradleVersion = gradleOutputArray[1].split(' ')[1].trim();
const versionMetaInformation = gradleOutputArray.slice(4, gradleOutputArray.length);
const versionMetaInformation = gradleOutputArray.slice(4);
// from line 4 until the end we get multiple meta information such as Java, Groovy, Kotlin, etc.
const metaBuildVersion = {};
// we want to remove all the new lines before processing each line from gradle -v output
versionMetaInformation.map((value) => value.replace(/[\s\S](\r\n|\n|\r)/g, ''))
.filter((value) => value && value.length > 0 && value.includes(': '))
// Select the lines in "Attribute: value format"
versionMetaInformation.filter((value) => value && value.length > 0 && value.includes(': '))
.map((value) => value.split(/(.*): (.*)/))

@@ -250,0 +251,0 @@ .forEach((splitValue) => metaBuildVersion[toCamelCase(splitValue[1].trim())] = splitValue[2].trim());

@@ -23,3 +23,3 @@ {

"test-functional": "tap --node-arg=-r --node-arg=ts-node/register -R spec ./test/functional/*.test.[tj]s",
"test-system": "tap --node-arg=-r --node-arg=ts-node/register -R spec --timeout=180 ./test/system/*.test.[tj]s",
"test-system": "tap --node-arg=-r --node-arg=ts-node/register -R spec --timeout=240 ./test/system/*.test.[tj]s",
"test-manual": "jest test/manual -b"

@@ -52,3 +52,3 @@ },

},
"version": "3.2.1"
"version": "3.2.2"
}

@@ -7,2 +7,6 @@ ![Snyk logo](https://snyk.io/style/asset/logo/snyk-print.svg)

| :information_source: This repository is only a plugin to be used with the Snyk CLI tool. To use this plugin to test and fix vulnerabilities in your project, install the Snyk CLI tool first. Head over to [snyk.io](https://github.com/snyk/snyk) to get started. |
| --- |
# Snyk Gradle CLI Plugin

@@ -15,12 +19,13 @@

❓No issues expected but test not updated yet to verify
✅Supported and verified with tests
❌ Not supported
❓ No issues expected but not regularly tested
✅ Supported and verified with tests
## Supported OS
| OS | Supported |
|---|---|
| Windows | ✅|
| Linux | ✅|
| OSX | ✅|
| OS | Supported |
|--------|------------|
| Windows| ✅ |
| Linux | ✅ |
| OSX | ️✅ |

@@ -30,17 +35,18 @@ ## Supported Node versions

| Node | Supported |
|---|---|
| 6 | ✅|
| 8 | ✅|
| 10 | ✅|
| 12 | ❓|
|-------|------------|
| 6 | ✅ |
| 8 | ✅ |
| 10 | ✅ |
| 12 | ✅ |
## Supported Java & Gradle versions
| Java / Gradle | 2.* | 3.* | 4.* | 5.* |
|---|---|---|---|---|
| 8 | ✅ | ✅ | ✅ | ✅ |
| 9 | ✅ | ✅ | ✅ | ✅ |
| 10 | ✅ | ✅ | ✅ | ✅ |
| 11 | ✅ | ✅ | ✅ | ✅ |
| 13 | ❓ | ❓ | ❓ | ❓ |
| Java / Gradle |2.*|3.*|4.*|5.*|6.0|
|----------------|---|---|---|---|---|
| 8 (LTS) | ✅ | ✅ | ✅ | ✅ | ✅ |
| 9 | ❌ | ❌ | ❓ | ❓ | ❓ |
| 10 | ❌ | ❌ | ❓ | ❓ | ❓ |
| 11 (LTS) | ❌ | ❌ | ✅ | ✅ | ✅ |
| 12 | ❌ | ❌ | ❓ | ✅ | ️✅ |
| 13 | ❌ | ❌ | ✅ | ❌ | ✅ |

@@ -47,0 +53,0 @@

Sorry, the diff of this file is not supported yet

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