github dmno-dev/varlock env-spec-language@0.4.3
env-spec-language v0.4.3

  • #1107 (patch)
    varlock audit no longer tries to lex string, template and regex literals while scanning source files. A quote inside a regex (such as s.replace(/'/g, "")), JSX text or a docstring could throw that lexer off and silently hide every env var reference after it in the same file. The scanner now only skips lines that are entirely comments, and references mentioned inside string literals are reported like any other.

    New @auditIgnoreKeys(KEY, PREFIX_*) root decorator: keys the audit should never report as missing from the schema, for scanner false positives such as a process.env.FOO mentioned inside a string.

  • #1112 (patch)
    uuid type now accepts UUID versions 6-8 (RFC 9562, including UUIDv7) and the MAX UUID, and takes an optional version option (e.g. @type=uuid(version=7)) to require a specific version.

  • #1099 (patch)
    Move the TextMate grammar from language/ to syntaxes/ (the standard VS Code extension layout, and the location GitHub Linguist's grammar compiler expects); language-configuration.json now lives at the extension root.

  • #1124 (patch)
    #tag selectors inside decorator args (e.g. @import(..., pick=[#frontend])) are now highlighted as values instead of comments.

Published to

  • ✅ custom

Don't miss a new varlock release

NewReleases is sending notifications on new releases.