@ladjs/shared-config
Advanced tools
+2
-2
@@ -60,3 +60,3 @@ const fs = require('fs'); | ||
| // whitelist/blacklist parsing inspired by `dotenv-parse-variables` | ||
| whitelist: process.env[`${prefix}_RATELIMIT_WHITELIST`] | ||
| allowlist: process.env[`${prefix}_RATELIMIT_WHITELIST`] | ||
| ? process.env[`${prefix}_RATELIMIT_WHITELIST`] | ||
@@ -66,3 +66,3 @@ .split(',') | ||
| : [], | ||
| blacklist: process.env[`${prefix}_RATELIMIT_BLACKLIST`] | ||
| blocklist: process.env[`${prefix}_RATELIMIT_BLACKLIST`] | ||
| ? process.env[`${prefix}_RATELIMIT_BLACKLIST`] | ||
@@ -69,0 +69,0 @@ .split(',') |
+1
-1
| { | ||
| "name": "@ladjs/shared-config", | ||
| "description": "Shared configuration for Lad's API and Web servers", | ||
| "version": "5.0.0", | ||
| "version": "5.0.1", | ||
| "author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
@@ -6,0 +6,0 @@ "ava": { |
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
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