(k: string, v: any)
| 3 | export function installVendorBootstrap(vendorManifest: any, __nsVendorModuleMap: Record<string, any>, verbose?: boolean) { |
| 4 | const g: any = globalThis as any; |
| 5 | const setGlobal = (k: string, v: any) => { |
| 6 | try { |
| 7 | Object.defineProperty(g, k, { value: v, configurable: true, writable: true }); |
| 8 | } catch { |
| 9 | try { |
| 10 | g[k] = v; |
| 11 | } catch {} |
| 12 | } |
| 13 | }; |
| 14 | |
| 15 | const manifest = vendorManifest ?? {}; |
| 16 | let registry: Map<string, any> = g['__nsVendorRegistry']; |
no outgoing calls
no test coverage detected