@snyk/fix-pipenv-pipfile
Advanced tools
Comparing version 0.4.3 to 0.5.2
@@ -5,3 +5,3 @@ "use strict"; | ||
const debugLib = require("debug"); | ||
const sub_process_1 = require("./sub-process"); | ||
const child_process_1 = require("@snyk/child-process"); | ||
const debug = debugLib('snyk-fix:python:Pipfile'); | ||
@@ -24,3 +24,3 @@ function extractPipenvVersion(stdout) { | ||
try { | ||
res = await sub_process_1.execute('pipenv', ['--version'], {}); | ||
res = await child_process_1.execute('pipenv', ['--version'], {}); | ||
} | ||
@@ -27,0 +27,0 @@ catch (e) { |
import Bottleneck from 'bottleneck'; | ||
import { ExecuteResponse } from './sub-process'; | ||
import { ExecuteResponse } from '@snyk/child-process'; | ||
interface PipEnvConfig { | ||
@@ -4,0 +4,0 @@ python?: string; |
@@ -6,3 +6,3 @@ "use strict"; | ||
const bottleneck_1 = require("bottleneck"); | ||
const sub_process_1 = require("./sub-process"); | ||
const child_process_1 = require("@snyk/child-process"); | ||
const debug = debugLib('snyk-fix:python:Pipfile'); | ||
@@ -31,3 +31,3 @@ const limiter = new bottleneck_1.default({ | ||
try { | ||
res = await sub_process_1.execute('pipenv', args, { | ||
res = await child_process_1.execute('pipenv', args, { | ||
cwd: projectPath, | ||
@@ -34,0 +34,0 @@ }); |
{ | ||
"name": "@snyk/fix-pipenv-pipfile", | ||
"description": "Snyk python ecosystem fix remediation", | ||
"version": "0.4.3", | ||
"version": "0.5.2", | ||
"main": "dist/index.js", | ||
@@ -36,2 +36,3 @@ "scripts": { | ||
"dependencies": { | ||
"@snyk/child-process": "^0.3.1", | ||
"bottleneck": "2.19.5", | ||
@@ -47,4 +48,4 @@ "debug": "4.3.1", | ||
"@types/node": "^15.3.1", | ||
"@typescript-eslint/eslint-plugin": "^2.18.0", | ||
"@typescript-eslint/parser": "^4.22.1", | ||
"@typescript-eslint/eslint-plugin": "^4.26.0", | ||
"@typescript-eslint/parser": "^4.26.0", | ||
"eslint": "5.14", | ||
@@ -69,3 +70,3 @@ "eslint-config-prettier": "^6.10.0", | ||
}, | ||
"gitHead": "094408004b73fc9056e969c7105c7a46f6df48d7" | ||
"gitHead": "f247c50170cf67561cf870a12f72e2e2f7030511" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
0
10158
6
14
130
+ Added@snyk/child-process@^0.3.1
+ Added@snyk/child-process@0.3.3(transitive)