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