GithubHelp home page GithubHelp logo

License issue about dompurify HOT 13 CLOSED

cure53 avatar cure53 commented on June 25, 2024
License issue

from dompurify.

Comments (13)

fhemberger avatar fhemberger commented on June 25, 2024

Just out of curiosity: What are the concerns regarding the MPL which don't arise with other copyleft licenses?

from dompurify.

jimmyhchan avatar jimmyhchan commented on June 25, 2024

What do you mean "other copyleft licenses"? As far as I know, Apache, BSD, MIT are not copyleft licenses. We would have extra requirements regardless of which copyleft license is used and MPL is likely the most permissive of all the copyleft licenses.

There was no specific concerns as far as I know. It's just easier if it was MIT or Apache which most open JS libraries are.

(I am not a lawyer)

from dompurify.

cure53 avatar cure53 commented on June 25, 2024

Hi all :)

It's just easier if it was MIT or Apache which most open JS libraries are.

What is "it"? What's easier? Just asking to understand the need for this possible addition.

from dompurify.

jimmyhchan avatar jimmyhchan commented on June 25, 2024

Speaking generally (not LinkedIn specific), someone using this library would typically pull down the source and minify/concenate this with other JS. We can make the minification steps smart about keeping license info but we would need to address questions around "distribution" since this JS, the only way to use this code is to distribute it, "binary vs source" since we are minifying code which MPL treats as binary and "viral-ness" of this license as most production sites would combine some proprietary JS with this library when creating a single "file" to serve.

I'm not looking for answers here. I'm sure every company would have different lawyers to interpret these issues for themselves but it's "easier" if we didn't have to answer them at all.

from dompurify.

quanah avatar quanah commented on June 25, 2024

For our company (Zimbra), Apache 1.1, 2.0 are considered free and clear for use. MPL of any sort requires review by our legal team to see how the code will be used. I think the larger difference is that the Apache License (2.0) does not require end user modifications to be shared back to a project, while MPL does in some circumstances.

http://choosealicense.com/licenses/ has a basic bullet point of differences between the two as well.

from dompurify.

cure53 avatar cure53 commented on June 25, 2024

Thanks @jimmyhchan and @quanah - that helped understanding the issue!

So, the best way would be to add a more tolerant license? Or would the current one have to be replaced? If it's just about adding another one, then I have absolutely no problem with that and am happy to accept a pull request of yours :)

from dompurify.

fhemberger avatar fhemberger commented on June 25, 2024

… then we need a license which allows the project to be licensed under two different licenses. ;)

from dompurify.

quanah avatar quanah commented on June 25, 2024

many projects are dual or tri-licensed... It was fairly standard for years with Mozilla for them to be MPL/GPL/Apache 2.0

from dompurify.

cure53 avatar cure53 commented on June 25, 2024

As mentioned, if dual-licensing is the way to go, happy to accept a PR!

from dompurify.

cure53 avatar cure53 commented on June 25, 2024

Thanks! I think we can close this now? I'll do a quick announcement via Twitter.

from dompurify.

crypto avatar crypto commented on June 25, 2024

Thanks!

from dompurify.

jimmyhchan avatar jimmyhchan commented on June 25, 2024

Thank you so much for accepting this. Would it be possible to push another release (0.6.6)?

from dompurify.

cure53 avatar cure53 commented on June 25, 2024

Yep, probably gonna happen within the next two weeks. We are planning some additional hook demos, once done, we're going 0.6.6.

from dompurify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.