@vercel/gatsby-plugin-vercel-builder 2.0.142 → 2.0.143

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -928,7 +928,7 @@ var require_superstatic = __commonJS({
928
928
  route.missing = r.missing;
929
929
  }
930
930
  return route;
931
- } catch (e) {
931
+ } catch (_e) {
932
932
  throw new Error(`Failed to parse redirect: ${JSON.stringify(r)}`);
933
933
  }
934
934
  });
@@ -961,7 +961,7 @@ var require_superstatic = __commonJS({
961
961
  route.status = r.statusCode;
962
962
  }
963
963
  return route;
964
- } catch (e) {
964
+ } catch (_e) {
965
965
  throw new Error(`Failed to parse rewrite: ${JSON.stringify(r)}`);
966
966
  }
967
967
  });
@@ -1172,7 +1172,7 @@ var require_superstatic = __commonJS({
1172
1172
  if (attemptDirectCompile) {
1173
1173
  try {
1174
1174
  return (0, import_path_to_regexp.compile)(value, { validate: false })(indexes);
1175
- } catch (e) {
1175
+ } catch (_e) {
1176
1176
  }
1177
1177
  }
1178
1178
  for (const key of Object.keys(indexes)) {
@@ -2368,7 +2368,7 @@ var require_dist3 = __commonJS({
2368
2368
  function checkRegexSyntax(type, index, src) {
2369
2369
  try {
2370
2370
  new RegExp(src);
2371
- } catch (err) {
2371
+ } catch (_err) {
2372
2372
  const prop = type === "Route" ? "src`/`source" : "source";
2373
2373
  return `${type} at index ${index} has invalid \`${prop}\` regular expression "${src}".`;
2374
2374
  }
@@ -2383,7 +2383,7 @@ var require_dist3 = __commonJS({
2383
2383
  const destinationSegments = /* @__PURE__ */ new Set();
2384
2384
  try {
2385
2385
  sourceSegments = new Set((0, import_superstatic.sourceToRegex)(source).segments);
2386
- } catch (err) {
2386
+ } catch (_err) {
2387
2387
  return {
2388
2388
  message: `${type} at index ${index} has invalid \`source\` pattern "${source}".`,
2389
2389
  link: "https://vercel.link/invalid-route-source-pattern"
@@ -2404,7 +2404,7 @@ var require_dist3 = __commonJS({
2404
2404
  (name) => destinationSegments.add(name)
2405
2405
  );
2406
2406
  }
2407
- } catch (err) {
2407
+ } catch (_err) {
2408
2408
  }
2409
2409
  const hasSegments = (0, import_superstatic.collectHasSegments)(has);
2410
2410
  for (const segment of destinationSegments) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/gatsby-plugin-vercel-builder",
3
- "version": "2.0.142",
3
+ "version": "2.0.143",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",
@@ -17,7 +17,7 @@
17
17
  "esbuild": "0.27.0",
18
18
  "etag": "1.8.1",
19
19
  "fs-extra": "11.1.0",
20
- "@vercel/build-utils": "13.6.2"
20
+ "@vercel/build-utils": "13.6.3"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/etag": "1.8.0",
@@ -27,7 +27,7 @@
27
27
  "@types/react": "18.0.26",
28
28
  "jest-junit": "16.0.0",
29
29
  "typescript": "4.9.5",
30
- "@vercel/routing-utils": "6.0.1"
30
+ "@vercel/routing-utils": "6.0.2"
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "scripts": {