Huge News!Announcing our $40M Series B led by Abstract Ventures.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.18.0 to 1.18.1

5

dist/sub-process.js

@@ -6,7 +6,2 @@ "use strict";

function execute(command, args, options) {
if (process.env.TERM_PROGRAM === 'vscode') {
throw new Error('running go subprocesses in VS Code seems to be broken!');
// Namely, it seems that no data is collected from stdout/stderr streams.
// Even just running `go version > 1.txt` in the terminal produces an empty file.
}
const spawnOptions = { shell: true };

@@ -13,0 +8,0 @@ if (options === null || options === void 0 ? void 0 : options.cwd) {

import * as childProcess from 'child_process';
export function execute(command: string, args: string[], options?: { cwd?: string, env?: any }): Promise<string> {
if (process.env.TERM_PROGRAM === 'vscode') {
throw new Error('running go subprocesses in VS Code seems to be broken!');
// Namely, it seems that no data is collected from stdout/stderr streams.
// Even just running `go version > 1.txt` in the terminal produces an empty file.
}
const spawnOptions: childProcess.SpawnOptions = {shell: true};

@@ -12,0 +5,0 @@ if (options?.cwd) {

2

package.json

@@ -44,3 +44,3 @@ {

},
"version": "1.18.0"
"version": "1.18.1"
}

Sorry, the diff of this file is not supported yet

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