-
Notifications
You must be signed in to change notification settings - Fork 688
feat: [CMPA-603] Add npm support for SBOM component metadata being FF #6950
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "name": "npm-component-metadata-v1", | ||
| "version": "1.0.0", | ||
| "dependencies": { | ||
| "lodash": "4.17.15" | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "name": "npm-component-metadata-v2", | ||
| "version": "1.0.0", | ||
| "dependencies": { | ||
| "lodash": "4.17.15" | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "name": "npm-component-metadata-v3", | ||
| "version": "1.0.0", | ||
| "dependencies": { | ||
| "lodash": "4.17.15" | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "name": "npm-workspace-component-metadata", | ||
| "version": "1.0.0", | ||
| "license": "MIT", | ||
| "private": true, | ||
| "workspaces": [ | ||
| "packages/a", | ||
| "packages/b" | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "name": "a", | ||
| "version": "1.0.0", | ||
| "license": "ISC", | ||
| "dependencies": { | ||
| "ms": "2.1.3" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "name": "b", | ||
| "version": "1.0.0", | ||
| "license": "ISC", | ||
| "dependencies": { | ||
| "is-number": "7.0.0", | ||
| "a": "^1.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.
can this hold values such as null and undefined? Just a sanity question
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.
Effectively yes, in the vast majority of cases it won't be getting set.
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.
https://github.com/snyk/cli/pull/6948/changes#diff-eb8513f7e557af1081e96db6b6603ca292cc0c2bf383fb00c5f914431372cee3 is where we build the
Optionsobject that gets passed in to the plugininspectmethod. So can be undefined