@cloudflare/pages-shared 0.13.54 → 0.13.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -288,7 +288,7 @@ export async function generateHandler<
288
288
 
289
289
  try {
290
290
  pathname = globalThis.decodeURIComponent(pathname);
291
- } catch (err) {}
291
+ } catch {}
292
292
 
293
293
  if (pathname.endsWith("/")) {
294
294
  if ((assetEntry = await findAssetEntryForPath(`${pathname}index.html`))) {
@@ -453,7 +453,7 @@ export async function generateHandler<
453
453
  earlyHintsCacheKey,
454
454
  new Response(null, { headers: earlyHintsHeaders })
455
455
  );
456
- } catch (err) {
456
+ } catch {
457
457
  // Nbd if we fail here in the deferred 'waitUntil' work. We're probably trying to parse a malformed page or something.
458
458
  // Totally fine to skip over any errors.
459
459
  // If we need to debug something, you can uncomment the following:
@@ -549,7 +549,7 @@ export async function generateHandler<
549
549
  let content: ContentNegotiation;
550
550
  try {
551
551
  content = negotiateContent(request, servingAssetEntry);
552
- } catch (err) {
552
+ } catch {
553
553
  return new NotAcceptableResponse();
554
554
  }
555
555
 
@@ -741,7 +741,7 @@ export async function generateHandler<
741
741
  let content: ContentNegotiation;
742
742
  try {
743
743
  content = negotiateContent(request, assetEntry);
744
- } catch (err) {
744
+ } catch {
745
745
  return new NotAcceptableResponse();
746
746
  }
747
747
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/pages-shared",
3
- "version": "0.13.54",
3
+ "version": "0.13.56",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/cloudflare/workers-sdk.git",
@@ -13,16 +13,16 @@
13
13
  "metadata-generator/**/*"
14
14
  ],
15
15
  "dependencies": {
16
- "miniflare": "4.20250709.0"
16
+ "miniflare": "4.20250712.1"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@cloudflare/vitest-pool-workers": "^0.8.19",
20
- "@cloudflare/workers-types": "^4.20250709.0",
20
+ "@cloudflare/workers-types": "^4.20250712.0",
21
21
  "concurrently": "^8.2.2",
22
22
  "glob": "^10.4.5",
23
23
  "html-rewriter-wasm": "^0.4.1",
24
24
  "vitest": "~3.2.0",
25
- "@cloudflare/workers-shared": "0.18.2",
25
+ "@cloudflare/workers-shared": "0.18.5",
26
26
  "@cloudflare/workers-tsconfig": "0.0.0"
27
27
  },
28
28
  "volta": {