@platformatic/foundation
Advanced tools
+31
-30
@@ -64,3 +64,4 @@ export function overridableValue (spec, defaultValue) { | ||
| cooldownSec: { type: 'number', minimum: 0 }, | ||
| scaleIntervalSec: { type: 'number', minimum: 0 } | ||
| scaleIntervalSec: { type: 'number', minimum: 0 }, | ||
| gracePeriod: { type: 'number', minimum: 0 } | ||
| }, | ||
@@ -739,2 +740,26 @@ additionalProperties: false | ||
| }, | ||
| permissions: { | ||
| type: 'object', | ||
| properties: { | ||
| fs: { | ||
| type: 'object', | ||
| properties: { | ||
| read: { | ||
| type: 'array', | ||
| items: { | ||
| type: 'string' | ||
| } | ||
| }, | ||
| write: { | ||
| type: 'array', | ||
| items: { | ||
| type: 'string' | ||
| } | ||
| } | ||
| }, | ||
| additionalProperties: false | ||
| } | ||
| }, | ||
| additionalProperties: false | ||
| }, | ||
| telemetry: { | ||
@@ -819,31 +844,3 @@ type: 'object', | ||
| required: ['id'], | ||
| properties: { | ||
| id: { | ||
| type: 'string' | ||
| }, | ||
| config: { | ||
| type: 'string' | ||
| }, | ||
| useHttp: { | ||
| type: 'boolean' | ||
| }, | ||
| workers, | ||
| health: { ...healthWithoutDefaults }, | ||
| preload, | ||
| dependencies: { | ||
| type: 'array', | ||
| items: { | ||
| type: 'string' | ||
| } | ||
| }, | ||
| arguments: { | ||
| type: 'array', | ||
| items: { | ||
| type: 'string' | ||
| } | ||
| }, | ||
| nodeOptions: { | ||
| type: 'string' | ||
| } | ||
| } | ||
| properties: omitProperties(applications.items.properties, ['path', 'url', 'gitBranch']) | ||
| } | ||
@@ -1126,2 +1123,6 @@ } | ||
| } | ||
| }, | ||
| timeout: { | ||
| anyOf: [{ type: 'integer' }, { type: 'string' }], | ||
| default: 10000 | ||
| } | ||
@@ -1128,0 +1129,0 @@ }, |
+1
-1
| { | ||
| "name": "@platformatic/foundation", | ||
| "version": "3.9.0", | ||
| "version": "3.10.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
98772
0.15%2878
0.03%