From a1f09ef671f65c4404e961eb6512f09b43d916f9 Mon Sep 17 00:00:00 2001 From: Varun Kakumani Date: Fri, 29 Sep 2023 08:26:57 +0100 Subject: [PATCH 1/3] Add specVersion query param to support 1.4 version via API call Signed-off-by: Varun Kakumani Signed-off-by: Varun Kakumani --- server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index a57f7f0fd7..6637fb1ef0 100644 --- a/server.js +++ b/server.js @@ -55,7 +55,8 @@ const parseQueryString = (q, body, options = {}) => { "projectVersion", "parentUUID", "serverUrl", - "apiKey" + "apiKey", + "specVersion" ]; for (const param of queryParams) { From 849d792259ebca7e808a4d25f8ca9603f4fe378d Mon Sep 17 00:00:00 2001 From: Varun Kakumani Date: Fri, 29 Sep 2023 09:34:43 +0100 Subject: [PATCH 2/3] Bump version on package.json Signed-off-by: Varun Kakumani --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a3d50a3a2f..600671f66e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cyclonedx/cdxgen", - "version": "9.8.4", + "version": "9.8.5", "description": "Creates CycloneDX Software Bill-of-Materials (SBOM) from source or container image", "homepage": "http://github.com/cyclonedx/cdxgen", "author": "Prabhu Subramanian ", @@ -105,4 +105,4 @@ "jest": "^29.7.0", "prettier": "3.0.3" } -} \ No newline at end of file +} From 70dddb2967396cc9c69e96a990e47f5c476ce73e Mon Sep 17 00:00:00 2001 From: Varun Kakumani Date: Fri, 29 Sep 2023 23:11:47 +0100 Subject: [PATCH 3/3] generating lock file Signed-off-by: Varun Kakumani --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2613793c18..2602d34b6f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cyclonedx/cdxgen", - "version": "9.8.4", + "version": "9.8.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cyclonedx/cdxgen", - "version": "9.8.4", + "version": "9.8.5", "license": "Apache-2.0", "dependencies": { "@babel/parser": "^7.22.16",