@vercel/build-utils 14.9.1 → 14.9.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 14.9.2
4
+
5
+ ### Patch Changes
6
+
7
+ - b174f14: Raise the client-side `maxDuration` validation limit to 3600 seconds.
8
+
3
9
  ## 14.9.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -38426,7 +38426,7 @@ function hasProp2(obj, key) {
38426
38426
  }
38427
38427
 
38428
38428
  // src/max-duration.ts
38429
- var DEFAULT_MAX_DURATION_LIMIT = 1800;
38429
+ var DEFAULT_MAX_DURATION_LIMIT = 3600;
38430
38430
  var SKIP_MAX_DURATION_LIMIT_ENV = "VERCEL_CLI_SKIP_MAX_DURATION_LIMIT";
38431
38431
  function getMaxDurationLimit() {
38432
38432
  if (process.env[SKIP_MAX_DURATION_LIMIT_ENV] === "1") {
@@ -8,7 +8,7 @@
8
8
  * this client-side bound is intentionally coarse — it exists only to give fast
9
9
  * local feedback on obviously-invalid values.
10
10
  */
11
- export declare const DEFAULT_MAX_DURATION_LIMIT = 1800;
11
+ export declare const DEFAULT_MAX_DURATION_LIMIT = 3600;
12
12
  /**
13
13
  * Internal env var used to skip the client-side `maxDuration` upper-bound check.
14
14
  * When set to `'1'`, the client-side maximum ({@link DEFAULT_MAX_DURATION_LIMIT})
@@ -24,7 +24,7 @@ __export(max_duration_exports, {
24
24
  getMaxDurationSchema: () => getMaxDurationSchema
25
25
  });
26
26
  module.exports = __toCommonJS(max_duration_exports);
27
- const DEFAULT_MAX_DURATION_LIMIT = 1800;
27
+ const DEFAULT_MAX_DURATION_LIMIT = 3600;
28
28
  const SKIP_MAX_DURATION_LIMIT_ENV = "VERCEL_CLI_SKIP_MAX_DURATION_LIMIT";
29
29
  function getMaxDurationLimit() {
30
30
  if (process.env[SKIP_MAX_DURATION_LIMIT_ENV] === "1") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "14.9.1",
3
+ "version": "14.9.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",