Skip to content

Commit fdf9d04

Browse files
authored
build(deps): combine age-eligible Dependabot updates (#12)
<!-- Use a conventional commit-style title, such as "fix(hub): retain prototype history". --> ## Why <!-- Explain the problem and why this change matters in a short, plain-English paragraph. Link the issue when applicable. --> Bring the eligible Dependabot updates together so they can be reviewed and landed as one maintenance change. This replaces #1, #2, #3, #5, #6, #7, and #8. The Hub Vite update in #4 stays out because its dependency-age check failed. ## What changes <!-- Describe what becomes different for a first-time reader. Explain necessary terms. Include accurate Mermaid diagrams when they clarify the proposal, using before/after diagrams when helpful. Add screenshots for meaningful UI changes. --> <!-- Omit validation sections, checklists, and routine test/CI summaries such as "CI is green" or "tests passed". Mention only known verification gaps that affect the change, not disclaimers about drafting this description. --> Updates the Node setup action and Hub's JSON and Primer Brand dependencies. The starter updates TanStack Router and its matching history package together, along with Jest DOM and Vite. Removes duplicate response fields that JSON 3 now rejects. Adjusts existing tooltip tests for Primer's hover delay and rebuilds the bundled canvas assets.
1 parent 8a5af37 commit fdf9d04

15 files changed

Lines changed: 96 additions & 170 deletions

File tree

‎.github/extensions/replica-prototype/assets/renderer-vendor.js‎

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/extensions/replica-prototype/assets/renderer.css‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/workflows/actions-ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
17-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
17+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
1818
with:
1919
node-version: 24
2020
cache: npm

‎.github/workflows/hub-ci.yml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
bundler-cache: true
2424
working-directory: hub
25-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
25+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
2626
with:
2727
node-version-file: hub/package.json
2828
cache: npm
@@ -108,7 +108,7 @@ jobs:
108108
runs-on: ubuntu-latest
109109
steps:
110110
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
111-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
111+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
112112
with:
113113
node-version-file: hub/package.json
114114
cache: npm
@@ -121,7 +121,7 @@ jobs:
121121
runs-on: ubuntu-latest
122122
steps:
123123
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
124-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
124+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
125125
with:
126126
node-version-file: hub/package.json
127127
cache: npm
@@ -138,7 +138,7 @@ jobs:
138138
shard: [1, 2, 3, 4]
139139
steps:
140140
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
141-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
141+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
142142
with:
143143
node-version-file: hub/package.json
144144
cache: npm
@@ -151,7 +151,7 @@ jobs:
151151
runs-on: ubuntu-latest
152152
steps:
153153
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
154-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
154+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
155155
with:
156156
node-version-file: hub/package.json
157157
cache: npm
@@ -185,7 +185,7 @@ jobs:
185185
runs-on: ubuntu-latest
186186
steps:
187187
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
188-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
188+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
189189
with:
190190
node-version-file: hub/package.json
191191
cache: npm
@@ -200,7 +200,7 @@ jobs:
200200
runs-on: ubuntu-latest
201201
steps:
202202
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
203-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
203+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
204204
with:
205205
node-version-file: hub/package.json
206206
cache: npm

‎.github/workflows/learning-ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
working-directory: packages/learning
2424
steps:
2525
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
26-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
26+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
2727
with:
2828
node-version: 24
2929
cache: npm

‎.github/workflows/starter-ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
working-directory: starter
3232
steps:
3333
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
34-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
34+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
3535
with:
3636
node-version: 24
3737
cache: npm

‎hub/Gemfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
44
gem "active_job-performs", "1.0.2"
55
gem "active_record-associated_object", "1.0.0"
66
gem "bootsnap", require: false
7-
gem "json", "~> 2.0"
7+
gem "json", "~> 3.0"
88
gem "jwt", "~> 3.3"
99
gem "oaken", "1.0.0"
1010
gem "propshaft"

‎hub/Gemfile.lock‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ GEM
132132
prism (>= 1.3.0)
133133
rdoc (>= 4.0.0)
134134
reline (>= 0.4.2)
135-
json (2.21.2)
135+
json (3.0.2)
136136
jwt (3.3.0)
137137
base64
138138
language_server-protocol (3.17.0.6)
@@ -374,7 +374,7 @@ DEPENDENCIES
374374
chusaku (= 1.5.2)
375375
debug
376376
foreman (= 0.90.0)
377-
json (~> 2.0)
377+
json (~> 3.0)
378378
jwt (~> 3.3)
379379
oaken (= 1.0.0)
380380
propshaft
@@ -439,7 +439,7 @@ CHECKSUMS
439439
i18n (1.15.2) sha256=00f9eb62412fe593b2a65a97daa75300d37abb8f7202ec748e94b6d46a9dd1b5
440440
io-console (0.9.2) sha256=efa74f891dd03c0939a931dfc6e74c2813d904763d456ea9762b0525e748db08
441441
irb (1.18.0) sha256=de9454a0703a54704b9811a5ef31a60c86949fbf4013fcf244fabc7c775248e3
442-
json (2.21.2) sha256=1f1d3b7cf2b3ba1a69beca0bb6db13d5438b80bff3cd54cdaaa620b9b07c1c6a
442+
json (3.0.2) sha256=8e6d7e7b11384c21230430cef90b71f14849a34a1f4452796670f7c981bd19df
443443
jwt (3.3.0) sha256=44cc34fbc341c148233cf66641522b4bce0dfb1ce55e8073f05c56f44f4ee546
444444
language_server-protocol (3.17.0.6) sha256=5ef2c0c138f8267e1bc631d3328347d354f96724b0af22f2c79516120443b7f0
445445
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87

‎hub/app/javascript/components/prototype-canvas-toolbar/index.test.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { fireEvent, render, screen } from "@testing-library/react"
1+
import { fireEvent, render, screen, waitFor } from "@testing-library/react"
22
import { ThemeProvider } from "@primer/react-brand"
33
import { createRef } from "react"
44
import { describe, expect, it, vi } from "vitest"
@@ -202,7 +202,7 @@ describe("Toolbar()", () => {
202202

203203
it.each([false, true])(
204204
"explains Published on hover and focus without dispatching (resolved: %s)",
205-
(resolved) => {
205+
async (resolved) => {
206206
const onPublish = vi.fn()
207207
const publishButtonRef = createRef<HTMLButtonElement>()
208208
render(
@@ -230,7 +230,7 @@ describe("Toolbar()", () => {
230230
expect(button).toHaveAccessibleDescription("Latest changes already published")
231231
const tooltip = document.getElementById(button.getAttribute("aria-describedby")!)!
232232
fireEvent.mouseEnter(button)
233-
expect(tooltip.matches(":popover-open")).toBe(true)
233+
await waitFor(() => expect(tooltip.matches(":popover-open")).toBe(true))
234234
tooltip.hidePopover()
235235
fireEvent.focus(button)
236236
expect(tooltip.matches(":popover-open")).toBe(true)

‎hub/app/javascript/features/prototype-canvas-share-links/index.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ describe("ShareLinksPage()", () => {
216216
expect(build.querySelector("strong")).toHaveTextContent("Build 2")
217217
expect(build).toHaveAccessibleDescription(/Commit: bbbbbbb\s+Author: @octocat\s+Published:/)
218218
fireEvent.mouseEnter(build)
219-
expect(tooltip.matches(":popover-open")).toBe(true)
219+
await waitFor(() => expect(tooltip.matches(":popover-open")).toBe(true))
220220
fireEvent.mouseLeave(build)
221221
await waitFor(() => expect(tooltip.matches(":popover-open")).toBe(false))
222222
fireEvent.focus(build)

0 commit comments

Comments
 (0)