New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

snyk-go-plugin

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snyk-go-plugin - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

20

lib/index.js

@@ -111,8 +111,18 @@ var fs = require('fs');

pkg.from = fromPath.concat(pkg.name + '@' + pkg.version)
pkg.from = fromPath;
if (!isInternalPackage(pkg.name)) {
pkg.from = pkg.from.concat(pkg.name + '@' + pkg.version)
}
goDepsTree.Deps && goDepsTree.Deps.forEach(function (dep) {
var child = recursivelyBuildPkgTree(
dep, depLocks, projectRootPath, pkg.from)
pkg.dependencies[child.name] = child;
dep, depLocks, projectRootPath, pkg.from);
if (isInternalPackage(child.name)) {
Object.keys(child.dependencies).forEach(function (grandChildName) {
pkg.dependencies[grandChildName] = child.dependencies[grandChildName];
});
} else {
pkg.dependencies[child.name] = child;
}
})

@@ -123,2 +133,6 @@

function isInternalPackage(importPath) {
return (importPath.indexOf('/internal/') != -1)
}
function parseDepLock(root, targetFile) {

@@ -125,0 +139,0 @@ var lock = fs.readFileSync(path.join(root, targetFile));

2

package.json

@@ -27,3 +27,3 @@ {

},
"version": "1.2.2"
"version": "1.2.3"
}
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