()
| 93 | type TurndownCtor = typeof import('turndown') |
| 94 | let turndownServicePromise: Promise<InstanceType<TurndownCtor>> | undefined |
| 95 | function getTurndownService(): Promise<InstanceType<TurndownCtor>> { |
| 96 | return (turndownServicePromise ??= import('turndown').then(m => { |
| 97 | const Turndown = (m as unknown as { default: TurndownCtor }).default |
| 98 | return new Turndown() |
| 99 | })) |
| 100 | } |
| 101 | |
| 102 | // PSR requested limiting the length of URLs to 250 to lower the potential |
| 103 | // for a data exfiltration. However, this is too restrictive for some customers' |
no outgoing calls
no test coverage detected