Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nx-go/nx-go

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx-go/nx-go - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

2

package.json
{
"name": "@nx-go/nx-go",
"version": "2.4.0",
"version": "2.5.0",
"main": "src/index.js",

@@ -5,0 +5,0 @@ "generators": "./generators.json",

@@ -44,2 +44,4 @@ "use strict";

try {
const goModuleJSON = (0, child_process_1.execSync)('go list -m -json', { encoding: 'utf-8', cwd: workspaceRootPath });
const goModule = JSON.parse(goModuleJSON);
const goPackageDataJson = (0, child_process_1.execSync)('go list -json ./' + file, { encoding: 'utf-8', cwd: workspaceRootPath });

@@ -51,4 +53,4 @@ const goPackage = JSON.parse(goPackageDataJson);

return listOfImports
.filter((d) => d.startsWith(goPackage.Module.Path))
.map((d) => d.substring(goPackage.Module.Path.length + 1))
.filter((d) => d.startsWith(goModule.Path))
.map((d) => d.substring(goModule.Path.length + 1))
.map((rootDir) => projectRootLookup.get(rootDir))

@@ -55,0 +57,0 @@ .filter((projectName) => projectName);

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