-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
move jquery to peerDependencies #1414
Conversation
Without this, it can cause selectize to try to use a different jquery than the main jquery |
@joallard currently selictize is locked to jQuery |
Fixes: #1277 I think |
Thanks @graingert, this fixes it for me. |
This would also solve this jQuery security vulnerability, which is patched in versions >= 3.0.0. |
Nice, any chance of a release?
…On Wed, 11 Jul 2018, 19:19 Jonathan Allard, ***@***.***> wrote:
Merged #1414 <#1414>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1414 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAZQTOZq5STK94H-VKVjSAt93Tl_5whBks5uFkGUgaJpZM4UYxyM>
.
|
Done. 0.12.6 |
Great! About jQuery, do we need to keep it in bower.json with that version range, for any retro-compatibility reason, or could we even remove it from there and rely on bower-away to move all the dependencies to package.json (Yarn/Npm) ? Correct me if I am wrong, but I see no reason for having two conflicting definitions in bower and npm; is there? |
Use boweraway there's no need for bower any more
On 13 Jul 2018 09:44, "Igor Pellegrini" <[email protected]> wrote:
Great!
About jQuery, do we need to keep it in *bower.json* with that version
range, for any retro-compatibility reason, or could we even remove it from
there and rely on bower-away <https://github.com/bower/bower-away> to move
all the dependencies to package.json (Yarn/Npm) ?
Correct me if I am wrong, but I see no reason for having two conflicting
definitions in bower and npm; is there?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1414 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAZQTINKJBaOXf2Mw0QuFgWZpwGjI0VAks5uGF3tgaJpZM4UYxyM>
.
|
Looks like there is an issue with forcing the jQuery version to I guess |
graingert wrote:
I just want to be sure that we are not leaving anybody down in removing bower (old setups? other cases?). Am not sure that installation will still work without any specified bower dependency; but maybe it's fine anyway (should be tested). Don't we want that users that were using EDIT: |
- Logical OR should be used in semver, rather than comma for logical AND. (https://getcomposer.org/doc/articles/versions.md#version-range) (https://semver.npmjs.com/) - Resolves the UNMET PEER DEPENDENCY [email protected] No more "npm ERR! peer dep missing: jquery@^1.7.0, ^2, ^3, required by [email protected]" 'npm ls' on projects now does not report UNMET PEER DEPENDENCY anymore. fixes selectize#1414
Phasing out bower is something I agree we should go in the direction of, I'd be receptive to such PRs |
move jquery to peerDependencies
https://nodejs.org/en/blog/npm/peer-dependencies/