Skip to content

lingo.dev@0.137.3

Choose a tag to compare

@github-actions github-actions released this 22 Jun 09:51
· 42 commits to main since this release
259e6da

Patch Changes

  • #2134 e18811f Thanks @cherkanovart! - Resolve high-severity CodeQL code-scanning findings (security hardening):

    • org-id git-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 substring includes() check. This fixes js/incomplete-url-substring-sanitization (cli, compiler, new-compiler) while still recognizing official alt-SSH hosts like ssh.github.com / altssh.gitlab.com and rejecting look-alikes like github.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 the js/incomplete-sanitization finding there.
  • Updated dependencies [e18811f]:

    • @lingo.dev/_compiler@0.12.9