{"action":"opened","issue":{"url":"https://api.github.com/repos/icelab/draft-js-single-line-plugin/issues/4","repository_url":"https://api.github.com/repos/icelab/draft-js-single-line-plugin","labels_url":"https://api.github.com/repos/icelab/draft-js-single-line-plugin/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/icelab/draft-js-single-line-plugin/issues/4/comments","events_url":"https://api.github.com/repos/icelab/draft-js-single-line-plugin/issues/4/events","html_url":"https://github.com/icelab/draft-js-single-line-plugin/issues/4","id":346160755,"node_id":"MDU6SXNzdWUzNDYxNjA3NTU=","number":4,"title":"Immutable.js dependency version mismatch with Draft.js","user":{"login":"thibaudcolas","id":877585,"node_id":"MDQ6VXNlcjg3NzU4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/877585?v=4","gravatar_id":"","url":"https://api.github.com/users/thibaudcolas","html_url":"https://github.com/thibaudcolas","followers_url":"https://api.github.com/users/thibaudcolas/followers","following_url":"https://api.github.com/users/thibaudcolas/following{/other_user}","gists_url":"https://api.github.com/users/thibaudcolas/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaudcolas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaudcolas/subscriptions","organizations_url":"https://api.github.com/users/thibaudcolas/orgs","repos_url":"https://api.github.com/users/thibaudcolas/repos","events_url":"https://api.github.com/users/thibaudcolas/events{/privacy}","received_events_url":"https://api.github.com/users/thibaudcolas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-31T12:13:30Z","updated_at":"2018-07-31T12:13:30Z","closed_at":null,"author_association":"NONE","body":"👋 I'm considering using this plugin for my editor, but looking at its dependencies I see it uses Immutable.js `^3.8.1`:\r\n\r\nhttps://github.com/icelab/draft-js-single-line-plugin/blob/576afbb85858901c5a550a6a5651dbad95b8dc5c/package.json#L51\r\n\r\nThis is incompatible with Draft.js itself, which requires `~3.7.4` (https://github.com/facebook/draft-js/blob/37dadd35d76768ae8109297afad6d498cfa3bd60/package.json#L37). The consequence of this mismatch is that now my JS bundle contains two copies of Immutable, which is quite a big dependency.\r\n\r\nFrom what I can see in the plugin's code, Immutable.js is only used to interact with Draft.js via `List` and `Map`. This should work the same in v3.7.4 – would it be possible to change the dependency requirement to match that of Draft.js?"}}
{"actor":{"display_login":"thibaudcolas"}}