(value: string)
| 58 | } |
| 59 | |
| 60 | function normalizeSecretIdPart(value: string): string { |
| 61 | const normalized = value |
| 62 | .toLowerCase() |
| 63 | .replace(/[^a-z0-9]+/g, "-") |
| 64 | .replace(/^-+|-+$/g, ""); |
| 65 | |
| 66 | return normalized || "setting"; |
| 67 | } |
| 68 | |
| 69 | function hashSecretId(value: string): string { |
| 70 | let hash = 5381; |
no outgoing calls
no test coverage detected