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: use depGraph lib for npm and yarn snyk-test path #494

Merged
merged 1 commit into from
May 8, 2019

Conversation

kyegupov
Copy link
Contributor

@kyegupov kyegupov commented May 8, 2019

  • Ready for review
  • Follows CONTRIBUTING rules
  • Reviewed by Snyk internal team

What does this PR do?

Effectively the second part of #459 , with updates

What are the relevant tickets?

https://snyksec.atlassian.net/browse/BST-582

@kyegupov kyegupov force-pushed the feat/use-dep-graph-for-npm-test branch 3 times, most recently from 4ab0014 to 90e979c Compare May 8, 2019 13:53
@@ -114,8 +125,7 @@ async function assembleLocalPayload(root: string, options): Promise<Payload> {
if (policyLocations.length > 0) {
try {
policy = await snyk.policy.load(policyLocations, options);
// TODO(kyegupov): is this logging required?
console.log('POLICY: ', JSON.stringify({...pkg, policy}));
// console.log('POLICY: ', JSON.stringify({...pkg, policy}));
Copy link
Contributor

Choose a reason for hiding this comment

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

might as well just delete it if you think it's not necessary

@kyegupov kyegupov force-pushed the feat/use-dep-graph-for-npm-test branch 2 times, most recently from 5982e26 to 77f228c Compare May 8, 2019 14:15
@kyegupov kyegupov force-pushed the feat/use-dep-graph-for-npm-test branch from 77f228c to a085a05 Compare May 8, 2019 14:25
@kyegupov kyegupov merged commit 7ae9199 into master May 8, 2019
@snyksec
Copy link

snyksec commented May 8, 2019

🎉 This PR is included in version 1.163.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@orsagie orsagie deleted the feat/use-dep-graph-for-npm-test branch May 12, 2019 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants