snyk / policy

Snyk policy parser and matching logic
Other
8 stars 8 forks source link

fix: default policy file version to `v1` #106

Closed gclapperton closed 1 year ago

gclapperton commented 1 year ago

What does this PR do?

Previously, the policy file version defaulted to the current version of the library.

How should this be manually tested?

Manually bump the version in package.json to 3.0.0 and run npm pack Run npm install <policyRepoPath>/snyk-policy-3.0.0.tgz in Registry before running npm run test

snyksec commented 1 year ago

:tada: This PR is included in version 2.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: