Skip to content

Enhance NPM dependency resolver to resolve deprecated license styles#52

Merged
kezhenxu94 merged 4 commits intoapache:mainfrom
zooltd:enhance/npm
Aug 7, 2021
Merged

Enhance NPM dependency resolver to resolve deprecated license styles#52
kezhenxu94 merged 4 commits intoapache:mainfrom
zooltd:enhance/npm

Conversation

@zooltd
Copy link
Copy Markdown
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 requested a review from kezhenxu94 August 7, 2021 07:57
@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
Copy link
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

3 participants