Comments (7)
What specifically precludes you from using libraries licensed as LGPL?
Dual licensing under MIT would undermine the purpose of using LGPL. And I don't really care about attribution anyway. What I do care about is that any modifications made are contributed back to open source, which LGPL encourages very well.
I might dual license under something like MPL, for example, but I consider them basically equivalent for JavaScript. And I'm hesitant to primarily use MPL as it's less well known, ie. even scarier than LGPL.
from bs-json.
Packaging via something such as webpack would be considered static linking. Shipping separate source code and build information to allow relinking isn't feasible for me. Shipping the code not in a single bundle is not feasible for me.
So the problem is with the LGPL requirement to allow for dynamically linking an alternative library implementation. bs-platform
is attempting to get around this by providing a provision that removes the requirements in section 4 of the LGPL. I'm not even sure that I can get that modified license past the company lawyers.
I applaud your efforts to keep people contributing to open source when they modify the code, unfortunately the provisions with regards to static linking mean that the LGPL 'infects' code which can't dynamically link and which don't make any modifications to contribute back :(
from bs-json.
I don't think the concepts of static and dynamic linking make much sense applied to JavaScript. Whether or not it's bundled into a single file or separated doesn't really make a difference since it's still just plain text where a bundled module can easily be replaced using only a text editor. Minification, at least as it is currently done, is a bigger problem however. And the terminology used is such that it leaves room for a lot of interpretation, so I do certainly understand the concern.
MPL-2.0 should avoid this issue though. Could you run that past the lawyers? Otherwise I'm open for other suggestions as well, but MIT won't work I'm afraid.
from bs-json.
I don't think that it makes sense, either, but unfortunately the LGPL references the concepts. If none of the code compiled into bs-json
is licensed LGPL (with the possible exception of bs-platform
code given their provision allowing for static linking) and you change to or dual-license under MPL-2.0, from my reading, I think that will fly with my lawyers. Of course, IANAL :)
from bs-json.
Would you like me to prepare a PR updating the license information to specify dual licensing under LGPLv3 and MPL-2.0?
from bs-json.
Yes, please do. If possible I'd like Github to still report it as LGPL though.
from bs-json.
Fixed in #58. Released as 5.0.1.
from bs-json.
Related Issues (20)
- rescript v11 support HOT 3
- Change type of DecodeError HOT 1
- Js.Date.toJSON warning HOT 1
- Reopen Issue #42? HOT 1
- The value toJSONUnsafe can't be found in Js.Date HOT 1
- Handling fields that may not exist HOT 1
- Example code spit out a warning HOT 1
- How to decode array? HOT 4
- How to encode option to undefined? HOT 2
- Thoughts on a "runParse" function? HOT 3
- Package fails to build HOT 5
- Fails to compile, complaining about `Js.boolean` HOT 2
- Issue using bs-json with bs-tea
- Encode Integer into an Array of Integer HOT 1
- upgrade peerdependency bs-platform HOT 3
- Map? HOT 6
- Use Belt.List.map instead of StdLib.map HOT 1
- Decoding a function HOT 2
- Convert to rescript HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bs-json.