[pkgsite] all: bump jest, ts-jest, globals; clear npm audit advisories

0 views
Skip to first unread message

Hyang-Ah Hana Kim (Gerrit)

unread,
May 11, 2026, 11:51:04 AM (12 hours ago) May 11
to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Jonathan Amsterdam, Ethan Lee, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com

Hyang-Ah Hana Kim submitted the change

Change information

Commit message:
all: bump jest, ts-jest, globals; clear npm audit advisories

Pick up the safe-to-take dev dependency updates that remained after the
ESLint v10 upgrade:

jest 29.7.0 -> 30.4.2
jest-environment-jsdom 29.7.0 -> 30.4.1
ts-jest 29.4.5 -> 29.4.9
globals 15.14.0 -> 17.6.0

Bumping jest-environment-jsdom to 30.x clears the four low-severity
@tootallnate/once advisories (jest-environment-jsdom -> jsdom ->
http-proxy-agent -> @tootallnate/once), and "npm audit fix" pulls in a
patched brace-expansion to clear the remaining moderate advisory.
"npm audit" now reports 0 vulnerabilities.

Jest 30 removed the deprecated alias matcher toBeCalled; replace with
toHaveBeenCalled in keyboard.test.ts. Snapshot header URLs are also
rewritten by jest 30 (no content changes).

Defer marked 4 -> 18 (requires rewriting static/markdown.ts for the new
async/ESM API) and typescript 5.9 -> 6 (outside typescript-eslint 8.x's
peer range).
Change-Id: I340afbc30a810943d0d8b15933458eaf8d025f7d
kokoro-CI: kokoro <noreply...@google.com>
Reviewed-by: Jonathan Amsterdam <j...@google.com>
Files:
  • M package-lock.json
  • M package.json
  • M static/shared/keyboard/keyboard.test.ts
  • M static/shared/outline/__snapshots__/select.test.ts.snap
  • M static/shared/outline/__snapshots__/tree.test.ts.snap
Change size: XL
Delta: 5 files changed, 1785 insertions(+), 1000 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: I340afbc30a810943d0d8b15933458eaf8d025f7d
Gerrit-Change-Number: 776541
Gerrit-PatchSet: 2
Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Ethan Lee <etha...@google.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
Gerrit-Reviewer: kokoro <noreply...@google.com>
Gerrit-CC: kokoro <noreply...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages