Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: issue #745 #754

Merged
merged 11 commits into from
Mar 31, 2023
Merged

fix: issue #745 #754

merged 11 commits into from
Mar 31, 2023

Conversation

jkowalleck
Copy link
Member

@jkowalleck jkowalleck commented Mar 29, 2023

fixes #745

If normalizing packages' metadata fails, then this results no longer in an unhandled crash but in a warning message

requires: CycloneDX/cyclonedx-javascript-library#600

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck added the bug Something isn't working label Mar 29, 2023
@jkowalleck jkowalleck requested a review from a team as a code owner March 29, 2023 12:42
@jkowalleck jkowalleck marked this pull request as draft March 29, 2023 12:49
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck marked this pull request as ready for review March 29, 2023 17:05
<dependency ref="pkg:npm/vue@2.6.14?vcs_url=git%2Bhttps%3A//github.com/vuejs/vue.git"/>
</dependency>
<dependency ref="pkg:npm/vue@2.6.14?vcs_url=git%2Bhttps%3A//github.com/vuejs/vue.git"/>
</dependencies>
</bom>"
`;

exports[`integration regression: issue#745 generated json file: dist/.bom/bom.json 1`] = `
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

marker JSON

}"
`;

exports[`integration regression: issue#745 generated xml file: dist/.bom/bom.xml 1`] = `
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

marker XML

@jkowalleck
Copy link
Member Author

@sresch4b could you review the following JSON SBOM and see if it is as you'd expect it to be?
https://github.com/CycloneDX/cyclonedx-webpack-plugin/pull/754/files#r1152253619

@sresch4b could you review the following XML SBOM and see if it is as you'd expect it to be?
https://github.com/CycloneDX/cyclonedx-webpack-plugin/pull/754/files#r1152257284

both were created based on
https://github.com/CycloneDX/cyclonedx-webpack-plugin/tree/955abd321f9982586b9dc0853593deccae675ccc/tests/integration/regression-issue745

jkowalleck and others added 2 commits March 30, 2023 15:22
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck merged commit 7c6ba52 into master Mar 31, 2023
@jkowalleck jkowalleck deleted the fix-issue745 branch March 31, 2023 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: package normalization might cause crashes
1 participant