@platformatic/foundation
Advanced tools
+19
-1
@@ -52,2 +52,19 @@ export function overridableValue (spec, defaultValue) { | ||
| const verticalScaler = { | ||
| type: 'object', | ||
| properties: { | ||
| enabled: { type: 'boolean', default: true }, | ||
| maxTotalWorkers: { type: 'number', minimum: 1 }, | ||
| minWorkers: { type: 'number', minimum: 1 }, | ||
| maxWorkers: { type: 'number', minimum: 1 }, | ||
| scaleUpELU: { type: 'number', minimum: 0, maximum: 1 }, | ||
| scaleDownELU: { type: 'number', minimum: 0, maximum: 1 }, | ||
| minELUDiff: { type: 'number', minimum: 0, maximum: 1 }, | ||
| timeWindowSec: { type: 'number', minimum: 0 }, | ||
| cooldownSec: { type: 'number', minimum: 0 }, | ||
| scaleIntervalSec: { type: 'number', minimum: 0 } | ||
| }, | ||
| additionalProperties: false | ||
| } | ||
| export const preload = { | ||
@@ -837,3 +854,3 @@ anyOf: [ | ||
| web: applications, | ||
| workers: { ...workers, default: 1 }, | ||
| workers: { ...workers }, | ||
| workersRestartDelay: { | ||
@@ -1115,2 +1132,3 @@ anyOf: [ | ||
| telemetry, | ||
| verticalScaler, | ||
| inspectorOptions: { | ||
@@ -1117,0 +1135,0 @@ type: 'object', |
+1
-1
| { | ||
| "name": "@platformatic/foundation", | ||
| "version": "3.7.1", | ||
| "version": "3.8.0", | ||
| "description": "Platformatic Foundation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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 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
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 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
98624
0.65%2877
0.59%