@vercel/build-utils
Advanced tools
+8
-0
| # @vercel/build-utils | ||
| ## 13.2.16 | ||
| ### Patch Changes | ||
| - Add maxConcurrency to experimentalTriggers ([#14725](https://github.com/vercel/vercel/pull/14725)) | ||
| - Add maxConcurrency trigger field ([#14725](https://github.com/vercel/vercel/pull/14725)) | ||
| ## 13.2.15 | ||
@@ -4,0 +12,0 @@ |
+10
-0
@@ -211,2 +211,12 @@ "use strict"; | ||
| } | ||
| if (trigger.maxConcurrency !== void 0) { | ||
| (0, import_assert.default)( | ||
| typeof trigger.maxConcurrency === "number", | ||
| `${prefix}.maxConcurrency must be a number` | ||
| ); | ||
| (0, import_assert.default)( | ||
| Number.isInteger(trigger.maxConcurrency) && trigger.maxConcurrency >= 1, | ||
| `${prefix}.maxConcurrency must be at least 1` | ||
| ); | ||
| } | ||
| } | ||
@@ -213,0 +223,0 @@ } |
@@ -65,2 +65,6 @@ export declare const functionsSchema: { | ||
| }; | ||
| maxConcurrency: { | ||
| type: string; | ||
| minimum: number; | ||
| }; | ||
| }; | ||
@@ -67,0 +71,0 @@ required: string[]; |
+4
-0
@@ -51,2 +51,6 @@ "use strict"; | ||
| minimum: 0 | ||
| }, | ||
| maxConcurrency: { | ||
| type: "number", | ||
| minimum: 1 | ||
| } | ||
@@ -53,0 +57,0 @@ }, |
+6
-0
@@ -551,2 +551,8 @@ /// <reference types="node" /> | ||
| initialDelaySeconds?: number; | ||
| /** | ||
| * Maximum number of concurrent executions for this consumer (OPTIONAL) | ||
| * Must be at least 1 if specified. | ||
| * Behavior when not specified depends on the server's default configuration. | ||
| */ | ||
| maxConcurrency?: number; | ||
| } | ||
@@ -553,0 +559,0 @@ export type ServiceRuntime = 'node' | 'python' | 'go' | 'rust' | 'ruby'; |
+1
-1
| { | ||
| "name": "@vercel/build-utils", | ||
| "version": "13.2.15", | ||
| "version": "13.2.16", | ||
| "license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 11 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 11 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1453211
0.11%33701
0.11%