draft-js
draft-js copied to clipboard
Licensing incompatibility with peer dependency immutable-js
Do you want to request a feature or report a bug? Licensing issue
What is the current behavior?
Draft-js
is released under MIT, but it only works together with immutable-js ~3.7.4
, which is licensed under the old BSD + Patents license. Since npm/yarn will install version 3.7.6, we must force the use of immutable-js 3.8.2
or higher to avoid any licensing issues. This might not be apparent to everyone.
See also #1425.
Huh.
Thanks for pointing this out. Updating immutable has been on the radar for a while. I'll bring this licensing issue up to more people to try and figure it out.
Another option is to surgically de-box the immutable.js data into standard JavaScript data. I count 138 hits:
https://github.com/facebook/draft-js/search?q=immutable
An easier route might be to do a clean-room implementation using React 17 and standard js.
Immutable.js 4.0 has been released two months ago (under MIT licence), might be worth upgrading.
Also worth nothing that someone mentioned an issue over at immutable.js related to draft.js
My org's legal team has also given us a warning that immutable 3.7 cannot be used in prod applications due to its outdated license. This is a blocker issue for projects that use draft-js (mostly indirectly as a sub-dependency). I hope this gets looked into asap. Thanks. @mrkev
Hey David, unfortunately I no longer work at facebook, so I can't really help here.
Who is David? This is Traci DiMaggio‘s Gmail account and I do not know how to unsubscribe because I do not have a password but I do not want anymore emails from anyone at GitHub so please quit sending anything from GitHub has nothing to do with me there is no David here please that would mean I would be hacked into.
On Wed, Mar 30, 2022 at 10:07 PM Kevin Chavez @.***> wrote:
Hey David, unfortunately I no longer work at facebook, so I can't really help here.
— Reply to this email directly, view it on GitHub https://github.com/facebook/draft-js/issues/2345#issuecomment-1083989683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV4ZWK22GD5YTE2H4BJYDFTVCUCFNANCNFSM4LEIVLSA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Traci DiMaggio
There is no David at this email. If you think there is a David Vinnie David has hacked into my account. There’s only a Traci so please do not send anything else from GitHub. I do not know how to unsubscribe for. I do not have a password and cannot get onto that account so please I do not want anything sent to this account. Thank you.
On Wed, Mar 30, 2022 at 10:07 PM Kevin Chavez @.***> wrote:
Hey David, unfortunately I no longer work at facebook, so I can't really help here.
— Reply to this email directly, view it on GitHub https://github.com/facebook/draft-js/issues/2345#issuecomment-1083989683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV4ZWK22GD5YTE2H4BJYDFTVCUCFNANCNFSM4LEIVLSA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Traci DiMaggio