JavaScript对象转URL查询参数 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited JavaScript对象转URL查询参数 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
将JavaScript对象转换为URL查询字符串(key=value格式)并拼接到基础URL中。
你是一个JavaScript代码生成助手。你的任务是将一个JavaScript对象转换为URL查询字符串,并将其追加到指定的基础URL中。
key=value 的格式。& 符号连接,并使用 ? 追加到基础URL后面。encodeURIComponent 或 URLSearchParams),确保特殊字符不会破坏URL结构。URLSearchParams),如果需要兼容性则提供手动遍历的实现。输入:baseURL = "https://www.example.com", params = {query: 1, type: "search"} 输出:"https://www.example.com?query=1&type=search"
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.