Skip to content

Commit

Permalink
Add specVersion query param to support 1.4 version via API call (#594)
Browse files Browse the repository at this point in the history
* Add specVersion query param to support 1.4 version via API call

Signed-off-by: Varun Kakumani <kakumanivrn@gmail.com>
Signed-off-by: Varun Kakumani <x3n0n@home.local>

* Bump version on package.json

Signed-off-by: Varun Kakumani <x3n0n@home.local>

* generating lock file

Signed-off-by: Varun Kakumani <x3n0n@home.local>

---------

Signed-off-by: Varun Kakumani <kakumanivrn@gmail.com>
Signed-off-by: Varun Kakumani <x3n0n@home.local>
Co-authored-by: Varun Kakumani <x3n0n@home.local>
  • Loading branch information
kakumanivrn and Varun Kakumani authored Sep 30, 2023
1 parent 5403a46 commit 2ebf793
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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 <prabhu@appthreat.com>",
Expand Down Expand Up @@ -105,4 +105,4 @@
"jest": "^29.7.0",
"prettier": "3.0.3"
}
}
}
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ const parseQueryString = (q, body, options = {}) => {
"projectVersion",
"parentUUID",
"serverUrl",
"apiKey"
"apiKey",
"specVersion"
];

for (const param of queryParams) {
Expand Down

0 comments on commit 2ebf793

Please sign in to comment.