-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loosen prosemirror-view dependency #93
Comments
It will be useful for me to control which package of prosemirror Nib uses, I will upgrade this soon. Thanks a lot, this helps. |
Hey, thanks for your reply! Since it's not (easily) possible to update subdependencies (basically, I am stuck with prosemirror package versions of the time I install nib-core), would it be possible for you to set the version constraint to the highest possible version that nib-core works with or is available? Babel for example does it with WDYT? |
Hey!
Yes, exactly. Since these are dependencies of nib itself, I cannot (easily at least, there's resolutions, and in npm an RFC and another and a guide which works for security fixes as well as this use case) update prosemirror dependencies myself once an update is released. As you can see above, that's also how babel keeps their own dependencies up to date (also for compatibility reasons, I believe). |
Hey! Thanks for this great package! :)
I was wondering, I believe nib-core is using an outdated version of
prosemirror-view
since it locks it to 1.10.0. I might be wrong here, since other packages of prosemirror do request a newer version for themselves.https://github.com/nib-edit/Nib/blob/8cc08f1b9e41c8bec5b6e170f9fc05ec60dee4f1/packages/core/package.json#L36
Could this be loosened like the other dependencies?
https://github.com/nib-edit/Nib/blob/8cc08f1b9e41c8bec5b6e170f9fc05ec60dee4f1/packages/core/package.json#L28-L35
Maybe these should even be
peerDependencies
since there's no way (at least as of now) in yarn to update nested dependencies (outside of usingresolutions
inpackage.json
), see yarnpkg/yarn#2394. Unless you want to stay in control of which prosemirror package versions nib uses.The text was updated successfully, but these errors were encountered: