(value = "")
| 61 | } |
| 62 | |
| 63 | function shortValue(value = "") { |
| 64 | const text = String(value || ""); |
| 65 | return text ? `${text.slice(0, 4)}***${text.slice(-4)}` : ""; |
| 66 | } |
| 67 | |
| 68 | function md5(text) { |
| 69 | return crypto.createHash("md5").update(String(text)).digest("hex"); |
no outgoing calls
no test coverage detected