Skip to content

[BUG] BlueOak-1.0.0 not recognized as valid license #1373

@ghost

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

  1. npm init
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingRelease 6.xwork is associated with a specific npm 6 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions