Skip to content

Update the tests to reflect the change in the default license value#8229

Closed
itsAagge wants to merge 1 commit into
npm:latestfrom
itsAagge:august/update-tests-to-reflect-new-license-value
Closed

Update the tests to reflect the change in the default license value#8229
itsAagge wants to merge 1 commit into
npm:latestfrom
itsAagge:august/update-tests-to-reflect-new-license-value

Conversation

@itsAagge

@itsAagge itsAagge commented Apr 16, 2025

Copy link
Copy Markdown

Depends on #7727

Eric (@KernelDeimos) has contributed with a change to npm init, so the default license value is changed from 'ISC' to 'UNLICENSED' for reasons that are described in pull request #7727 and the linked discussion in said pull request.

The original pull request by Eric missed the npm init tests, hence this addition.

@itsAagge
itsAagge requested a review from a team as a code owner April 16, 2025 01:32
@itsAagge itsAagge changed the title Updated the tests to reflect the change in the default license value Update the tests to reflect the change in the default license value Apr 16, 2025
@KernelDeimos

Copy link
Copy Markdown

Nice, thanks for continuing my contribution!

@itsAagge

Copy link
Copy Markdown
Author

Nice, thanks for continuing my contribution!

Of course. I also ran into the issue the other day when I left the license field blank on purpose and accidently committed the package.json with the ISC license. It is always easier to add a license after the fact than it is to remove or change it, so I fully support your contribution to change the default value to UNLICENSED

@owlstronaut

Copy link
Copy Markdown

Thank you for taking a look at this. This is something we will have to carefully consider, as the opposite side of this, many automations and workflows depend on the default being ISC at this point. We are closing this PR but tracking it in npm/statusboard#970

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.

3 participants