Skip to content

Commit 30bd987

Browse files
sametbasbugclaude
andcommitted
Close six advisories without walking a version backwards
npm audit reported six, five of them undici reached through miniflare and wrangler, and its own suggested fix was to install wrangler 4.35.0 — eighty releases behind where we are. Taking a downgrade as a security fix would have traded a real advisory for a year of missing fixes. undici 7.29.0 is out and sits above the vulnerable range, so an override pins it there and every dependency keeps moving forward. The sixth, fast-uri, took the ordinary fix. Worth being precise about the exposure: undici is build and dev tooling. The deployed bundle was checked and does not contain a byte of it — Workers run on workerd with its own fetch. This was never reachable from the live site, which makes it worth fixing calmly rather than not worth fixing. Alongside: astro 7.1.6, @astrojs/cloudflare 14.1.7, wrangler 4.118.0, workers-types, tsx and playwright-core. TypeScript stays on 6; a major there is its own piece of work, not a tail on this one. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent cc70928 commit 30bd987

2 files changed

Lines changed: 77 additions & 77 deletions

File tree

‎package-lock.json‎

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

‎package.json‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,25 @@
6363
"orbit:publish": "node scripts/orbit-publish.mjs"
6464
},
6565
"dependencies": {
66-
"@astrojs/cloudflare": "14.1.6",
66+
"@astrojs/cloudflare": "14.1.7",
6767
"@astrojs/rss": "^4.0.19",
6868
"@astrojs/sitemap": "3.7.3",
69-
"astro": "7.1.5",
69+
"astro": "7.1.6",
7070
"gray-matter": "^4.0.3",
7171
"micromark": "^4.0.2",
7272
"uuid": "14.0.1"
7373
},
7474
"devDependencies": {
7575
"@astrojs/check": "0.9.10",
76-
"@cloudflare/workers-types": "5.20260729.1",
76+
"@cloudflare/workers-types": "5.20260804.1",
7777
"@hyperjump/json-schema": "1.17.7",
78-
"playwright-core": "^1.62.0",
78+
"playwright-core": "^1.62.1",
7979
"sharp": "^0.35.3",
80-
"tsx": "4.23.1",
80+
"tsx": "4.23.5",
8181
"typescript": "6.0.3",
82-
"wrangler": "4.115.0"
82+
"wrangler": "4.118.0"
83+
},
84+
"overrides": {
85+
"undici": "^7.29.0"
8386
}
8487
}

0 commit comments

Comments
 (0)