ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.144.235.210 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/funds.upgrade.nicn.gov.ng/funds-upgraded/node_modules/dotenv-expand/lib/ |
Upload File : |
'use strict' var dotenvExpand = function (config) { // if ignoring process.env, use a blank object var environment = config.ignoreProcessEnv ? {} : process.env var interpolate = function (envValue) { var matches = envValue.match(/(.?\${?(?:[a-zA-Z0-9_]+)?}?)/g) || [] return matches.reduce(function (newEnv, match) { var parts = /(.?)\${?([a-zA-Z0-9_]+)?}?/g.exec(match) var prefix = parts[1] var value, replacePart if (prefix === '\\') { replacePart = parts[0] value = replacePart.replace('\\$', '$') } else { var key = parts[2] replacePart = parts[0].substring(prefix.length) // process.env value 'wins' over .env file's value value = environment.hasOwnProperty(key) ? environment[key] : (config.parsed[key] || '') // Resolve recursive interpolations value = interpolate(value) } return newEnv.replace(replacePart, value) }, envValue) } for (var configKey in config.parsed) { var value = environment.hasOwnProperty(configKey) ? environment[configKey] : config.parsed[configKey] config.parsed[configKey] = interpolate(value) } for (var processKey in config.parsed) { environment[processKey] = config.parsed[processKey] } return config } module.exports = dotenvExpand