Benign rust 133,664 installs Download

rspack_browserslist 0.103.0-beta.0

“Rspack browserslist”

Rule evaluation timeout: micro-behaviors/communications/http/request/credentials::shell-filtered-env-string-http-body took 192489ms (limit: 90000ms)AArch64 (ARM64) architecture string
SHA-256ab26933d7348a867a0c03c0e96d5b116c50aacc2ca7b4f5530c4b086079df7ea
MaleculeH(Db)Md

Evidence

imports browserslist::Opts lines 1–9
1use std::sync::LazyLock;
2
3use browserslist::Opts;
4use regex::Regex;
5
6/// Configuration parsed from input string and context directory
7#[derive(Debug, Default)]
8pub struct BrowserslistHandlerConfig<'a> {
9 /// Op …
Data-access verb token lines 16–21
16:17… ion<String>,
17 /// Context directory path, used for Browserslist Opts.path to locate config
18 pub context: &'a str,
19}
20
21/// Parse input string and co …
English function-word token "the" lines 21–26
21:51… str) to extract config path, env, or query.
22/// The context is stored in the returned struct for later use.
23///
24/// # Arguments
25///
26/// * `input` - …
English function-word token "with" lines 26–27
26:18… ptional input string, e.g. absolute config path with optional env suffix, or query string
27/// * `context` - Context directory as &str, used to set c …
Builds a regex matcher via RegexBuilder lines 44–49
44:10… BROWSERSLIST_INPUT_RE: LazyLock<Regex> = LazyLock::new(|| {
45 Regex::new(r"^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$")
46 .expect("Should initialize browserslist input regex")
47 });
48
49 if let Some(caps) = BROWSERS …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.