( code: string, map: object | undefined )
| 448 | |
| 449 | // a host without a channel for source maps reads one from the code |
| 450 | export const appendSourceMap = ( |
| 451 | code: string, |
| 452 | map: object | undefined |
| 453 | ): string => |
| 454 | map ? |
| 455 | `${code}\n//# sourceMappingURL=data:application/json;base64,${Buffer.from(JSON.stringify(map)).toString("base64")}` |
| 456 | : code |
| 457 | |
| 458 | export const runtimeSpecifiers = [ |
| 459 | "arktype", |
no test coverage detected