@vercel/config
Advanced tools
+14
-5
@@ -107,2 +107,7 @@ /** | ||
| } | ||
| export interface ServiceQueueTopic { | ||
| topic: string; | ||
| retryAfterSeconds?: number; | ||
| initialDelaySeconds?: number; | ||
| } | ||
| export interface GitDeploymentConfig { | ||
@@ -476,6 +481,10 @@ [branch: string]: boolean; | ||
| /** | ||
| * Service type: web, cron, or worker. Defaults to web. | ||
| * Service type: web, worker, or job. Defaults to web. | ||
| */ | ||
| type?: 'web' | 'cron' | 'worker'; | ||
| type?: 'web' | 'cron' | 'worker' | 'job'; | ||
| /** | ||
| * Trigger for job services. | ||
| */ | ||
| trigger?: 'queue' | 'schedule' | 'workflow'; | ||
| /** | ||
| * Path to the service's root directory relative to the project root. | ||
@@ -547,9 +556,9 @@ * Should contain a manifest file (package.json, pyproject.toml, etc.). | ||
| /** | ||
| * Cron schedule expression (e.g., "0 0 * * *"). Required for cron services. | ||
| * Cron schedule expression(s) (e.g., "0 0 * * *"). Required for schedule-triggered job services. | ||
| */ | ||
| schedule?: string; | ||
| /** | ||
| * Topic names for worker subscription. | ||
| * Topic names or queue topic configs for worker and queue-triggered job services. | ||
| */ | ||
| topics?: string[]; | ||
| topics?: string[] | ServiceQueueTopic[]; | ||
| /** | ||
@@ -556,0 +565,0 @@ * Consumer group name for worker subscription. |
+1
-1
| { | ||
| "name": "@vercel/config", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "description": "A TypeScript SDK for programmatically configuring Vercel projects", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance 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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance 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
99360
0.33%2332
0.39%