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

License mismatch between LICENSE file and package.json #79

Closed fredrikcarlbom closed 5 months ago

fredrikcarlbom commented 5 months ago

Since LICENSE mentions "GNU Affero General Public License" but nothing about Lesser I read it as this code is covered by the AGPL v3.0 license but the package.json file states LAGPL which is not the same license. This makes it hard for non open-source projects to use this package.

moll commented 5 months ago

Hey! Thanks for caring about open source licensing. The "Lesser" part arises from that paragraph:

Additional permission under the GNU Affero GPL version 3 section 7: If you modify this Program, or any covered work, by linking or combining it with other code, such other code is not for that reason alone subject to any of the requirements of the GNU Affero GPL version 3.

That's the same addition that the Lesser GPL adds. Does that clarify things for you?

fredrikcarlbom commented 5 months ago

That's the same addition that the Lesser GPL adds. Does that clarify things for you?

That explains it, thank you!