(str: string)
| 66 | |
| 67 | // @see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent#encoding_for_rfc3986 |
| 68 | const encodeRFC3986URIComponent = (str: string) => { |
| 69 | return encodeURIComponent(str).replace( |
| 70 | /[!'()*]/g, |
| 71 | (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`, |
| 72 | ); |
| 73 | } |
| 74 | |
| 75 | type AuthProviderInfo = { |
| 76 | id: string; |
no outgoing calls
no test coverage detected