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.26.2 to 3.26.3

2

dist/sub-process.d.ts

@@ -0,3 +1,5 @@

/// <reference types="node" />
export declare function execute(command: string, args: string[], options: {
cwd?: string;
env?: NodeJS.ProcessEnv;
}, perLineCallback?: (s: string) => Promise<void>): Promise<string>;

@@ -10,7 +10,24 @@ "use strict";

function execute(command, args, options, perLineCallback) {
const spawnOptions = { shell: true };
if (options && options.cwd) {
const spawnOptions = {
shell: true,
env: { ...process.env },
};
if (options === null || options === void 0 ? void 0 : options.cwd) {
spawnOptions.cwd = options.cwd;
}
if (options === null || options === void 0 ? void 0 : options.env) {
spawnOptions.env = { ...process.env, ...options.env };
}
args = (0, shescape_1.quoteAll)(args, spawnOptions);
// Before spawning an external process, we look if we need to restore the system proxy configuration,
// which overides the cli internal proxy configuration.
if (process.env.SNYK_SYSTEM_HTTP_PROXY !== undefined) {
spawnOptions.env.HTTP_PROXY = process.env.SNYK_SYSTEM_HTTP_PROXY;
}
if (process.env.SNYK_SYSTEM_HTTPS_PROXY !== undefined) {
spawnOptions.env.HTTPS_PROXY = process.env.SNYK_SYSTEM_HTTPS_PROXY;
}
if (process.env.SNYK_SYSTEM_NO_PROXY !== undefined) {
spawnOptions.env.NO_PROXY = process.env.SNYK_SYSTEM_NO_PROXY;
}
return new Promise((resolve, reject) => {

@@ -17,0 +34,0 @@ let stdout = '';

2

package.json

@@ -57,3 +57,3 @@ {

},
"version": "3.26.2"
"version": "3.26.3"
}

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