Socket
Socket
Sign inDemoInstall

@snyk/fix-poetry

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/fix-poetry - npm Package Compare versions

Comparing version 0.8.3 to 0.9.0

2

dist/check-poetry-is-installed.js

@@ -23,3 +23,3 @@ "use strict";

try {
res = await child_process_1.execute('poetry', ['--version'], {});
res = await (0, child_process_1.execute)('poetry', ['--version'], {});
}

@@ -26,0 +26,0 @@ catch (e) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.poetryAdd = exports.isPoetrySupportedVersion = exports.isPoetryInstalled = void 0;
var check_poetry_is_installed_1 = require("./check-poetry-is-installed");

@@ -4,0 +5,0 @@ Object.defineProperty(exports, "isPoetryInstalled", { enumerable: true, get: function () { return check_poetry_is_installed_1.isPoetryInstalled; } });

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.poetryAdd = void 0;
const bottleneck_1 = require("bottleneck");
const debugLib = require("debug");
const bottleneck_1 = require("bottleneck");
const child_process_1 = require("@snyk/child-process");

@@ -21,3 +21,3 @@ const debug = debugLib('snyk-fix:poetry');

// https://python-poetry.org/docs/managing-environments/
await child_process_1.execute('poetry', ['env', 'use', config.python], {
await (0, child_process_1.execute)('poetry', ['env', 'use', config.python], {
cwd: projectPath,

@@ -31,3 +31,3 @@ });

try {
res = await child_process_1.execute('poetry', args, {
res = await (0, child_process_1.execute)('poetry', args, {
cwd: projectPath,

@@ -43,3 +43,3 @@ });

// set it back to system python
await child_process_1.execute('poetry', ['env', 'use', 'system'], {
await (0, child_process_1.execute)('poetry', ['env', 'use', 'system'], {
cwd: projectPath,

@@ -46,0 +46,0 @@ });

{
"name": "@snyk/fix-poetry",
"description": "Snyk python ecosystem fix remediation",
"version": "0.8.3",
"version": "0.9.0",
"main": "dist/index.js",

@@ -18,3 +18,5 @@ "scripts": {

"snyk-test": "snyk test",
"pkg-binaries": "npx pkg . -t node12-linux-x64,node12-macos-x64,node12-win-x64 --out-path ./dist/binaries"
"pkg-binaries": "npx pkg . -t node12-linux-x64,node12-macos-x64,node12-win-x64 --out-path ./dist/binaries",
"ci:build": "tsc --project ci/tsconfig.test.json && cp -prnv test ci/dist && rm ci/dist/**/*.ts",
"ci:test": "jest --config ci/jest.config.js"
},

@@ -37,21 +39,21 @@ "types": "./dist/index.d.ts",

"dependencies": {
"@snyk/child-process": "^0.3.3",
"@snyk/child-process": "^0.4.0",
"bottleneck": "2.19.5",
"debug": "4.3.4",
"tslib": "^1.10.0"
"tslib": "^2.6.0"
},
"devDependencies": {
"@types/debug": "4.1.5",
"@types/jest": "^26.0.23",
"@types/node": "^15.3.1",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"eslint": "5.14",
"eslint-config-prettier": "^6.10.0",
"jest": "^25.1.0",
"prettier": "^1.19.1",
"ts-jest": "^25.1.0",
"ts-node": "8.6.2",
"tsc-watch": "^4.1.0",
"typescript": "^3.7.5"
"@types/debug": "4.1.8",
"@types/jest": "^28.1.8",
"@types/node": "^20.3.2",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"eslint": "8.43",
"eslint-config-prettier": "^8.8.0",
"jest": "^28.1.3",
"prettier": "^2.8.8",
"ts-jest": "^28.0.8",
"ts-node": "10.9.1",
"tsc-watch": "^6.0.4",
"typescript": "^5.1.6"
},

@@ -68,3 +70,3 @@ "pkg": {

},
"gitHead": "db293a97a25960032992b609d1b943c38807e801"
"gitHead": "33dd33e84849b5c5f5ecd2b16f40962976fbf63a"
}

Sorry, the diff of this file is not supported yet

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