-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Bugthing that needs fixingthing that needs fixingRelease 6.xwork is associated with a specific npm 6 releasework is associated with a specific npm 6 release

Description
What / Why
BlueOak-1.0.0
is a valid SPDX identifier, but it is not recognized in npm init
v6.14.5.
When
Running npm init
v6.14.5 and asked for a license.
Where
npm CLI
Current Behavior
license: (ISC) BlueOak-1.0.0
Sorry, license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN ".
Steps to Reproduce
npm init
- Answer various prompts. At the "license" prompt, enter:
BlueOak-1.0.0
Expected Behavior
BlueOak-1.0.0
is accepted as a valid SPDX license identifier.
Who
- n/a
References
- The SPDX identifier is correctly included in https://github.com/shinnn/spdx-license-ids/blob/master/index.json which seems to be the dependency.
spl
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingRelease 6.xwork is associated with a specific npm 6 releasework is associated with a specific npm 6 release