-
-
Notifications
You must be signed in to change notification settings - Fork 9
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: use the non-deprecated version of metadata/tools for 1.5+ #1343
Conversation
Signed-off-by: Jeremy Long <[email protected]>
@@ -332,10 +337,15 @@ export class CycloneDxWebpackPlugin { | |||
? undefined | |||
: new Date() | |||
|
|||
for (const tool of this.#makeTools(cdxToolBuilder, logger.getChildLogger('ToolMaker'))) { | |||
bom.metadata.tools.add(tool) | |||
if (this.specVersion >= CDX.Spec.Version.v1dot5) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for code branching.
the library knows how to transform a component
to atool
, if required.
see existing art:
the changes in this PR are considered a breaking change. |
This comment was marked as outdated.
This comment was marked as outdated.
thank you for the contribution, @jeremylong It looks like your changes duplicate #1331. |
"type": "library", | ||
"name": "cyclonedx-library", | ||
"group": "@cyclonedx", | ||
"version": "7.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be "version": "libVersion-testing",
"type": "library", | ||
"name": "webpack-plugin", | ||
"group": "@cyclonedx", | ||
"version": "3.15.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be "version": "thisVersion-testing",
This PR is being closed as a duplicate. I didn't see you had already started implementing this. Any idea what your timeline is for the next release with your PRs? |
next release is planned for January 2025. |
fixes #1330
closes #1331