-
-
Notifications
You must be signed in to change notification settings - Fork 640
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
Upgrade aria-query to 5.3.0 and axobject-query to 3.2.1 #937
Conversation
…ject-query to 3.2.1
Codecov Report
@@ Coverage Diff @@
## main #937 +/- ##
=======================================
Coverage 99.29% 99.29%
=======================================
Files 104 104
Lines 1554 1555 +1
Branches 522 523 +1
=======================================
+ Hits 1543 1544 +1
Misses 11 11
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing, thank you!
hmm; looks like some tests are failing unrelated to the upgrade, due to eslint violations for older versions suddenly being out of order. I'll land this once I've resolved those. |
closes #8728 Turns out all the removed previous test failures are indeed correct to be removed, according to the test adjustments in jsx-eslint/eslint-plugin-jsx-a11y#937
closes #8728 Turns out all the removed previous test failures are indeed correct to be removed, according to the test adjustments in jsx-eslint/eslint-plugin-jsx-a11y#937
39ed3f4
to
cd3bf41
Compare
Hi! One of our project has a dependency on the latest <td role="cell"/> I believe this is a false positive that we'd want to avoid flagging. I noticed this PR bumps aria-query to 5.3.0 so it seemed relevant to comment on, but let me know if filing an issue is more appropriate. |
@jessebeach any update? |
@ljharb, you mentioned in a previous comment that you were going to look at unrelated failures. Have you had a chance to do that?
|
ah right, thanks, i'll follow up on that asap :-) |
cd3bf41
to
64bfea6
Compare
Turns out this was a breaking change (see A11yance/aria-query#497 (comment)) and will have to be reverted.
|
…and axobject-query to 3.2.1" This reverts commit 64bfea6 / jsx-eslint#937
Or you could upgrade your project to stop using Node 4... |
Sure, but that wouldn't unbreak this major line of the plugin, and it'd still need to be fixed. |
"need to be fixed" is a bit of a strong statement for an issue I can't imagine anyone would ever hit. Who the heck is still using Node 4 anymore? |
semver doesn't care about actual breakage, it's defined by conceptual breakage. that nobody has complained may mean that nobody's using node 4, for example - but it could just as likely mean that dequal already works on node 4 and the declaration is unnecessarily restrictive, or, that they're using a build process that masks syntax-related failures. |
And users don't care about conceptual breakage, but actual breakage. When the two options are that no one's using the affected version of Node or that version isn't even actually affected, this is an exercise in pedantry |
I’m a user, and i care ¯_(ツ)_/¯ either way, releasing a v5 backport and a v6 with tighter engines seems like it’d address your needs - but also, why would a deep equal library need a feature that requires modern node? I still think fixing it in dequal is the easiest solution. |
I don't think I'd call Node 6 "modern node", but anyway I took a look at |
That would certainly be a limiting factor. |
The ARIA to HTML mapping 1.0 defines ARIA role to HTML element mappings explicitly. We did not have this sort of guidance in years past. The aria-query project was updated to reflect these mappings in A11yance/aria-query#447
This caused several tests to fail in this plugin. I've fixed them and upversioned aria-query and axobject-query.