| 664 | /// Information extracted from source maps |
| 665 | #[derive(Debug, Clone)] |
| 666 | pub struct SourceMapInfo { |
| 667 | pub map_url: String, |
| 668 | pub original_files: Vec<String>, |
| 669 | pub secrets: Vec<HardcodedSecret>, |
| 670 | pub endpoints: Vec<JsEndpoint>, |
| 671 | pub comments: Vec<String>, |
| 672 | pub file_paths: Vec<String>, |
| 673 | } |
| 674 | |
| 675 | /// Try to find and fetch source map for a JS file |
| 676 | pub async fn find_source_map(js_url: &str, js_content: &str, _client: &Client) -> Option<String> { |
nothing calls this directly
no outgoing calls
no test coverage detected