Skip to content
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

[Snyk] Upgrade axe-core from 4.7.2 to 4.9.1 #4

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

abdulrahman305
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade axe-core from 4.7.2 to 4.9.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 118 versions ahead of your current version.

  • The recommended version was released on 2 months ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
critical severity Incomplete List of Disallowed Inputs
SNYK-JS-BABELTRAVERSE-5962462
572 Proof of Concept
high severity Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
572 Proof of Concept
high severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
572 No Known Exploit
high severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
572 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
572 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
572 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
572 Proof of Concept
medium severity Improper Input Validation
SNYK-JS-POSTCSS-5926692
572 No Known Exploit
Release notes
Package name: axe-core
  • 4.9.1 - 2024-05-06

    This release addresses a number of false positives, which may result in fewer issues reported. It also prevents a problem where axe-core wouldn't load on pages due to a conflict with a long-ago deprecated javascript library.

    Bug Fixes

    • Prevent errors when loading axe in a page with prototype.js
    • aria-allowed-attr: allow meter role allowed aria-* attributes on meter element (#4435) (7ac6392)
    • aria-allowed-role: add gridcell, separator, slider and treeitem to allowed roles of button element (#4398) (4788bf8)
    • aria-roles: correct abstract roles (types) for aria-roles(#4421)
    • aria-valid-attr-value: aria-controls & aria-haspopup incomplete (#4418)
    • fix building axe-core translation files with region locales (#4396) (5c318f3), closes #4388
    • invalidrole: allow upper and mixed case role names (#4358) (105016c), closes #2695
    • isVisibleOnScreen: account for position: absolute elements inside overflow container (#4405) (2940f6e), closes #4016
    • label-content-name-mismatch: better dismiss and wysiwyg symbolic text characters (#4402)
    • region: Decorative images ignored by region rule (#4412)
    • target-size: ignore descendant elements in shadow dom (#4410) (6091367)
    • target-size: pass for element that has nearby elements that are obscured (#4422) (3a90bb7), closes #4387
  • 4.9.1-canary.f584e8e - 2024-05-17
  • 4.9.1-canary.ed1c874 - 2024-06-04
  • 4.9.1-canary.ebb1b95 - 2024-05-06
  • 4.9.1-canary.e32f803 - 2024-06-04
  • 4.9.1-canary.e31a974 - 2024-06-20
  • 4.9.1-canary.db4ec05 - 2024-06-04
  • 4.9.1-canary.d3db593 - 2024-06-03
  • 4.9.1-canary.c9d4bc9 - 2024-05-13
  • 4.9.1-canary.ae320fa - 2024-06-04
  • 4.9.1-canary.79f0908 - 2024-05-13
  • 4.9.1-canary.7844c7c - 2024-05-06
  • 4.9.1-canary.68bae74 - 2024-06-06
  • 4.9.1-canary.6699ee4 - 2024-05-23
  • 4.9.1-canary.50e7c23 - 2024-06-17
  • 4.9.1-canary.3f13aa1 - 2024-05-20
  • 4.9.1-canary.3ef9353 - 2024-06-13
  • 4.9.1-canary.3d36f97 - 2024-05-07
  • 4.9.1-canary.23b43dc - 2024-06-13
  • 4.9.1-canary.135898b - 2024-07-02
  • 4.9.1-canary.11fad59 - 2024-06-17
  • 4.9.1-canary.0d8a99e - 2024-07-01
  • 4.9.1-canary.070bc01 - 2024-06-04
  • 4.9.1-canary.0577a74 - 2024-06-24
  • 4.9.1-canary.00b9fba - 2024-05-08
  • 4.9.1-canary.2481379 - 2024-06-07
  • 4.9.0 - 2024-03-25

    Features

    Bug Fixes

    • Add LICENSE-3RD-PARTY.txt file (#4304) (daa0fe6)
    • add Object.values polyfill for node <=6 (#4274) (5eb867b)
    • aria-required-children: avoid confusing aria-busy message in failures (#4347) (591607d), closes #fail13 #4340
    • avoid reading element-specific node properties of non-element node types (#4317) (b853b18), closes #4316 #4316
    • color-contrast: handle text that is outside overflow: hidden ancestor (#4357) (bdb7300), closes #4253
    • color-contrast: support color blend modes hue, saturation, color, luminosity (#4365) (7ae4761)
    • d.ts: RawNodesResult issues (#4229) (d660518)
    • d.ts: RunOptions.reporter can be any string (#4218) (e53f5c5)
    • i18n: update Italian translations (#4377) (4d65d4b)
    • listitem: clarify roleNotValid message (#4374) (0f8a9af)
    • scrollable-region-focusable: missing wcag213 tag (#4201) (0080a72)
    • target-size: always pass 10x targets (avoid perf bottleneck) (#4376) (be327c4)
    • target-size: do not crash for nodes with many overlapping widgets (#4373) (1dbea83), closes #4359 #4359 #4360
    • utils/get-selector: ignore 'xmlns' attribute when generating a selector (#4303) (938b411)
  • 4.9.0-canary.f89c13b - 2024-03-25
  • 4.9.0-canary.ef1e09d - 2024-04-29
  • 4.9.0-canary.eac8223 - 2024-04-29
  • 4.9.0-canary.9ecf596 - 2024-04-10
  • 4.9.0-canary.7ac6392 - 2024-05-01
  • 4.9.0-canary.75b0c11 - 2024-04-15
  • 4.9.0-canary.61cbf30 - 2024-04-24
  • 4.9.0-canary.5c5ede0 - 2024-04-26
  • 4.9.0-canary.5c318f3 - 2024-04-10
  • 4.9.0-canary.56e139a - 2024-04-15
  • 4.9.0-canary.4788bf8 - 2024-04-05
  • 4.9.0-canary.44e39ec - 2024-04-10
  • 4.9.0-canary.3a90bb7 - 2024-04-23
  • 4.9.0-canary.2940f6e - 2024-04-15
  • 4.9.0-canary.19bde94 - 2024-05-02
  • 4.9.0-canary.08ddcbc - 2024-04-22
  • 4.9.0-canary.6091367 - 2024-04-23
  • 4.8.4 - 2024-02-07

    This release should not result in different issue numbers. For TypeScript users, an error in type definitions has been corrected. This release could require a correction to how axe-core types are used. This release may change selectors on elements with the xmlns attribute, as the selectors axe-core prosed with those was invalid. Deduplication based on selectors between this and and prior versions of axe-core can fail because of this change.

    Bug Fixes

    • Add LICENSE-3RD-PARTY.txt file (#4304) (139c553)
    • avoid reading element-specific node properties of non-element node types (#4317) (a2a6935), closes #4316 #4316
    • d.ts: RawNodesResult issues (#4229) (f105266)
    • d.ts: RunOptions.reporter can be any string (#4218) (80de793)
    • utils/get-selector: ignore 'xmlns' attribute when generating a selector (#4303) (8c68546)
  • 4.8.4-canary.ed737c7 - 2024-02-26
  • 4.8.4-canary.de1baa9 - 2024-03-13
  • 4.8.4-canary.c5e11de - 2024-03-05
  • 4.8.4-canary.be327c4 - 2024-03-18
  • 4.8.4-canary.be0b555 - 2024-03-05
  • 4.8.4-canary.bdb7300 - 2024-03-12
  • 4.8.4-canary.bda7c8d - 2024-03-25
  • 4.8.4-canary.b292263 - 2024-03-08
  • 4.8.4-canary.a99cdc6 - 2024-03-05
  • 4.8.4-canary.9e70199 - 2024-03-12
  • 4.8.4-canary.93940f5 - 2024-03-05
  • 4.8.4-canary.7ae4761 - 2024-03-13
  • 4.8.4-canary.591607d - 2024-03-05
  • 4.8.4-canary.54baa8d - 2024-03-08
  • 4.8.4-canary.4d65d4b - 2024-03-22
  • 4.8.4-canary.1dbea83 - 2024-03-18
  • 4.8.3 - 2023-12-18

    This release will not change axe-core's results. Only needed when used with old versions of NodeJS.

    Bug Fixes

  • 4.8.3-canary.f3569c5 - 2024-01-15
  • 4.8.3-canary.daa0fe6 - 2024-02-01
  • 4.8.3-canary.b853b18 - 2024-02-01
  • 4.8.3-canary.b753f95 - 2024-01-11
  • 4.8.3-canary.b63cd83 - 2023-12-18
  • 4.8.3-canary.a2f6082 - 2024-02-01
  • 4.8.3-canary.9a66768 - 2024-01-11
  • 4.8.3-canary.99881a2 - 2023-12-18
  • 4.8.3-canary.938b411 - 2024-01-18
  • 4.8.3-canary.751657a - 2024-01-26
  • 4.8.3-canary.666558d - 2024-02-05
  • 4.8.3-canary.3ce3e3d - 2023-12-18
  • 4.8.3-canary.335841e - 2024-01-10
  • 4.8.3-canary.2bdfc57 - 2024-02-01
  • 4.8.2 - 2023-09-21

    Bug Fixes

  • 4.8.2-canary.fd8322e - 2023-10-12
  • 4.8.2-canary.f7b8d5e - 2023-11-28
  • 4.8.2-canary.f1af598 - 2023-11-28
  • 4.8.2-canary.ecf4dd4 - 2023-10-26
  • 4.8.2-canary.e53f5c5 - 2023-11-02
  • 4.8.2-canary.e473acf - 2023-10-31
  • 4.8.2-canary.dc202ff - 2023-10-26
  • 4.8.2-canary.d69e061 - 2023-09-21
  • 4.8.2-canary.d660518 - 2023-11-02
  • 4.8.2-canary.af0b548 - 2023-12-11
  • 4.8.2-canary.a81e82f - 2023-11-02
  • 4.8.2-canary.9f0bdd1 - 2023-10-16
  • 4.8.2-canary.9c70f22 - 2023-10-16
  • 4.8.2-canary.9b8785c - 2023-10-26
  • 4.8.2-canary.953812b - 2023-10-24
  • 4.8.2-canary.8e2618c - 2023-11-02
  • 4.8.2-canary.853a8ea - 2023-11-03
  • 4.8.2-canary.601442e - 2023-10-12
  • 4.8.2-canary.5eb867b - 2023-12-15
  • 4.8.2-canary.5df618d - 2023-11-08
  • 4.8.2-canary.56f104f - 2023-10-12
  • 4.8.2-canary.52b79ca - 2023-10-12
  • 4.8.2-canary.513b091 - 2023-10-12
  • 4.8.2-canary.4ea45e9 - 2023-10-25
  • 4.8.2-canary.4e52d97 - 2023-10-25
  • 4.8.2-canary.4a4e9b4 - 2023-11-01
  • 4.8.2-canary.456c232 - 2023-10-26
  • 4.8.2-canary.449feed - 2023-10-12
  • 4.8.2-canary.3ea9a48 - 2023-12-15
  • 4.8.2-canary.2b3e343 - 2023-11-02
  • 4.8.2-canary.12d4f52 - 2023-10-26
  • 4.8.2-canary.056fc1c - 2023-09-28
  • 4.8.2-canary.028b420 - 2023-10-26
  • 4.8.1 - 2023-09-08

    This release does not change the number of issues reported.

    Bug Fixes

    • target-size: show closest offset in message (#4151) (a0882f6)
  • 4.8.1-canary.0f1a68f - 2023-09-11
  • 4.8.0 - 2023-09-06

    This axe-core release makes various changes to impact. As a result issues previously reported in one rule may now be reported under a different rule. In rarer cases, the impact under which an issue is reported may change. This release has further deprecated the duplicate-id and duplicate-id-active rule, along with setting the duplicate-id-aria to always report as "needs review" rather than as a violation. As these three rules are fairly common causes of issues, this change may result in the total issue reported going down significantly.

    Consistent Rule Impact

    This release changes it so that a rule never changes what impact it reports. To facilitate this while without changing the impact on certain issues, some rules have been split. The following changes were involved:

    • Deprecate impact on checks; use rules instead (#4114) (2cc5547)
    • add rule aria-deprecated-role (#4074) (03f2771)
    • add rule aria-conditional-attr (#4094) (d417630)
    • aria-input/toggle-field-name: set impact always to serious (#4095) (e031d68)
    • aria-prohibited-attr: add rule aria-prohibited-attr (#4088) (7b115d3)
    • impact: aria-roles / aria-valid-attr-value is always "critical" (#4112) (5cc8041)
    • impact: scope-attr-valid is always "moderate" (#4113) (131f552)

    Other Features

    • deprecate & disable duplicate-id / duplicate-id-active (#4071) (733c45e)
    • duplicate-id-aria: set to review on fail and tag as wcag412 (#4075) (9f1a3e3)
    • add EN.301.549 tags to rules (#4063) (de3da89)
    • checks: enable help-same-as-label, but remove from rules (#4096) (034038a)
    • new-rule: aria-braille-equivalent finds incorrect uses of aria-braille attributes (#4107) (6260a2f)
    • page-no-duplicate-banner/contentinfo: deprecate options.nativeScopeFilter, take into ancestors with sectioning roles (#4105) (c6e07be)

    Type Fixes & Improvements

    Various improvements were made to the types. Potentially the most impactful of which is that the target and ancestry property now return as UnlabelledFrameSelector instead of as string[], which is incorrect for selectors involving shadow DOM. This may create some issues during migration for any code that has been incorrectly assuming these two properties have the string[] type. For more details and other type changes, see the commit itself:

    Bug Fixes

    • access-name: get name from header elements (#4097) (fbe99bf)
    • add element semantics (#4115) (637bf6c)
    • aria-allowed-attr: pass aria-expanded on checkbox & switch (#4110) (fcf76e0), closes #3339
    • aria-allowed-role: Add doc-glossary to allowed roles for aside element (#4083) (6ca38f6)
    • aria-allowed-role: add meter to allowed roles for named img (#4055) (173f29d), closes #4054
    • aria-required-childen: test visibility of grandchildren (#4091) (a202b69)
    • aria-text: typo in rule description (#4131) (85a0e9c)
    • aria-valid-attr-value: allow empty value on aria-braille* & aria-valuetext (#4109) (c4c3e65)
    • avoid memory issues by doing better cleanup (#4059) (16c5cfa)
    • avoid problems from element IDs that exist on object prototype (#4060) (8d135dd)
    • color-contrast: correctly handle flex and position (#4086) (9d5f496)
    • color-contrast: get text stoke from offset shadows (#4079) (13acffe)
    • color-contrast: ignore format unicode characters (#4102) (049522e)
    • color-contrast: ignore zero width characters (#4103) (4deb0a0)
    • color-contrast: process non-rgb color functions (#4092) (9634282)
    • commons/dom/createGrid: only add the visible, non-overflow areas of an element to the grid (#4101) (d77f47b)
    • ensure reporter errors can propagate (#4111) (080cc1b)
    • ignore stylesheets fetching style tag in jsdom (#4138) (d7c16a4)
    • jsdom: allow axe.setup() without a global window (#4116) (33b0314)
    • target-size: correctly calculate bounding box (#4125) (1494b4c)
    • target-size: update to match new spacing requirements (#4117) (49eaa0e)
    • Use correct copyright year (#4098) (cab6a2b)
    • utils/clone: don't try to clone elements from different window context (#4072) (55000d0)
  • 4.8.0-canary.c7b597b - 2023-09-08
  • 4.8.0-canary.a0882f6 - 2023-09-08
  • 4.8.0-canary.54dacf6 - 2023-09-07
  • 4.8.0-canary.2f1bb0c - 2023-09-11
  • 4.8.0-canary.6089952 - 2023-09-08
  • 4.7.2 - 2023-05-25

    This release corrects the Trusted Tester v5 tags, which were introduced in 4.7.0, and it addresses a few false positives which for pages with forms may result in a few less issues found.

    Bug Fixes

    • aria-allowed-attr: Add aria-required to switch role (#4029) (cb51be4), closes #4027
    • aria-allowed-attr: allow aria-required on role=slider (#4035) (bb2bf60)
    • aria-required-children: set related nodes for invalid children (#4033) (377f72b)
    • tags: Add / correct several TTv5 tags (#4031) (25859dd)
from axe-core GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade axe-core from 4.7.2 to 4.9.1.

See this package in npm:
axe-core

See this project in Snyk:
https://app.snyk.io/org/abdulrahman305/project/296e3897-3668-4263-af68-4a7cd19254de?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

korbit-ai bot commented Jul 3, 2024

👋 I'm here to help you review your pull request. When you're ready for me to perform a review, you can comment anywhere on this pull request with this command: /korbit-review.

As a reminder, here are some helpful tips on how we can collaborate together:

  • To have me re-scan your pull request, simply re-invoke the /korbit-review command in a new comment.
  • You can interact with me by tagging @korbit-ai in any conversation in your pull requests.
  • On any comment I make on your code, please leave a 👍 if it is helpful and a 👎 if it is unhelpful. This will help me learn and improve as we work together
  • Lastly, to learn more, check out our Docs.

Copy link

coderabbitai bot commented Jul 3, 2024

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

codeautopilot bot commented Jul 3, 2024

Your organization has reached the subscribed usage limit. You can upgrade your account by purchasing a subscription at Stripe payment link

Disclaimer: This comment was entirely generated using AI. Be aware that the information provided may be incorrect.

Current plan usage: 103.59%

Have feedback or need help?
Discord
Documentation
support@codeautopilot.com

@gitauto-ai gitauto-ai bot added the gitauto label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment