(text: string)
| 966 | } |
| 967 | |
| 968 | function byteLength(text: string): number { |
| 969 | if (typeof TextEncoder !== "undefined") { |
| 970 | return new TextEncoder().encode(text).length; |
| 971 | } |
| 972 | return text.length; |
| 973 | } |
| 974 | |
| 975 | function looksMinified(text: string): boolean { |
| 976 | if (text.length < 1000) return false; |
no outgoing calls
no test coverage detected