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 2.6.1 to 2.7.0

3

dist/index.d.ts

@@ -23,2 +23,5 @@ export interface BaseInspectOptions {

targetFile?: string;
meta?: {
allDepRootNames?: string[];
};
}

@@ -25,0 +28,0 @@ export interface DepDict {

28

dist/index.js

@@ -35,5 +35,10 @@ "use strict";

}
const depTreeAndDepRootNames = yield getAllDepsOneProject(root, targetFile, options, subProject);
if (depTreeAndDepRootNames.allDepRootNames) {
plugin.meta = plugin.meta || {};
plugin.meta.allDepRootNames = depTreeAndDepRootNames.allDepRootNames;
}
return {
plugin,
package: yield getAllDepsOneProject(root, targetFile, options, subProject),
package: depTreeAndDepRootNames.depTree,
};

@@ -71,14 +76,21 @@ });

const allProjectDeps = yield getAllDeps(root, targetFile, options);
const allDepRootNames = Object.keys(allProjectDeps.projects);
let depDict = {};
if (subProject) {
return getDepsSubProject(root, subProject, allProjectDeps);
return {
depTree: getDepsSubProject(root, subProject, allProjectDeps),
allDepRootNames,
};
}
depDict = allProjectDeps.projects[allProjectDeps.defaultProject].depDict;
return {
dependencies: depDict,
name: packageName,
// TODO: extract from project
// https://snyksec.atlassian.net/browse/BST-558
version: '0.0.0',
packageFormatVersion,
depTree: {
dependencies: depDict,
name: packageName,
// TODO: extract from project
// https://snyksec.atlassian.net/browse/BST-558
version: '0.0.0',
packageFormatVersion,
},
allDepRootNames,
};

@@ -85,0 +97,0 @@ });

@@ -43,3 +43,3 @@ {

},
"version": "2.6.1"
"version": "2.7.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