* URL-encode string value. Optimized to skip native call for roundtrip-safe cookie-octet values.
(str: string)
| 527 | * URL-encode string value. Optimized to skip native call for roundtrip-safe cookie-octet values. |
| 528 | */ |
| 529 | function defaultEncode(str: string): string { |
| 530 | return cookieOctetRegExp.test(str) ? str : encodeURIComponent(str); |
| 531 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…