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

fix(third-party-notices): use license URL if no copyright info is found #3180

Merged
merged 4 commits into from
Jun 3, 2024

Conversation

AAHAbbas
Copy link
Contributor

@AAHAbbas AAHAbbas commented Jun 3, 2024

Description

If no copyright or package author information is found then set license and license URL information instead of the default "No copyright notice" placeholder. This ensures that the JSON and text information is more similar.

Test plan

Unit tests

Before After
{
"name": "deprecated-react-native-prop-types",
"version": "2.3.0",
"license": "MIT",
"copyright": "No copyright notice"
}
{
"name": "deprecated-react-native-prop-types",
"version": "2.3.0",
"license": "MIT",
"copyright": "MIT (https://spdx.org/licenses/MIT.html)"
}

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
@tido64 tido64 enabled auto-merge (squash) June 3, 2024 12:04
@tido64 tido64 merged commit 25f3a9e into microsoft:main Jun 3, 2024
10 checks passed
@AAHAbbas AAHAbbas deleted the abbas/addLicenseLink branch June 3, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants