-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace @cyclonedx/cyclonedx-library's internal types with cyclonedx …
…specification types (#6155) * moved dependency resolution to appropriate package.json file Signed-off-by: Amndeep Singh Mann <[email protected]> * added resolution for @types/lru-cache to not try to install lru-cache@11 which is causing breakages for us at the moment due to minimum supported node versions Signed-off-by: Amndeep Singh Mann <[email protected]> * only the frontend package.json needs to know about vue Signed-off-by: Amndeep Singh Mann <[email protected]> * re-ordered scripts Signed-off-by: Amndeep Singh Mann <[email protected]> * manually delete libxmljs2 which is an optional dependency for @cyclonedx/cyclonedx-library. this optional dependency adds architecture specific binaries to the node_modules, which we do not want since they get packaged with hdf-converters. hdf-converters is used in the saf cli where we are trying to make noarch rpm binaries. Signed-off-by: Amndeep Singh Mann <[email protected]> * combination between applying the packagejson changes, generic updates, and correcting resolution urls to use the npm and not the yarn registry Signed-off-by: Amndeep Singh Mann <[email protected]> * while it works and builds properly when doing a local and a docker build, it fails when trying to do a netlify build so at this point I'm throwing my hands up. there doesn't seem to be a way to resolve that problem other than editing the yarnlock file along with deleting the dependency which has no straight forward way of happening aside from doing some terminal magic which I've been super reluctant to do. consequently we're just going to have architecture specific binaries in the saf cli rpm binary. Signed-off-by: Amndeep Singh Mann <[email protected]> * Removed cyclonedx library dependency entirely and replaced internal types/classes usage with types built off of the specification Signed-off-by: Amndeep Singh Mann <[email protected]> * linter Signed-off-by: Amndeep Singh Mann <[email protected]> --------- Signed-off-by: Amndeep Singh Mann <[email protected]>
- Loading branch information
Showing
10 changed files
with
9,289 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
176 changes: 88 additions & 88 deletions
176
libs/hdf-converters/sample_jsons/cyclonedx_sbom_mapper/sbom-dropwizard-vex-hdf-withraw.json
Large diffs are not rendered by default.
Oops, something went wrong.
176 changes: 88 additions & 88 deletions
176
libs/hdf-converters/sample_jsons/cyclonedx_sbom_mapper/sbom-dropwizard-vex-hdf.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"platform": { | ||
"name": "Heimdall Tools", | ||
"release": "2.10.14" | ||
"release": "2.10.15" | ||
}, | ||
"version": "2.10.14", | ||
"version": "2.10.15", | ||
"statistics": {}, | ||
"profiles": [ | ||
{ | ||
|
@@ -90,13 +90,13 @@ | |
{ | ||
"status": "failed", | ||
"code_desc": "Component urn:cdx:3e671687-395b-41f5-a30f-a58921a69b79/1#pkg:maven/com.fasterxml.jackson.core/[email protected]?type=jar is vulnerable", | ||
"message": "-Component Summary-\n\n- Bom-ref: urn:cdx:3e671687-395b-41f5-a30f-a58921a69b79/1#pkg:maven/com.fasterxml.jackson.core/[email protected]?type=jar\n\n- Name: urn:cdx:3e671687-395b-41f5-a30f-a58921a69b79/1#pkg:maven/com.fasterxml.jackson.core/[email protected]?type=jar", | ||
"message": "-Component Summary-\n\n- Type: application\n\n- Bom-ref: urn:cdx:3e671687-395b-41f5-a30f-a58921a69b79/1#pkg:maven/com.fasterxml.jackson.core/[email protected]?type=jar\n\n- Name: urn:cdx:3e671687-395b-41f5-a30f-a58921a69b79/1#pkg:maven/com.fasterxml.jackson.core/[email protected]?type=jar", | ||
"start_time": "" | ||
} | ||
] | ||
} | ||
], | ||
"sha256": "6e7fa4296080be8402cc3a052be4ef033a98f9520959b3ec5dce5c906651160f" | ||
"sha256": "11edd9546478812825f507e52fd640da19bd27f7370f43bfb90b455dbbe03fed" | ||
} | ||
], | ||
"passthrough": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"platform": { | ||
"name": "Heimdall Tools", | ||
"release": "2.10.14" | ||
"release": "2.10.15" | ||
}, | ||
"version": "2.10.14", | ||
"version": "2.10.15", | ||
"statistics": {}, | ||
"profiles": [ | ||
{ | ||
|
@@ -90,13 +90,13 @@ | |
{ | ||
"status": "failed", | ||
"code_desc": "Component urn:cdx:3e671687-395b-41f5-a30f-a58921a69b79/1#pkg:maven/com.fasterxml.jackson.core/[email protected]?type=jar is vulnerable", | ||
"message": "-Component Summary-\n\n- Bom-ref: urn:cdx:3e671687-395b-41f5-a30f-a58921a69b79/1#pkg:maven/com.fasterxml.jackson.core/[email protected]?type=jar\n\n- Name: urn:cdx:3e671687-395b-41f5-a30f-a58921a69b79/1#pkg:maven/com.fasterxml.jackson.core/[email protected]?type=jar", | ||
"message": "-Component Summary-\n\n- Type: application\n\n- Bom-ref: urn:cdx:3e671687-395b-41f5-a30f-a58921a69b79/1#pkg:maven/com.fasterxml.jackson.core/[email protected]?type=jar\n\n- Name: urn:cdx:3e671687-395b-41f5-a30f-a58921a69b79/1#pkg:maven/com.fasterxml.jackson.core/[email protected]?type=jar", | ||
"start_time": "" | ||
} | ||
] | ||
} | ||
], | ||
"sha256": "6e7fa4296080be8402cc3a052be4ef033a98f9520959b3ec5dce5c906651160f" | ||
"sha256": "11edd9546478812825f507e52fd640da19bd27f7370f43bfb90b455dbbe03fed" | ||
} | ||
], | ||
"passthrough": { | ||
|
Oops, something went wrong.