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

Enhance NPM dependency resolver to resolve deprecated license styles #52

Merged
merged 4 commits into from Aug 7, 2021

Conversation

zooltd
Copy link
Contributor

@zooltd zooltd commented Aug 7, 2021

This patch enhances the NPM dependency resolver to resolve deprecated license styles, which are like

{
  "license" : {
    "type" : "ISC",
    "url" : "https://opensource.org/licenses/ISC"
  }
}

{
  "licenses" : [
    {
      "type": "MIT",
      "url": "https://www.opensource.org/licenses/mit-license.php"
    },
    {
      "type": "Apache-2.0",
      "url": "https://opensource.org/licenses/apache2.0.php"
    }
  ]
}

@wu-sheng wu-sheng added this to the 0.2.0 milestone Aug 7, 2021
@wu-sheng wu-sheng added the enhancement New feature or request label Aug 7, 2021
pkg/deps/npm.go Outdated Show resolved Hide resolved
zooltd and others added 3 commits August 7, 2021 16:39
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Copy link
Member

@kezhenxu94 kezhenxu94 left a comment

Choose a reason for hiding this comment

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

Thanks

@kezhenxu94 kezhenxu94 merged commit 63d8963 into apache:main Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants