lingo.dev@0.137.3
·
42 commits
to main
since this release
Patch Changes
-
#2134
e18811fThanks @cherkanovart! - Resolve high-severity CodeQL code-scanning findings (security hardening):org-idgit-remote parsing now extracts the URL host and matches the platform by exact host or subdomain suffix (host === "github.com" || host.endsWith(".github.com"), etc.) instead of a substringincludes()check. This fixesjs/incomplete-url-substring-sanitization(cli, compiler, new-compiler) while still recognizing official alt-SSH hosts likessh.github.com/altssh.gitlab.comand rejecting look-alikes likegithub.com.evil.com. Platform labels for all real remote forms are preserved.- Removed a dead
.replace("\n", "")in the XML loader (an earlier\s+collapse already strips newlines), which also clears thejs/incomplete-sanitizationfinding there.
-
Updated dependencies [
e18811f]:- @lingo.dev/_compiler@0.12.9