@vercel/gatsby-plugin-vercel-builder 2.2.39 → 2.2.40

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 +15 -14
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -266,7 +266,7 @@ var require_dist = __commonJS({
266
266
  exports.tokensToFunction = tokensToFunction;
267
267
  function match(str, options) {
268
268
  var keys = [];
269
- var re = pathToRegexp(str, keys, options);
269
+ var re = pathToRegexp2(str, keys, options);
270
270
  return regexpToFunction(re, keys, options);
271
271
  }
272
272
  exports.match = match;
@@ -327,7 +327,7 @@ var require_dist = __commonJS({
327
327
  }
328
328
  function arrayToRegexp(paths, keys, options) {
329
329
  var parts = paths.map(function(path2) {
330
- return pathToRegexp(path2, keys, options).source;
330
+ return pathToRegexp2(path2, keys, options).source;
331
331
  });
332
332
  return new RegExp("(?:" + parts.join("|") + ")", flags(options));
333
333
  }
@@ -389,14 +389,14 @@ var require_dist = __commonJS({
389
389
  return new RegExp(route, flags(options));
390
390
  }
391
391
  exports.tokensToRegexp = tokensToRegexp;
392
- function pathToRegexp(path2, keys, options) {
392
+ function pathToRegexp2(path2, keys, options) {
393
393
  if (path2 instanceof RegExp)
394
394
  return regexpToRegexp(path2, keys);
395
395
  if (Array.isArray(path2))
396
396
  return arrayToRegexp(path2, keys, options);
397
397
  return stringToRegexp(path2, keys, options);
398
398
  }
399
- exports.pathToRegexp = pathToRegexp;
399
+ exports.pathToRegexp = pathToRegexp2;
400
400
  }
401
401
  });
402
402
 
@@ -654,7 +654,7 @@ var require_dist2 = __commonJS({
654
654
  exports.tokensToFunction = tokensToFunction;
655
655
  function match(str, options) {
656
656
  var keys = [];
657
- var re = pathToRegexp(str, keys, options);
657
+ var re = pathToRegexp2(str, keys, options);
658
658
  return regexpToFunction(re, keys, options);
659
659
  }
660
660
  exports.match = match;
@@ -717,7 +717,7 @@ var require_dist2 = __commonJS({
717
717
  }
718
718
  function arrayToRegexp(paths, keys, options) {
719
719
  var parts = paths.map(function(path2) {
720
- return pathToRegexp(path2, keys, options).source;
720
+ return pathToRegexp2(path2, keys, options).source;
721
721
  });
722
722
  return new RegExp("(?:".concat(parts.join("|"), ")"), flags(options));
723
723
  }
@@ -779,14 +779,14 @@ var require_dist2 = __commonJS({
779
779
  return new RegExp(route, flags(options));
780
780
  }
781
781
  exports.tokensToRegexp = tokensToRegexp;
782
- function pathToRegexp(path2, keys, options) {
782
+ function pathToRegexp2(path2, keys, options) {
783
783
  if (path2 instanceof RegExp)
784
784
  return regexpToRegexp(path2, keys);
785
785
  if (Array.isArray(path2))
786
786
  return arrayToRegexp(path2, keys, options);
787
787
  return stringToRegexp(path2, keys, options);
788
788
  }
789
- exports.pathToRegexp = pathToRegexp;
789
+ exports.pathToRegexp = pathToRegexp2;
790
790
  }
791
791
  });
792
792
 
@@ -821,7 +821,7 @@ var require_superstatic = __commonJS({
821
821
  convertRewrites: () => convertRewrites2,
822
822
  convertTrailingSlash: () => convertTrailingSlash,
823
823
  getCleanUrls: () => getCleanUrls2,
824
- pathToRegexp: () => pathToRegexp,
824
+ pathToRegexp: () => pathToRegexp2,
825
825
  sourceToRegex: () => sourceToRegex2
826
826
  });
827
827
  module2.exports = __toCommonJS2(superstatic_exports);
@@ -839,7 +839,7 @@ var require_superstatic = __commonJS({
839
839
  const rightSerialized = typeof right === "undefined" ? "undefined" : right.toString();
840
840
  return leftSerialized === rightSerialized;
841
841
  }
842
- function pathToRegexp(callerId, path2, keys, options) {
842
+ function pathToRegexp2(callerId, path2, keys, options) {
843
843
  const newKeys = cloneKeys(keys);
844
844
  const currentRegExp = (0, import_path_to_regexp.pathToRegexp)(path2, keys, options);
845
845
  try {
@@ -1059,7 +1059,7 @@ var require_superstatic = __commonJS({
1059
1059
  }
1060
1060
  function sourceToRegex2(source) {
1061
1061
  const keys = [];
1062
- const r = pathToRegexp("632", source, keys, {
1062
+ const r = pathToRegexp2("632", source, keys, {
1063
1063
  strict: true,
1064
1064
  sensitive: true,
1065
1065
  delimiter: "/"
@@ -1219,9 +1219,9 @@ var require_superstatic = __commonJS({
1219
1219
  const hashKeys = [];
1220
1220
  const hostnameKeys = [];
1221
1221
  try {
1222
- pathToRegexp("528", pathname, pathnameKeys);
1223
- pathToRegexp("834", hash || "", hashKeys);
1224
- pathToRegexp("712", hostname || "", hostnameKeys);
1222
+ pathToRegexp2("528", pathname, pathnameKeys);
1223
+ pathToRegexp2("834", hash || "", hashKeys);
1224
+ pathToRegexp2("712", hostname || "", hostnameKeys);
1225
1225
  } catch (_) {
1226
1226
  }
1227
1227
  destParams = new Set(
@@ -2400,6 +2400,7 @@ var require_dist3 = __commonJS({
2400
2400
  mergeRoutes: () => import_merge.mergeRoutes,
2401
2401
  normalizeRoutePrefix: () => import_service_route_ownership.normalizeRoutePrefix,
2402
2402
  normalizeRoutes: () => normalizeRoutes,
2403
+ pathToRegexp: () => import_superstatic2.pathToRegexp,
2403
2404
  scopeRouteSourceToOwnership: () => import_service_route_ownership.scopeRouteSourceToOwnership,
2404
2405
  sourceToRegex: () => import_superstatic2.sourceToRegex
2405
2406
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/gatsby-plugin-vercel-builder",
3
- "version": "2.2.39",
3
+ "version": "2.2.40",
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": "14.0.5"
20
+ "@vercel/build-utils": "14.1.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/etag": "1.8.0",
@@ -26,7 +26,7 @@
26
26
  "@types/react": "18.0.26",
27
27
  "vite": "6.4.3",
28
28
  "vitest": "4.1.10",
29
- "@vercel/routing-utils": "6.4.1"
29
+ "@vercel/routing-utils": "6.5.0"
30
30
  },
31
31
  "license": "Apache-2.0",
32
32
  "scripts": {