()
| 100 | } |
| 101 | |
| 102 | export function isWeb() { |
| 103 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 104 | return process.platform.toString() === 'web' || (process as any).browser === true; // Webpack is modifying this to force this to happen |
| 105 | } |
| 106 | |
| 107 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 108 | function jsonStringifyUriReplacer(_key: string, value: any) { |
no test coverage detected