jindw / xmldom

A PURE JS W3C Standard based(XML DOM Level2 CORE) DOMParser and XMLSerializer.
Other
819 stars 265 forks source link

Update `license` field to conform to SPDX #206

Open xswordsx opened 7 years ago

xswordsx commented 7 years ago

The license checker that npm uses - spdx - expects the conjuctive / disjunctive operators to be capital-cased in order to parse the license field correctly.

spdx.valid('(LGPL-2.0 or MIT)'); // => null
spdx.valid('(LGPL-2.0 OR MIT)'); // => true