@discue/mongodb-resource-client
Advanced tools
Comparing version 0.12.0 to 0.12.1
@@ -62,3 +62,3 @@ const { MongoClient, Timestamp } = require('mongodb') | ||
this._url = url | ||
this._databaseName = process.env.DSQ_MONGOD_RESOURCE_CLIENT_DB_NAME || databaseName | ||
this._databaseName = process.env.DSQ_MONGODB_RESOURCE_CLIENT_DB_NAME || databaseName | ||
this._collectionName = collectionName | ||
@@ -65,0 +65,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"description": "Simple wrapper around mongodb client allowing easier managing of resources", | ||
@@ -8,0 +8,0 @@ "main": "lib/index", |
@@ -69,3 +69,3 @@ | ||
## Database name | ||
The database name can be configured via environment variable: `DSQ_MONGOD_RESOURCE_CLIENT_DB_NAME` | ||
The database name can be configured via environment variable: `DSQ_MONGODB_RESOURCE_CLIENT_DB_NAME` | ||
@@ -72,0 +72,0 @@ ## Installation |
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
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
93637