snyk / policy

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

fix: changes compilation target to work with snyk's cli #127

Closed jcsackett closed 1 year ago

jcsackett commented 1 year ago

What does this PR do?

The cli has several tests defined using a tool called tap. For reasons unknown, tap sees use of the ?? operator as invalid syntax.

Using the es2019 target leads the transpiler to use a different final js form that tap seems to work well with.

CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

team-narwhal-user commented 1 year ago

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

The release is available on:

Your semantic-release bot :package::rocket: