From ee34d6c379f5857a2e6d3dc48f7e02e3b918ca8b Mon Sep 17 00:00:00 2001 From: Luke Watts Date: Mon, 11 Nov 2024 11:42:24 +0100 Subject: [PATCH] fix(general): prevent snyk-policy lib from interrupting stdout to ensure valid --json --sarif output --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index b1058f65a8..7247a55a3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -77,7 +77,7 @@ "snyk-nodejs-plugin": "1.3.4", "snyk-nuget-plugin": "2.7.10", "snyk-php-plugin": "1.10.0", - "snyk-policy": "^4.0.0", + "snyk-policy": "4.1.2", "snyk-python-plugin": "2.2.1", "snyk-resolve-deps": "4.8.0", "snyk-sbt-plugin": "2.18.1", @@ -21183,9 +21183,9 @@ "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" }, "node_modules/snyk-policy": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/snyk-policy/-/snyk-policy-4.0.0.tgz", - "integrity": "sha512-xkXsDhnZS2zcB/BAKVZKR09ZTkJ4M/5eVyuVrV7+BFMy7bSv2EZPDulGGsrkUhXbQwkm7eW+FtccZABRRdct2w==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/snyk-policy/-/snyk-policy-4.1.2.tgz", + "integrity": "sha512-xqsppScAhKR0+6dpMGLS/IOZD8kLOYvQp+v5kYBp878KH02kMMRLm/t0EyFTVQYBtsJBFiQrmVZreTMqWNknSA==", "dependencies": { "debug": "^4.1.1", "email-validator": "^2.0.4", @@ -40411,9 +40411,9 @@ } }, "snyk-policy": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/snyk-policy/-/snyk-policy-4.0.0.tgz", - "integrity": "sha512-xkXsDhnZS2zcB/BAKVZKR09ZTkJ4M/5eVyuVrV7+BFMy7bSv2EZPDulGGsrkUhXbQwkm7eW+FtccZABRRdct2w==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/snyk-policy/-/snyk-policy-4.1.2.tgz", + "integrity": "sha512-xqsppScAhKR0+6dpMGLS/IOZD8kLOYvQp+v5kYBp878KH02kMMRLm/t0EyFTVQYBtsJBFiQrmVZreTMqWNknSA==", "requires": { "debug": "^4.1.1", "email-validator": "^2.0.4", diff --git a/package.json b/package.json index 35d6e01574..f5edc5f0b3 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "snyk-nodejs-plugin": "1.3.4", "snyk-nuget-plugin": "2.7.10", "snyk-php-plugin": "1.10.0", - "snyk-policy": "^4.0.0", + "snyk-policy": "4.1.2", "snyk-python-plugin": "2.2.1", "snyk-resolve-deps": "4.8.0", "snyk-sbt-plugin": "2.18.1",