| 84 | } | 83 | } |
| 85 | | 84 | |
| 86 | /** | 85 | /** |
| | 86 | * THIS FUNCTION IS DEPRECATED AND ONLY EXISTS FOR BACKWARDS COMPATIBILITY. DON'T USE IT. |
| | 87 | * @param {any} _key Unused |
| | 88 | * @param {any} _value Unused |
| | 89 | * @deprecated Configs are read-only. Use environment variables instead. |
| | 90 | */ |
| | 91 | export function setConfigValue(_key, _value) { |
| | 92 | console.trace(color.yellow('setConfigValue is deprecated and should not be used.')); |
| | 93 | } |
| | 94 | |
| | 95 | /** |
| 87 | * Encodes the Basic Auth header value for the given user and password. | 96 | * Encodes the Basic Auth header value for the given user and password. |
| 88 | * @param {string} auth username:password | 97 | * @param {string} auth username:password |
| 89 | * @returns {string} Basic Auth header value | 98 | * @returns {string} Basic Auth header value |