Skip to content

test(heading): add test for aria-labels being passed properly - #234

Merged
kellyjosephprice merged 1 commit into
nextfrom
test/a11y/add-snapshot-test-for-heading
Sep 20, 2021
Merged

kellyjosephprice merged 1 commit into
nextfrom
test/a11y/add-snapshot-test-for-heading

Conversation

@macuzi

@macuzi macuzi commented Jul 24, 2021 •

Copy link
Copy Markdown
Contributor
Fixes RM-1571

🧰 Changes

  • Test if aria-label is being applied correctly — Related to this PR

🧬 QA & Testing

Does the snapshot of the heading component look as expected?

@macuzi
macuzi requested a review from billhimmelsbach July 24, 2021 01:02
@kellyjosephprice
kellyjosephprice temporarily deployed to markdown-pr-234 July 24, 2021 01:03 Inactive
@macuzi
macuzi requested a review from kellyjosephprice July 27, 2021 23:15

@kellyjosephprice kellyjosephprice left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@macuzi
macuzi marked this pull request as ready for review July 27, 2021 23:25

@billhimmelsbach billhimmelsbach left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! Looks great @macuzi! 🎉

@kellyjosephprice
kellyjosephprice merged commit 3a5030f into next Sep 20, 2021
@kellyjosephprice
kellyjosephprice deleted the test/a11y/add-snapshot-test-for-heading branch September 20, 2021 17:12
@rafegoldberg

Copy link
Copy Markdown
Collaborator

This PR was released!

🚀 Changes included in v6.31.0

erunion added a commit that referenced this pull request Aug 26, 2026
| 🎫 Resolve n/a |
| :------------: |

## 🎯 What does this PR do?

Bumps declared dependencies that have a patched release in range, then
runs `npm update` on nested packages whose **parent ranges already
allow** a patched version. No new `overrides`.

`webpack-dev-server` goes `4.15.2` → **`6.0.0`**. The demo server config
already used the v4/v5 `devServer` API (`static`, `port`, `hot`). v6
requires Node `>= 22.15.0` (CI is already on 22.x) and drops SockJS,
which removes the remaining `uuid@8.3.2` copy.

### Direct updates

