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

Refactor/module info #526

Merged
merged 1 commit into from
May 21, 2019
Merged

Refactor/module info #526

merged 1 commit into from
May 21, 2019

Conversation

lili2311
Copy link
Contributor

@lili2311 lili2311 commented May 20, 2019

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

What does this PR do?

Convert module info to typescript

@lili2311 lili2311 self-assigned this May 20, 2019
Copy link
Contributor

@kyegupov kyegupov left a comment

Choose a reason for hiding this comment

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

approval + suggestions

inspect: async function (root, targetFile, options) {
var pluginOptions = _.merge({
async inspect(root, targetFile, options) {
const pluginOptions = _.merge({
Copy link
Contributor

Choose a reason for hiding this comment

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

just {args: options._doubleDashArgs, ...options} ?


function ModuleInfo(plugin, policy) {
export function ModuleInfo(plugin, policy) {
Copy link
Contributor

Choose a reason for hiding this comment

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

use src/lib/plugins/types.ts : Plugin type here?...

@lili2311
Copy link
Contributor Author

Will update both in next PR

@lili2311 lili2311 merged commit 39416db into master May 21, 2019
@lili2311 lili2311 deleted the refactor/module-info branch May 21, 2019 14:16
@snyksec
Copy link

snyksec commented May 21, 2019

🎉 This PR is included in version 1.166.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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