Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
javascript
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2022 at 09:21 UTC
Updated:
13 Sep 2022 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
lauriiiComment #3
longwaveThe main breaking change in tabbable 6.0 is dropping support for IE11, which is fine by us.
There is also a breaking change in the
displayCheckoption, which we don't appear to use at all.Therefore assuming the bot agrees, this is RTBC.
Comment #4
alexpottWhy not ^ and not ~ this would be the first tilde constraint in this file. That feels wrong.
Comment #5
lauriii#4: See the original version constraint; it was
5.3.xwhich is not same as^6.0.0which would equal>=6.0.0 <7.0.0. This could be changed to6.0.xbut IMO we should switch all of these eventually to use the tilde operator so that we can enforce minimum patch versions.Comment #6
alexpottI don't think we should be using tildes or 6.0.x - we should allow users to test and try out new minors without additional effort from us. All constraints in PHP land are ^. I don't think we should get in the way of users using 6.1.0 when it exists.
Comment #7
lauriiiThis was intentionally changed in #3266912: Review version constraints for production yarn dependencies to improve the maintenance DX.
Comment #8
lauriiiThe version constraints are dev dependencies. If users are comfortable modifying core shipped assets, they should be comfortable modifying the package.json too 🤷♂️
Comment #9
alexpottOh okay... seems wrong to me but I'm not sure it matters in the long run.
Comment #10
alexpottCommitted and pushed 22f7fd0124 to 10.1.x and af3642897b to 10.0.x. Thanks!