- **postcss** `8.5.6` → `8.5.26` —
[#267](https://github.com/readmeio/markdown/security/dependabot/267)
[#366](https://github.com/readmeio/markdown/security/dependabot/366)
[#369](https://github.com/readmeio/markdown/security/dependabot/369)
[#385](https://github.com/readmeio/markdown/security/dependabot/385)
- **mermaid** `11.12.1` → `11.17.2` —
[#284](https://github.com/readmeio/markdown/security/dependabot/284)
[#285](https://github.com/readmeio/markdown/security/dependabot/285)
[#287](https://github.com/readmeio/markdown/security/dependabot/287)
[#387](https://github.com/readmeio/markdown/security/dependabot/387)
[#388](https://github.com/readmeio/markdown/security/dependabot/388)
[#389](https://github.com/readmeio/markdown/security/dependabot/389)
[#390](https://github.com/readmeio/markdown/security/dependabot/390)
[#391](https://github.com/readmeio/markdown/security/dependabot/391)
- **vitest** / **@vitest/ui** / **@vitest/coverage-v8** `4.0.8` →
`4.1.11` —
[#305](https://github.com/readmeio/markdown/security/dependabot/305)
- **vite** `6.3.5` → `6.4.3` (declared so the lockfile actually takes
the patched 6.x; a bare `npm update vite` would jump to 8) —
[#148](https://github.com/readmeio/markdown/security/dependabot/148)
[#149](https://github.com/readmeio/markdown/security/dependabot/149)
[#154](https://github.com/readmeio/markdown/security/dependabot/154)
[#255](https://github.com/readmeio/markdown/security/dependabot/255)
[#256](https://github.com/readmeio/markdown/security/dependabot/256)
[#315](https://github.com/readmeio/markdown/security/dependabot/315)
[#316](https://github.com/readmeio/markdown/security/dependabot/316)
- **webpack** `5.95.0` → `5.109.2` —
[#183](https://github.com/readmeio/markdown/security/dependabot/183)
[#184](https://github.com/readmeio/markdown/security/dependabot/184)
- **webpack-cli** `5.1.4` → `7.2.2` (supported peer for
webpack-dev-server 6)
- **webpack-dev-server** `4.15.2` → `6.0.0` —
[#136](https://github.com/readmeio/markdown/security/dependabot/136)
[#137](https://github.com/readmeio/markdown/security/dependabot/137)
[#288](https://github.com/readmeio/markdown/security/dependabot/288)
[#325](https://github.com/readmeio/markdown/security/dependabot/325)
[#356](https://github.com/readmeio/markdown/security/dependabot/356)
[#357](https://github.com/readmeio/markdown/security/dependabot/357)
- **react-router-dom** `6.22.3` → `6.30.6` —
[#167](https://github.com/readmeio/markdown/security/dependabot/167)
[#300](https://github.com/readmeio/markdown/security/dependabot/300)
- **terser-webpack-plugin** `5.3.10` → `5.6.1` (this version no longer
depends on serialize-javascript)
- **semantic-release** `25.0.2` → `25.0.9` (pulls
`@semantic-release/npm@13.1.5` → `@actions/core@3` →
`@actions/http-client@4` → `undici@6.28.0`) —
[#222](https://github.com/readmeio/markdown/security/dependabot/222)
[#223](https://github.com/readmeio/markdown/security/dependabot/223)
[#330](https://github.com/readmeio/markdown/security/dependabot/330)
[#334](https://github.com/readmeio/markdown/security/dependabot/334)
[#336](https://github.com/readmeio/markdown/security/dependabot/336)
[#381](https://github.com/readmeio/markdown/security/dependabot/381)
[#382](https://github.com/readmeio/markdown/security/dependabot/382)
[#383](https://github.com/readmeio/markdown/security/dependabot/383)

### Nested `npm update` (parent range already allowed the patch)

- **axios** `1.13.6` → `1.20.0` —
[#260](https://github.com/readmeio/markdown/security/dependabot/260)
[#261](https://github.com/readmeio/markdown/security/dependabot/261)
[#270](https://github.com/readmeio/markdown/security/dependabot/270)
[#271](https://github.com/readmeio/markdown/security/dependabot/271)
[#272](https://github.com/readmeio/markdown/security/dependabot/272)
[#273](https://github.com/readmeio/markdown/security/dependabot/273)
[#274](https://github.com/readmeio/markdown/security/dependabot/274)
[#275](https://github.com/readmeio/markdown/security/dependabot/275)
[#276](https://github.com/readmeio/markdown/security/dependabot/276)
[#277](https://github.com/readmeio/markdown/security/dependabot/277)
[#281](https://github.com/readmeio/markdown/security/dependabot/281)
[#282](https://github.com/readmeio/markdown/security/dependabot/282)
[#294](https://github.com/readmeio/markdown/security/dependabot/294)
[#296](https://github.com/readmeio/markdown/security/dependabot/296)
[#297](https://github.com/readmeio/markdown/security/dependabot/297)
[#301](https://github.com/readmeio/markdown/security/dependabot/301)
[#302](https://github.com/readmeio/markdown/security/dependabot/302)
[#358](https://github.com/readmeio/markdown/security/dependabot/358)
[#361](https://github.com/readmeio/markdown/security/dependabot/361)
- **handlebars** `4.7.8` → `4.7.9` —
[#236](https://github.com/readmeio/markdown/security/dependabot/236)
[#239](https://github.com/readmeio/markdown/security/dependabot/239)
[#240](https://github.com/readmeio/markdown/security/dependabot/240)
[#242](https://github.com/readmeio/markdown/security/dependabot/242)
[#243](https://github.com/readmeio/markdown/security/dependabot/243)
[#245](https://github.com/readmeio/markdown/security/dependabot/245)
[#246](https://github.com/readmeio/markdown/security/dependabot/246)
- **js-yaml** `3.14.2` → `3.15.2`, `4.1.0` → `4.3.2` —
[#156](https://github.com/readmeio/markdown/security/dependabot/156)
[#340](https://github.com/readmeio/markdown/security/dependabot/340)
[#341](https://github.com/readmeio/markdown/security/dependabot/341)
[#347](https://github.com/readmeio/markdown/security/dependabot/347)
[#351](https://github.com/readmeio/markdown/security/dependabot/351)
[#392](https://github.com/readmeio/markdown/security/dependabot/392)
[#393](https://github.com/readmeio/markdown/security/dependabot/393)
- **lodash** `4.17.21` → `4.18.1` —
[#176](https://github.com/readmeio/markdown/security/dependabot/176)
[#251](https://github.com/readmeio/markdown/security/dependabot/251)
[#252](https://github.com/readmeio/markdown/security/dependabot/252)
- **lodash-es** `4.17.21` → `4.18.1` —
[#175](https://github.com/readmeio/markdown/security/dependabot/175)
[#249](https://github.com/readmeio/markdown/security/dependabot/249)
[#250](https://github.com/readmeio/markdown/security/dependabot/250)
- **undici** `7.16.0` → `7.29.0`; `5.29.0` → `6.28.0` (via
semantic-release / `@actions/http-client@4`) —
[#216](https://github.com/readmeio/markdown/security/dependabot/216)
[#218](https://github.com/readmeio/markdown/security/dependabot/218)
[#222](https://github.com/readmeio/markdown/security/dependabot/222)
[#223](https://github.com/readmeio/markdown/security/dependabot/223)
[#326](https://github.com/readmeio/markdown/security/dependabot/326)
[#330](https://github.com/readmeio/markdown/security/dependabot/330)
[#331](https://github.com/readmeio/markdown/security/dependabot/331)
[#334](https://github.com/readmeio/markdown/security/dependabot/334)
[#335](https://github.com/readmeio/markdown/security/dependabot/335)
[#336](https://github.com/readmeio/markdown/security/dependabot/336)
[#337](https://github.com/readmeio/markdown/security/dependabot/337)
[#375](https://github.com/readmeio/markdown/security/dependabot/375)
[#376](https://github.com/readmeio/markdown/security/dependabot/376)
[#377](https://github.com/readmeio/markdown/security/dependabot/377)
[#378](https://github.com/readmeio/markdown/security/dependabot/378)
[#379](https://github.com/readmeio/markdown/security/dependabot/379)
[#381](https://github.com/readmeio/markdown/security/dependabot/381)
[#382](https://github.com/readmeio/markdown/security/dependabot/382)
[#383](https://github.com/readmeio/markdown/security/dependabot/383)
- **minimatch** `3.1.2` → `3.1.5` —
[#202](https://github.com/readmeio/markdown/security/dependabot/202)
- **uuid** mermaid `11.1.0` → `14.0.2`; sockjs `8.3.2` removed with
webpack-dev-server 6 —
[#291](https://github.com/readmeio/markdown/security/dependabot/291)
- **mdast-util-to-hast** `13.1.0` → `13.2.1` —
[#165](https://github.com/readmeio/markdown/security/dependabot/165)
- **follow-redirects** `1.15.11` → `1.16.0` —
[#259](https://github.com/readmeio/markdown/security/dependabot/259)
- **websocket-driver** removed with webpack-dev-server 6 (SockJS
dropped) —
[#344](https://github.com/readmeio/markdown/security/dependabot/344)
- **http-proxy-middleware** `2.0.9` → `4.2.0` (webpack-dev-server 6) —
[#338](https://github.com/readmeio/markdown/security/dependabot/338)
- **picomatch** `2.3.1` → `2.3.2` —
[#230](https://github.com/readmeio/markdown/security/dependabot/230)
- **@babel/plugin-transform-modules-systemjs** `7.24.1` → `7.29.8` —
[#283](https://github.com/readmeio/markdown/security/dependabot/283)
- **immutable** `4.3.6` → `4.3.9` —
[#213](https://github.com/readmeio/markdown/security/dependabot/213)
[#363](https://github.com/readmeio/markdown/security/dependabot/363)
[#364](https://github.com/readmeio/markdown/security/dependabot/364)
- **brace-expansion** `1.1.11` → `1.1.18` —
[#350](https://github.com/readmeio/markdown/security/dependabot/350)
- **form-data** `4.0.5` → `4.0.6` —
[#318](https://github.com/readmeio/markdown/security/dependabot/318)
- **rollup** `4.40.2` → `4.63.0` —
[#197](https://github.com/readmeio/markdown/security/dependabot/197)

### Also resolved because those parents now pull patched copies

- **@remix-run/router** `1.15.3` → `1.23.4` (react-router-dom) —
[#168](https://github.com/readmeio/markdown/security/dependabot/168)
[#386](https://github.com/readmeio/markdown/security/dependabot/386)
- **dompurify** `3.2.5` → `3.4.14` (mermaid) —
[#208](https://github.com/readmeio/markdown/security/dependabot/208)
[#209](https://github.com/readmeio/markdown/security/dependabot/209)
[#244](https://github.com/readmeio/markdown/security/dependabot/244)
[#253](https://github.com/readmeio/markdown/security/dependabot/253)
[#254](https://github.com/readmeio/markdown/security/dependabot/254)
[#262](https://github.com/readmeio/markdown/security/dependabot/262)
[#263](https://github.com/readmeio/markdown/security/dependabot/263)
[#264](https://github.com/readmeio/markdown/security/dependabot/264)
[#265](https://github.com/readmeio/markdown/security/dependabot/265)
[#311](https://github.com/readmeio/markdown/security/dependabot/311)
[#319](https://github.com/readmeio/markdown/security/dependabot/319)
[#320](https://github.com/readmeio/markdown/security/dependabot/320)
[#321](https://github.com/readmeio/markdown/security/dependabot/321)
[#322](https://github.com/readmeio/markdown/security/dependabot/322)
[#323](https://github.com/readmeio/markdown/security/dependabot/323)
[#324](https://github.com/readmeio/markdown/security/dependabot/324)
[#327](https://github.com/readmeio/markdown/security/dependabot/327)
[#365](https://github.com/readmeio/markdown/security/dependabot/365)
[#394](https://github.com/readmeio/markdown/security/dependabot/394)
- **launch-editor** `2.6.1` → `2.14.1` (webpack-dev-server) —
[#299](https://github.com/readmeio/markdown/security/dependabot/299)
[#310](https://github.com/readmeio/markdown/security/dependabot/310)
- **shell-quote** `1.8.1` → `1.10.0` (launch-editor) —
[#306](https://github.com/readmeio/markdown/security/dependabot/306)
[#346](https://github.com/readmeio/markdown/security/dependabot/346)
- **on-headers** `1.0.2` → `1.1.0` (compression via webpack-dev-server)
— [#143](https://github.com/readmeio/markdown/security/dependabot/143)
- **qs** `6.13.0` → `6.15.3` (express / body-parser via
webpack-dev-server) —
[#166](https://github.com/readmeio/markdown/security/dependabot/166)
[#186](https://github.com/readmeio/markdown/security/dependabot/186)
[#293](https://github.com/readmeio/markdown/security/dependabot/293)
- **node-forge** removed (webpack-dev-server 5 dropped it) —
[#161](https://github.com/readmeio/markdown/security/dependabot/161)
[#162](https://github.com/readmeio/markdown/security/dependabot/162)
[#233](https://github.com/readmeio/markdown/security/dependabot/233)
[#234](https://github.com/readmeio/markdown/security/dependabot/234)
[#235](https://github.com/readmeio/markdown/security/dependabot/235)
- **serialize-javascript** removed (terser-webpack-plugin 5.6) —
[#206](https://github.com/readmeio/markdown/security/dependabot/206)
[#292](https://github.com/readmeio/markdown/security/dependabot/292)
- **nanoid** already at patched `3.3.18` —
[#396](https://github.com/readmeio/markdown/security/dependabot/396)
[#398](https://github.com/readmeio/markdown/security/dependabot/398)

### Still cannot update (parent pins the old range, or the copy is
bundled)

- **bl@0.8.2** (`levelup` `~0.8.1`) —
[#83](https://github.com/readmeio/markdown/security/dependabot/83)
[#84](https://github.com/readmeio/markdown/security/dependabot/84)
- **ip-address** / **tar** / **minimatch@10.1.1** /
**brace-expansion@2.0.2** / **picomatch@4.0.3** / **minimatch@9.0.5**
(bundled inside `npm@11.7.0`) —
[#172](https://github.com/readmeio/markdown/security/dependabot/172)
[#174](https://github.com/readmeio/markdown/security/dependabot/174)
[#177](https://github.com/readmeio/markdown/security/dependabot/177)
[#188](https://github.com/readmeio/markdown/security/dependabot/188)
[#201](https://github.com/readmeio/markdown/security/dependabot/201)
[#205](https://github.com/readmeio/markdown/security/dependabot/205)
[#212](https://github.com/readmeio/markdown/security/dependabot/212)
[#214](https://github.com/readmeio/markdown/security/dependabot/214)
[#228](https://github.com/readmeio/markdown/security/dependabot/228)
[#269](https://github.com/readmeio/markdown/security/dependabot/269)
[#317](https://github.com/readmeio/markdown/security/dependabot/317)
[#345](https://github.com/readmeio/markdown/security/dependabot/345)
[#355](https://github.com/readmeio/markdown/security/dependabot/355)
[#380](https://github.com/readmeio/markdown/security/dependabot/380)
- **minimatch@4.2.3** (graphql-config pins it exactly) —
[#200](https://github.com/readmeio/markdown/security/dependabot/200)
- **tar-fs@2.1.1** / **extract-zip@2.0.1** / **ws@8.13.0** (puppeteer
exact pins) —
[#122](https://github.com/readmeio/markdown/security/dependabot/122)
[#135](https://github.com/readmeio/markdown/security/dependabot/135)
[#152](https://github.com/readmeio/markdown/security/dependabot/152)
[#81](https://github.com/readmeio/markdown/security/dependabot/81)
[#312](https://github.com/readmeio/markdown/security/dependabot/312)
[#397](https://github.com/readmeio/markdown/security/dependabot/397)
- **mdast-util-to-hast@10.2.0** (`@readme/markdown-legacy`)
- **react-router@6.30.6** remaining alerts need 7.18.0 —
[#367](https://github.com/readmeio/markdown/security/dependabot/367)
[#368](https://github.com/readmeio/markdown/security/dependabot/368)
- **@babel/core@7.29.0** —
[#313](https://github.com/readmeio/markdown/security/dependabot/313)
- **sigstore@4.0.0** / **@sigstore/core@3.0.0** (inside bundled `npm`) —
[#339](https://github.com/readmeio/markdown/security/dependabot/339)
[#342](https://github.com/readmeio/markdown/security/dependabot/342)

## 🧪 QA tips

- [ ] `npx vitest run` (3253 passed locally after the nested updates and
webpack-dev-server 6)
- [x] `npm start` / `webpack serve` still serves the example app on
webpack-cli 7 + webpack-dev-server 6 (`HTTP 200` on `:9966`)
- [x] BundleWatch CI uses Node 22.x (dropped Node 20 + `npm i -g npm@7`)
- [ ] Watch visual tests — mermaid `11.16.1` previously passed them
here; `11.17.2` has not been screenshot-tested locally
- [ ] After merge, confirm the linked “resolved” Dependabot alerts close

## 📸 Screenshot or Loom

n/a — dependency / lockfile only

---------

Co-authored-by: Cursor <cursoragent@cursor.com>

This branch was previously deployed

1 inactive deployment
markdown-pr-234 — 82732dd0 Deployed Jul 24, 2021 by kellyjosephprice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants