From a97dd50cfe7fa99e686525816c89d0b6a64ce094 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 19:55:43 +0000 Subject: [PATCH 1/2] cacheable-request - chore: upgrade normalize-url to 9 (breaking) normalize-url ^8.1.1 -> ^9.0.1 (cacheable-request dependency). No code changes required: cacheable-request's usage type-checks against v9 (cacheable-request builds with tsc, so this is enforced by the build). The normalized-URL output that feeds cache keys is unchanged -- the cache-key assertion tests (e.g. "GET:http://mockhttp.org") pass on v9, so cache keys are stable for consumers. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01P1TBuMiXotBjpNHYcbwvqf --- packages/cacheable-request/package.json | 2 +- pnpm-lock.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/cacheable-request/package.json b/packages/cacheable-request/package.json index b3c9a2c6..cd70b73e 100644 --- a/packages/cacheable-request/package.json +++ b/packages/cacheable-request/package.json @@ -48,7 +48,7 @@ "http-cache-semantics": "^4.2.0", "keyv": "^5.6.0", "mimic-response": "^4.0.0", - "normalize-url": "^8.1.1", + "normalize-url": "^9.0.1", "responselike": "^4.0.2" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e249d1a2..e3d2b7db 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -159,8 +159,8 @@ importers: specifier: ^4.0.0 version: 4.0.0 normalize-url: - specifier: ^8.1.1 - version: 8.1.1 + specifier: ^9.0.1 + version: 9.0.1 responselike: specifier: ^4.0.2 version: 4.0.2 @@ -2889,9 +2889,9 @@ packages: resolution: {integrity: sha512-Z3lTE9pLaJF47NyMhd4ww1yFTAP8YhYI8SleJiHzM46Fgpm5cnNzSl9XfzFNqbaz+VlJrIj3fXQ4DeN1Rjm6cw==} engines: {node: '>=18'} - normalize-url@8.1.1: - resolution: {integrity: sha512-JYc0DPlpGWB40kH5g07gGTrYuMqV653k3uBKY6uITPWds3M0ov3GaWGp9lbE3Bzngx8+XkfzgvASb9vk9JDFXQ==} - engines: {node: '>=14.16'} + normalize-url@9.0.1: + resolution: {integrity: sha512-ARftfC5HdUNu9jJeL8pHj8debUIHA2b91FizCoMzY4lG6dDX13jdvTK0TBe24IBDRf2HvJSzzwEPvmbkQWHRSg==} + engines: {node: '>=20'} nunjucks@3.2.4: resolution: {integrity: sha512-26XRV6BhkgK0VOxfbU5cQI+ICFUtMLixv1noZn1tGU38kQH5A5nmmbk/O45xdyBhD1esk47nKrY0mvQpZIhRjQ==} @@ -6513,7 +6513,7 @@ snapshots: emojilib: 2.4.0 skin-tone: 2.0.0 - normalize-url@8.1.1: {} + normalize-url@9.0.1: {} nunjucks@3.2.4: dependencies: From 883bbc6036b831a929121e0c43973244e48b95a0 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 20:00:27 +0000 Subject: [PATCH 2/2] cacheable-request - chore: raise engines.node to 20 for normalize-url 9 normalize-url@9 requires node >=20, but cacheable-request declared engines.node ">=18", so an engine-strict install on Node 18/19 could fail. Raise the floor to ">=20" to match the dependency. Node 18 and 19 are both end-of-life and are not in this repo's CI matrix (22/24/26). Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01P1TBuMiXotBjpNHYcbwvqf --- packages/cacheable-request/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cacheable-request/package.json b/packages/cacheable-request/package.json index cd70b73e..9824e143 100644 --- a/packages/cacheable-request/package.json +++ b/packages/cacheable-request/package.json @@ -13,7 +13,7 @@ "exports": "./dist/index.js", "types": "./dist/index.d.ts", "engines": { - "node": ">=18" + "node": ">=20" }, "scripts": { "lint": "biome check --write --error-on-warnings",