typeconfig
Advanced tools
+1
-1
| { | ||
| "name": "typeconfig", | ||
| "version": "2.3.2", | ||
| "version": "2.3.3", | ||
| "description": "Config loader for Typescript", | ||
@@ -5,0 +5,0 @@ "main": "common.js", |
@@ -87,2 +87,3 @@ "use strict"; | ||
| __setDefFromValue(propertyName) { | ||
| var _a; | ||
| if (typeof this.__state[propertyName].value === 'undefined') { | ||
@@ -111,3 +112,5 @@ return; | ||
| catch (e) { | ||
| throw new Error('Error setting default value for ' + propertyName + ': ' + e); | ||
| console.error(`Can't set def value for "${propertyName}", value : `, (_a = this.__state[propertyName]) === null || _a === void 0 ? void 0 : _a.value); | ||
| throw new Error(`Error setting default value for "${propertyName}" (path: ${this.__propPath}, name: ${this.__propName}) : ` | ||
| + e); | ||
| } | ||
@@ -114,0 +117,0 @@ } |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
210909
0.2%3096
0.1%13
-23.53%