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: pass snykHttpClient to plugin.inspect #3863

Merged
merged 1 commit into from Sep 23, 2022

Conversation

Jdunsby
Copy link
Contributor

@Jdunsby Jdunsby commented Sep 23, 2022

What does this PR do?

Creates an HTTP request client wrapper that allows plugins to make authenticated requests to Snyk's backend.
Passes this as an additional argument to plugin.inspect

Introduced new snyk-gradle-plugin flag 'gradle-normalize-deps' see snyk/snyk-gradle-plugin#226

@github-actions
Copy link
Contributor

github-actions bot commented Sep 23, 2022

Warnings
⚠️

Since the CLI is unifying on a standard and improved tooling, we're starting to migrate old-style imports and exports to ES6 ones.
A file you've modified is using either module.exports or require(). If you can, please update them to ES6 import syntax and export syntax.
Files found:

  • src/cli/args.ts
  • src/lib/module-info/index.ts
  • src/lib/plugins/get-single-plugin-result.ts
  • test/tap/cli-monitor.acceptance.test.ts

Generated by 🚫 dangerJS against 17b1273

@Jdunsby Jdunsby force-pushed the feat/pass-http-client-to-plugins branch 2 times, most recently from 910886d to 7853869 Compare September 23, 2022 13:30
@Jdunsby Jdunsby marked this pull request as ready for review September 23, 2022 13:32
@Jdunsby Jdunsby requested review from a team as code owners September 23, 2022 13:32
@Jdunsby Jdunsby self-assigned this Sep 23, 2022
@Jdunsby Jdunsby force-pushed the feat/pass-http-client-to-plugins branch 4 times, most recently from 99d4566 to e4132df Compare September 23, 2022 14:26
@Jdunsby Jdunsby force-pushed the feat/pass-http-client-to-plugins branch from e4132df to 17b1273 Compare September 23, 2022 16:11
@Jdunsby Jdunsby merged commit b69d4b3 into master Sep 23, 2022
@Jdunsby Jdunsby deleted the feat/pass-http-client-to-plugins branch September 23, 2022 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants