@aicore/libcommonutils
Advanced tools
Comparing version 1.0.16 to 1.0.17
{ | ||
"name": "@aicore/libcommonutils", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "Common util libraries used by various modules. This library is created to prevent code duplication", | ||
@@ -49,4 +49,4 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"@commitlint/cli": "17.0.3", | ||
"@commitlint/config-conventional": "17.0.3", | ||
"@commitlint/cli": "17.1.2", | ||
"@commitlint/config-conventional": "17.1.0", | ||
"c8": "7.12.0", | ||
@@ -56,3 +56,3 @@ "chai": "4.3.6", | ||
"documentation": "14.0.0", | ||
"eslint": "8.21.0", | ||
"eslint": "8.23.1", | ||
"glob": "8.0.3", | ||
@@ -59,0 +59,0 @@ "husky": "8.0.1", |
@@ -31,3 +31,2 @@ import * as crypto from "crypto"; | ||
const port = process.env.MY_SQL_SERVER_PORT || '3306'; | ||
const database = process.env.MY_SQL_SERVER_DB || 'a' + crypto.randomBytes(4).toString('hex'); | ||
const user = process.env.MY_SQL_USER || 'b' + crypto.randomBytes(4).toString('hex'); | ||
@@ -38,3 +37,2 @@ const password = process.env.MY_SQL_PASSWORD || 'c' + crypto.randomBytes(4).toString('hex'); | ||
'port': port, | ||
'database': database, | ||
'user': user, | ||
@@ -41,0 +39,0 @@ 'password': password |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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 1 instance in 1 package
4
52847
223