Removes yarn2 support as it is breaking snyk for yarn users on node8.
Yarn2 requires node>10. We still have users on node8 using yarn and ever since we added yarn2 they are no longer able to add snyk to their projects.
Since snyk still supports node8, we must unfortunately remove our support for yarn2.
Node8 support will be dropped in the near future, after which we can reinstate yarn2 support.
In the meantime, users can pin the version 1.385.0 to retain yarn 2 support
What this does
Removes yarn2 support as it is breaking snyk for yarn users on node8.
Yarn2 requires node>10. We still have users on node8 using yarn and ever since we added yarn2 they are no longer able to add snyk to their projects.
Since snyk still supports node8, we must unfortunately remove our support for yarn2.
Node8 support will be dropped in the near future, after which we can reinstate yarn2 support. In the meantime, users can pin the version 1.385.0 to retain yarn 2 support
See relevant issue: https://github.com/snyk/snyk/issues/1270