Closed kemitchell closed 9 years ago
In the package.json it says OR but in the readme it says AND. I'm not a laywer but it seems this should be consistent.
Can you find a big project that uses dual licencing and see how they phrase it?
A list of dual-licensed npm packages I dug up for the PR to npm:
https://github.com/npm/npm/pull/8179#issuecomment-98935152
I will have a look at their language and let you know. That being said, the definitions of AND
and OR
in the SPDX spec are more specific than common usage. The canonical example of AND
is a package that links or packages another, say a library, that has a different license. The canonical case for OR
is dual- or mult-licensing.
Thanks for your time. Given how many other packages depend on this one, I think sorting it out will save a lot of time.
r.js
: "and"amdefine
: "and"walk
: bullet pointsjson-schema
: "or"fs.extra
: "and"node.extend
: "or"I noticed also that your rc
also currently uses slashes.
So it's a wash. I will amend to use "or", to make it consistent.
Oh, okay that changes everything, I know that some people need to use tools to check dependencies are compatible with their legal departments, so it's important to follow a standard, but I see you are taking the lead on this one, so I'll be happy to merge whatever you settle on.
If dual licensing is what you want, then 8c47818 does the job.
Thanks for your feedback on consistent terminology. Should save others some time, as I plan to follow up with all the popular dual-licensed, so they don't have to wade into the details of the new guidelines.
Would you like a PR in rc
, as well?
sure, okay merging.
merged into 1.0.4
Thanks, @dominictarr! Really appreciate time spent on this.
Kia ora, @dominictarr! Thanks so much for JSONStream.
This PR clarifies what I take it are the licensing terms for the package: "dual licensing" under MIT
andor Apache 2.0, so users can pick between them. The commit also adds an appropriate package.json property for dual licensing.Boolean license expressions, you say? Mad license science, says I!