Closed gclapperton closed 1 year ago
The vulnerability object is mutated when filtering, so this PR update the vulns type and the return type to take this into account.
After reviewing policy lib usage in the Snyk CLI, isUpgradable, upgradePath, isPatchable and patches have also been made optional
:tada: This PR is included in version 2.0.8 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
What does this PR do?
The vulnerability object is mutated when filtering, so this PR update the vulns type and the return type to take this into account.
After reviewing policy lib usage in the Snyk CLI, isUpgradable, upgradePath, isPatchable and patches have also been made optional