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

feat: start implementing useFormat including OSV #225

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

fraxken
Copy link
Member

@fraxken fraxken commented Jan 26, 2024

No description provided.

@fraxken
Copy link
Member Author

fraxken commented Jan 26, 2024

close #196

StandardizeKind
} from "./standard/index.js";

export function formatVulnsPayload(format: BaseStrategyFormat = "Preserve") {
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we should keep Preserve format.

We could have only Standard & OSV. If the user wanna "preserve" then he just give undefined or null format (which would be the default), wdyt ?

Copy link
Member Author

@fraxken fraxken Mar 18, 2024

Choose a reason for hiding this comment

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

Yes could be a good idea (however depend on the implementation because I think we use that type in multiple location).

Anyway in the long term standard should dissapear in favor of OSV (which is the real open source standard).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants