moll / node-mitm

Intercept and mock outgoing Node.js network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Super useful when testing code that hits remote servers.
Other
640 stars 48 forks source link

Update licence in package.json #68

Closed forty closed 1 year ago

forty commented 3 years ago

in order to match the one defined in the LICENCE file. Identifiers can be found at https://spdx.org/licenses/

moll commented 3 years ago

Hey, @forty!

Thanks for the tweak, but unfortunately the lesser variant (that permits use alongside closed-source code) of AGPL isn't listed on SPDX. I feel that stating it as vanilla AGPL v3 would be misleading. Would you agree?

forty commented 3 years ago

Oh my bad, i did not know about this lesser AGPL, by reading the licence i thought that it was simply the AGPL, but I understand know.

I would say that it's technically still the AGPL since those exceptions are part of the license itself. If it's not, npm rule is to put "SEE LICENSE IN " in package.json for licenses that don't have an official identifier.

I don't mind whichever choice you make, i honestly thought I was fixing a typo :) so just let me know what you prefer, I'll update the PR or close it.