commonmark / commonmark-spec

CommonMark spec, with reference implementations in C and JavaScript
http://commonmark.org
Other
4.89k stars 317 forks source link

Relicense npm package under CC-BY-SA #749

Closed muzimuzhi closed 1 year ago

muzimuzhi commented 1 year ago

In package.json, "license": "CC-BY-SA-4.0" (on line 6), added in commit 0a2d6af (Improved npm package: package.json and index.js., 2016-12-09), was overwritten by the latter, duplicate key "license": "MIT" (on line 12).

https://github.com/commonmark/commonmark-spec/blob/51d200052d0ef9ec617907b942ad8d4063874eee/package.json#L6-L12

The result is, npm package commonmark-spec is licensed under MIT, not CC-BY-SA 4.0. See https://www.npmjs.com/package/commonmark-spec.

Refer to related paragraph in RFC 8259 for JSON format (boldface style added by me),

An object whose names are all unique is interoperable in the sense that all software implementations receiving that object will agree on the name-value mappings. When the names within an object are not unique, the behavior of software that receives such an object is unpredictable. Many implementations report the last name/value pair only. Other implementations report an error or fail to parse the object, and some implementations report all of the name/value pairs, including duplicates.

jgm commented 1 year ago

thanks - this will be reflected in the next release