Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: alecthomas/chroma
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.15.0
Choose a base ref
...
head repository: alecthomas/chroma
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.16.0
Choose a head ref
  • 19 commits
  • 71 files changed
  • 11 contributors

Commits on Jan 7, 2025

  1. chore(deps): update all non-major dependencies (#1029)

    This PR contains the following updates:
    
    | Package | Type | Update | Change | Age | Adoption | Passing |
    Confidence |
    |---|---|---|---|---|---|---|---|
    | [esbuild](https://redirect.github.com/evanw/esbuild) | | patch |
    `0.24.0` -> `0.24.2` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/esbuild/0.24.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/esbuild/0.24.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/esbuild/0.24.0/0.24.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/esbuild/0.24.0/0.24.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    |
    [github.com/alecthomas/chroma/v2](https://redirect.github.com/alecthomas/chroma)
    | require | minor | `v2.14.0` -> `v2.15.0` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fchroma%2fv2/v2.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fchroma%2fv2/v2.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fchroma%2fv2/v2.14.0/v2.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fchroma%2fv2/v2.14.0/v2.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    |
    [github.com/alecthomas/kong](https://redirect.github.com/alecthomas/kong)
    | require | minor | `v1.5.1` -> `v1.6.1` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fkong/v1.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fkong/v1.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fkong/v1.5.1/v1.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fkong/v1.5.1/v1.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [go](https://redirect.github.com/golang/go) | | patch | `1.23.3` ->
    `1.23.4` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/go/1.23.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/go/1.23.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/go/1.23.3/1.23.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/go/1.23.3/1.23.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [watchexec](https://redirect.github.com/watchexec/watchexec) | | patch
    | `2.2.0` -> `2.2.1` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/watchexec/2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/watchexec/2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/watchexec/2.2.0/2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/watchexec/2.2.0/2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>evanw/esbuild (esbuild)</summary>
    
    ###
    [`v0.24.2`](https://redirect.github.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0242)
    
    - Fix regression with `--define` and `import.meta`
    ([#&#8203;4010](https://redirect.github.com/evanw/esbuild/issues/4010),
    [#&#8203;4012](https://redirect.github.com/evanw/esbuild/issues/4012),
    [#&#8203;4013](https://redirect.github.com/evanw/esbuild/pull/4013))
    
    The previous change in version 0.24.1 to use a more expression-like
    parser for `define` values to allow quoted property names introduced a
    regression that removed the ability to use `--define:import.meta=...`.
    Even though `import` is normally a keyword that can't be used as an
    identifier, ES modules special-case the `import.meta` expression to
    behave like an identifier anyway. This change fixes the regression.
    
    This fix was contributed by
    [@&#8203;sapphi-red](https://redirect.github.com/sapphi-red).
    
    </details>
    
    <details>
    <summary>alecthomas/chroma (github.com/alecthomas/chroma/v2)</summary>
    
    ###
    [`v2.15.0`](https://redirect.github.com/alecthomas/chroma/releases/tag/v2.15.0)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/chroma/compare/v2.14.0...v2.15.0)
    
    #### What's Changed
    
    - AQL: Add builtin functions introduced in v3.12 by
    [@&#8203;Simran-B](https://redirect.github.com/Simran-B) in
    [https://github.com/alecthomas/chroma/pull/968](https://redirect.github.com/alecthomas/chroma/pull/968)
    - chore(styles): add evergarden inspired style by
    [@&#8203;comfysage](https://redirect.github.com/comfysage) in
    [https://github.com/alecthomas/chroma/pull/970](https://redirect.github.com/alecthomas/chroma/pull/970)
    - chore(deps): update dependency svu to v2 by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/971](https://redirect.github.com/alecthomas/chroma/pull/971)
    - chore(deps): update dependency watchexec to v2 by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/962](https://redirect.github.com/alecthomas/chroma/pull/962)
    - chore(deps): update all non-major dependencies by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/955](https://redirect.github.com/alecthomas/chroma/pull/955)
    - styles: Fix Gleam alias by
    [@&#8203;jmooring](https://redirect.github.com/jmooring) in
    [https://github.com/alecthomas/chroma/pull/973](https://redirect.github.com/alecthomas/chroma/pull/973)
    - chore(deps): update all non-major dependencies by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/974](https://redirect.github.com/alecthomas/chroma/pull/974)
    - chore(deps): update dependency python3 to v3.12.3 by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/976](https://redirect.github.com/alecthomas/chroma/pull/976)
    - added the nordic theme via chroma/styles/nordic.xml by
    [@&#8203;avih7531](https://redirect.github.com/avih7531) in
    [https://github.com/alecthomas/chroma/pull/977](https://redirect.github.com/alecthomas/chroma/pull/977)
    - Update the Materialize lexer by
    [@&#8203;arusahni](https://redirect.github.com/arusahni) in
    [https://github.com/alecthomas/chroma/pull/978](https://redirect.github.com/alecthomas/chroma/pull/978)
    - feat(lexers/hare): add done keyword by
    [@&#8203;wackbyte](https://redirect.github.com/wackbyte) in
    [https://github.com/alecthomas/chroma/pull/979](https://redirect.github.com/alecthomas/chroma/pull/979)
    - pygments2chroma: escape regex.words by
    [@&#8203;oliverpool](https://redirect.github.com/oliverpool) in
    [https://github.com/alecthomas/chroma/pull/982](https://redirect.github.com/alecthomas/chroma/pull/982)
    - chore(deps): update all non-major dependencies by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/981](https://redirect.github.com/alecthomas/chroma/pull/981)
    - Add JSONata Lexer by
    [@&#8203;DevDimov](https://redirect.github.com/DevDimov) in
    [https://github.com/alecthomas/chroma/pull/983](https://redirect.github.com/alecthomas/chroma/pull/983)
    - Go lexer: single line comment without consuming endline, disable
    EnsureNL by [@&#8203;msorc](https://redirect.github.com/msorc) in
    [https://github.com/alecthomas/chroma/pull/984](https://redirect.github.com/alecthomas/chroma/pull/984)
    - Update the Materialize lexer by
    [@&#8203;arusahni](https://redirect.github.com/arusahni) in
    [https://github.com/alecthomas/chroma/pull/987](https://redirect.github.com/alecthomas/chroma/pull/987)
    - chore(deps): update all non-major dependencies by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/985](https://redirect.github.com/alecthomas/chroma/pull/985)
    - Add Gleam to README by
    [@&#8203;Nicd](https://redirect.github.com/Nicd) in
    [https://github.com/alecthomas/chroma/pull/990](https://redirect.github.com/alecthomas/chroma/pull/990)
    - Port Minecraft lexers from Pygments by
    [@&#8203;kofuk](https://redirect.github.com/kofuk) in
    [https://github.com/alecthomas/chroma/pull/992](https://redirect.github.com/alecthomas/chroma/pull/992)
    - Don't output extra whitespace in YAML multiline by
    [@&#8203;Gusted](https://redirect.github.com/Gusted) in
    [https://github.com/alecthomas/chroma/pull/993](https://redirect.github.com/alecthomas/chroma/pull/993)
    - chore(deps): update all non-major dependencies by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/991](https://redirect.github.com/alecthomas/chroma/pull/991)
    - add beef syntax and tests by
    [@&#8203;Booklordofthedings](https://redirect.github.com/Booklordofthedings)
    in
    [https://github.com/alecthomas/chroma/pull/995](https://redirect.github.com/alecthomas/chroma/pull/995)
    - Update GitHub light color palette by
    [@&#8203;konradreiche](https://redirect.github.com/konradreiche) in
    [https://github.com/alecthomas/chroma/pull/998](https://redirect.github.com/alecthomas/chroma/pull/998)
    - chore(deps): update module github.com/alecthomas/kong to v1 by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/999](https://redirect.github.com/alecthomas/chroma/pull/999)
    - Update the Materialize lexer by
    [@&#8203;arusahni](https://redirect.github.com/arusahni) in
    [https://github.com/alecthomas/chroma/pull/1001](https://redirect.github.com/alecthomas/chroma/pull/1001)
    - Update TypeScript lexer to allow nested generics by
    [@&#8203;fredrare](https://redirect.github.com/fredrare) in
    [https://github.com/alecthomas/chroma/pull/1002](https://redirect.github.com/alecthomas/chroma/pull/1002)
    - Pager friendly terminal formatting by
    [@&#8203;walles](https://redirect.github.com/walles) in
    [https://github.com/alecthomas/chroma/pull/1006](https://redirect.github.com/alecthomas/chroma/pull/1006)
    - chore(deps): update all non-major dependencies by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/997](https://redirect.github.com/alecthomas/chroma/pull/997)
    - Add Typst Lexer by
    [@&#8203;oliverpool](https://redirect.github.com/oliverpool) in
    [https://github.com/alecthomas/chroma/pull/1007](https://redirect.github.com/alecthomas/chroma/pull/1007)
    - Add Jsonnet Lexer by
    [@&#8203;jolheiser](https://redirect.github.com/jolheiser) in
    [https://github.com/alecthomas/chroma/pull/1011](https://redirect.github.com/alecthomas/chroma/pull/1011)
    - fix: add underscore parsing in numbers for haskell by
    [@&#8203;Gusted](https://redirect.github.com/Gusted) in
    [https://github.com/alecthomas/chroma/pull/1020](https://redirect.github.com/alecthomas/chroma/pull/1020)
    - Add CSV lexer by [@&#8203;walles](https://redirect.github.com/walles)
    in
    [https://github.com/alecthomas/chroma/pull/1005](https://redirect.github.com/alecthomas/chroma/pull/1005)
    - fix(typescript): highlight string literal type parameters by
    [@&#8203;SKalt](https://redirect.github.com/SKalt) in
    [https://github.com/alecthomas/chroma/pull/1010](https://redirect.github.com/alecthomas/chroma/pull/1010)
    - add any as a builtin type for go by
    [@&#8203;quartercastle](https://redirect.github.com/quartercastle) in
    [https://github.com/alecthomas/chroma/pull/1021](https://redirect.github.com/alecthomas/chroma/pull/1021)
    - chore(deps): update all non-major dependencies by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/1013](https://redirect.github.com/alecthomas/chroma/pull/1013)
    - Remove whitespace tokenizing rule in markdown lexer by
    [@&#8203;cloudchamb3r](https://redirect.github.com/cloudchamb3r) in
    [https://github.com/alecthomas/chroma/pull/1008](https://redirect.github.com/alecthomas/chroma/pull/1008)
    - feat(JSON): support `.jsonc` extension by
    [@&#8203;CarterLi](https://redirect.github.com/CarterLi) in
    [https://github.com/alecthomas/chroma/pull/1022](https://redirect.github.com/alecthomas/chroma/pull/1022)
    - Add Eclipse ATL language (https://eclipse.dev/atl/) by
    [@&#8203;dwagelaar](https://redirect.github.com/dwagelaar) in
    [https://github.com/alecthomas/chroma/pull/1024](https://redirect.github.com/alecthomas/chroma/pull/1024)
    - Import NSIS Lexer from Pygments by
    [@&#8203;JakobDev](https://redirect.github.com/JakobDev) in
    [https://github.com/alecthomas/chroma/pull/1026](https://redirect.github.com/alecthomas/chroma/pull/1026)
    - chore(deps): update module github.com/alecthomas/kong to v1.5.1 by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/chroma/pull/1025](https://redirect.github.com/alecthomas/chroma/pull/1025)
    - fix(nix): nix lexor missing '=' operator by
    [@&#8203;FlyingStitchman](https://redirect.github.com/FlyingStitchman)
    in
    [https://github.com/alecthomas/chroma/pull/1031](https://redirect.github.com/alecthomas/chroma/pull/1031)
    - Add WebVTT lexer
    ([#&#8203;707](https://redirect.github.com/alecthomas/chroma/issues/707))
    by [@&#8203;dschuessler](https://redirect.github.com/dschuessler) in
    [https://github.com/alecthomas/chroma/pull/1032](https://redirect.github.com/alecthomas/chroma/pull/1032)
    
    #### New Contributors
    
    - [@&#8203;comfysage](https://redirect.github.com/comfysage) made their
    first contribution in
    [https://github.com/alecthomas/chroma/pull/970](https://redirect.github.com/alecthomas/chroma/pull/970)
    - [@&#8203;avih7531](https://redirect.github.com/avih7531) made their
    first contribution in
    [https://github.com/alecthomas/chroma/pull/977](https://redirect.github.com/alecthomas/chroma/pull/977)
    - [@&#8203;wackbyte](https://redirect.github.com/wackbyte) made their
    first contribution in
    [https://github.com/alecthomas/chroma/pull/979](https://redirect.github.com/alecthomas/chroma/pull/979)
    - [@&#8203;oliverpool](https://redirect.github.com/oliverpool) made
    their first contribution in
    [https://github.com/alecthomas/chroma/pull/982](https://redirect.github.com/alecthomas/chroma/pull/982)
    - [@&#8203;DevDimov](https://redirect.github.com/DevDimov) made their
    first contribution in
    [https://github.com/alecthomas/chroma/pull/983](https://redirect.github.com/alecthomas/chroma/pull/983)
    - [@&#8203;msorc](https://redirect.github.com/msorc) made their first
    contribution in
    [https://github.com/alecthomas/chroma/pull/984](https://redirect.github.com/alecthomas/chroma/pull/984)
    - [@&#8203;Nicd](https://redirect.github.com/Nicd) made their first
    contribution in
    [https://github.com/alecthomas/chroma/pull/990](https://redirect.github.com/alecthomas/chroma/pull/990)
    -
    [@&#8203;Booklordofthedings](https://redirect.github.com/Booklordofthedings)
    made their first contribution in
    [https://github.com/alecthomas/chroma/pull/995](https://redirect.github.com/alecthomas/chroma/pull/995)
    - [@&#8203;konradreiche](https://redirect.github.com/konradreiche) made
    their first contribution in
    [https://github.com/alecthomas/chroma/pull/998](https://redirect.github.com/alecthomas/chroma/pull/998)
    - [@&#8203;fredrare](https://redirect.github.com/fredrare) made their
    first contribution in
    [https://github.com/alecthomas/chroma/pull/1002](https://redirect.github.com/alecthomas/chroma/pull/1002)
    - [@&#8203;SKalt](https://redirect.github.com/SKalt) made their first
    contribution in
    [https://github.com/alecthomas/chroma/pull/1010](https://redirect.github.com/alecthomas/chroma/pull/1010)
    - [@&#8203;quartercastle](https://redirect.github.com/quartercastle)
    made their first contribution in
    [https://github.com/alecthomas/chroma/pull/1021](https://redirect.github.com/alecthomas/chroma/pull/1021)
    - [@&#8203;cloudchamb3r](https://redirect.github.com/cloudchamb3r) made
    their first contribution in
    [https://github.com/alecthomas/chroma/pull/1008](https://redirect.github.com/alecthomas/chroma/pull/1008)
    - [@&#8203;CarterLi](https://redirect.github.com/CarterLi) made their
    first contribution in
    [https://github.com/alecthomas/chroma/pull/1022](https://redirect.github.com/alecthomas/chroma/pull/1022)
    - [@&#8203;dwagelaar](https://redirect.github.com/dwagelaar) made their
    first contribution in
    [https://github.com/alecthomas/chroma/pull/1024](https://redirect.github.com/alecthomas/chroma/pull/1024)
    - [@&#8203;FlyingStitchman](https://redirect.github.com/FlyingStitchman)
    made their first contribution in
    [https://github.com/alecthomas/chroma/pull/1031](https://redirect.github.com/alecthomas/chroma/pull/1031)
    - [@&#8203;dschuessler](https://redirect.github.com/dschuessler) made
    their first contribution in
    [https://github.com/alecthomas/chroma/pull/1032](https://redirect.github.com/alecthomas/chroma/pull/1032)
    
    **Full Changelog**:
    v2.14.0...v2.15.0
    
    </details>
    
    <details>
    <summary>alecthomas/kong (github.com/alecthomas/kong)</summary>
    
    ###
    [`v1.6.1`](https://redirect.github.com/alecthomas/kong/releases/tag/v1.6.1)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/kong/compare/v1.6.0...v1.6.1)
    
    #### What's Changed
    
    - chore(deps): update all non-major dependencies by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/kong/pull/476](https://redirect.github.com/alecthomas/kong/pull/476)
    - fix(Context.Run): Don't panic on unselected root node by
    [@&#8203;abhinav](https://redirect.github.com/abhinav) in
    [https://github.com/alecthomas/kong/pull/484](https://redirect.github.com/alecthomas/kong/pull/484)
    
    **Full Changelog**:
    alecthomas/kong@v1.6.0...v1.6.1
    
    ###
    [`v1.6.0`](https://redirect.github.com/alecthomas/kong/compare/v1.5.1...v1.6.0)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/kong/compare/v1.5.1...v1.6.0)
    
    </details>
    
    <details>
    <summary>golang/go (go)</summary>
    
    ###
    [`v1.23.4`](https://redirect.github.com/golang/go/compare/go1.23.3...go1.23.4)
    
    </details>
    
    <details>
    <summary>watchexec/watchexec (watchexec)</summary>
    
    ###
    [`v2.2.1`](https://redirect.github.com/watchexec/watchexec/releases/tag/v2.2.1):
    CLI v2.2.1
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At
    any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    👻 **Immortal**: This PR will be recreated if closed unmerged. Get
    [config
    help](https://redirect.github.com/renovatebot/renovate/discussions) if
    that's undesired.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend Renovate](https://mend.io/renovate/).
    View the [repository job
    log](https://developer.mend.io/github/alecthomas/chroma).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuODUuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 7, 2025
    Configuration menu
    Copy the full SHA
    e79c813 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d829579 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2025

  1. chore: bump go.mod to Go 1.22 + add Iterator.Stdlib()

    The Stdlib() function converts a Chroma iterator to a Go 1.23 iterator.
    alecthomas committed Jan 9, 2025
    Configuration menu
    Copy the full SHA
    0bd7c68 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2025

  1. Configuration menu
    Copy the full SHA
    f0d460e View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2025

  1. chore(deps): update module github.com/mattn/go-colorable to v0.1.14 (#…

    …1039)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    |
    [github.com/mattn/go-colorable](https://redirect.github.com/mattn/go-colorable)
    | `v0.1.13` -> `v0.1.14` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fmattn%2fgo-colorable/v0.1.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fmattn%2fgo-colorable/v0.1.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fmattn%2fgo-colorable/v0.1.13/v0.1.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fmattn%2fgo-colorable/v0.1.13/v0.1.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>mattn/go-colorable (github.com/mattn/go-colorable)</summary>
    
    ###
    [`v0.1.14`](https://redirect.github.com/mattn/go-colorable/compare/v0.1.13...v0.1.14)
    
    [Compare
    Source](https://redirect.github.com/mattn/go-colorable/compare/v0.1.13...v0.1.14)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At
    any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend Renovate](https://mend.io/renovate/).
    View the [repository job
    log](https://developer.mend.io/github/alecthomas/chroma).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 13, 2025
    Configuration menu
    Copy the full SHA
    9da461e View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2025

  1. Configuration menu
    Copy the full SHA
    79621af View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2025

  1. Add Mojo lexer (#1044)

    Converted from pygments, with some manual adjustments.
    mlange-42 authored Jan 29, 2025
    Configuration menu
    Copy the full SHA
    dc982d2 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2025

  1. chore(deps): update all non-major dependencies (#1041)

    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence | Type |
    Update |
    |---|---|---|---|---|---|---|---|
    |
    [github.com/alecthomas/kong](https://redirect.github.com/alecthomas/kong)
    | `v1.6.1` -> `v1.7.0` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fkong/v1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fkong/v1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fkong/v1.6.1/v1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fkong/v1.6.1/v1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    | require | minor |
    | [go](https://redirect.github.com/golang/go) | `1.23.4` -> `1.23.5` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/go/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/go/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/go/1.23.4/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/go/1.23.4/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    | | patch |
    | [go](https://go.dev/)
    ([source](https://redirect.github.com/golang/go)) | `1.23.4` -> `1.23.5`
    |
    [![age](https://developer.mend.io/api/mc/badges/age/golang-version/go/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/golang-version/go/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/golang-version/go/1.23.4/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/golang-version/go/1.23.4/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    | toolchain | patch |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>alecthomas/kong (github.com/alecthomas/kong)</summary>
    
    ###
    [`v1.7.0`](https://redirect.github.com/alecthomas/kong/releases/tag/v1.7.0)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/kong/compare/v1.6.1...v1.7.0)
    
    #### What's Changed
    
    - chore(deps): update all non-major dependencies by
    [@&#8203;renovate](https://redirect.github.com/renovate) in
    [https://github.com/alecthomas/kong/pull/485](https://redirect.github.com/alecthomas/kong/pull/485)
    - Document about binds with example by
    [@&#8203;Hritik14](https://redirect.github.com/Hritik14) in
    [https://github.com/alecthomas/kong/pull/491](https://redirect.github.com/alecthomas/kong/pull/491)
    - Support hooks on `embed:""` fields by
    [@&#8203;abhinav](https://redirect.github.com/abhinav) in
    [https://github.com/alecthomas/kong/pull/493](https://redirect.github.com/alecthomas/kong/pull/493)
    - hooks: Recursively search embedded fields for methods by
    [@&#8203;abhinav](https://redirect.github.com/abhinav) in
    [https://github.com/alecthomas/kong/pull/494](https://redirect.github.com/alecthomas/kong/pull/494)
    
    #### New Contributors
    
    - [@&#8203;Hritik14](https://redirect.github.com/Hritik14) made their
    first contribution in
    [https://github.com/alecthomas/kong/pull/491](https://redirect.github.com/alecthomas/kong/pull/491)
    
    **Full Changelog**:
    alecthomas/kong@v1.6.1...v1.7.0
    
    </details>
    
    <details>
    <summary>golang/go (go)</summary>
    
    ###
    [`v1.23.5`](https://redirect.github.com/golang/go/compare/go1.23.4...go1.23.5)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At
    any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    👻 **Immortal**: This PR will be recreated if closed unmerged. Get
    [config
    help](https://redirect.github.com/renovatebot/renovate/discussions) if
    that's undesired.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend Renovate](https://mend.io/renovate/).
    View the [repository job
    log](https://developer.mend.io/github/alecthomas/chroma).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 30, 2025
    Configuration menu
    Copy the full SHA
    81fecd5 View commit details
    Browse the repository at this point in the history
  2. add Janet lexer (#1045)

    rwtolbert authored Jan 30, 2025
    Configuration menu
    Copy the full SHA
    4b0882a View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2025

  1. chore(deps): update all non-major dependencies (#1049)

    This PR contains the following updates:
    
    | Package | Type | Update | Change | Age | Adoption | Passing |
    Confidence |
    |---|---|---|---|---|---|---|---|
    | [enumer](https://redirect.github.com/dmarkham/enumer) | | patch |
    `1.5.9` -> `1.5.11` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/enumer/1.5.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/enumer/1.5.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/enumer/1.5.9/1.5.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/enumer/1.5.9/1.5.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [esbuild](https://redirect.github.com/evanw/esbuild) | | minor |
    `0.24.2` -> `0.25.0` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/esbuild/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/esbuild/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/esbuild/0.24.2/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/esbuild/0.24.2/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    |
    [github.com/alecthomas/kong](https://redirect.github.com/alecthomas/kong)
    | require | minor | `v1.7.0` -> `v1.8.1` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fkong/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fkong/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fkong/v1.7.0/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fkong/v1.7.0/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    |
    [github.com/dlclark/regexp2](https://redirect.github.com/dlclark/regexp2)
    | require | patch | `v1.11.4` -> `v1.11.5` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fdlclark%2fregexp2/v1.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fdlclark%2fregexp2/v1.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fdlclark%2fregexp2/v1.11.4/v1.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fdlclark%2fregexp2/v1.11.4/v1.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [go](https://redirect.github.com/golang/go) | | minor | `1.23.5` ->
    `1.24.1` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/go/1.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/go/1.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/go/1.23.5/1.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/go/1.23.5/1.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [go](https://go.dev/)
    ([source](https://redirect.github.com/golang/go)) | toolchain | minor |
    `1.23.5` -> `1.24.1` |
    [![age](https://developer.mend.io/api/mc/badges/age/golang-version/go/1.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/golang-version/go/1.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/golang-version/go/1.23.5/1.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/golang-version/go/1.23.5/1.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [watchexec](https://redirect.github.com/watchexec/watchexec) | | minor
    | `2.2.1` -> `2.3.0` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/watchexec/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/watchexec/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/watchexec/2.2.1/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/watchexec/2.2.1/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>dmarkham/enumer (enumer)</summary>
    
    ###
    [`v1.5.11`](https://redirect.github.com/dmarkham/enumer/releases/tag/v1.5.11)
    
    #### What's Changed
    
    - Update golang.org/x/tools to v0.30.0 by
    [@&#8203;gabe565](https://redirect.github.com/gabe565) (first
    contribution 🎉 ) in
    [https://github.com/dmarkham/enumer/pull/106](https://redirect.github.com/dmarkham/enumer/pull/106)
    
    **Full Changelog**:
    dmarkham/enumer@v1.5.10...1.5.11
    
    (1.5.11 (missing the v) was previously released as a mistake. the v is
    for Very much required.)
    
    </details>
    
    <details>
    <summary>evanw/esbuild (esbuild)</summary>
    
    ###
    [`v0.25.0`](https://redirect.github.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0250)
    
    [Compare
    Source](https://redirect.github.com/evanw/esbuild/compare/v0.24.2...v0.25.0)
    
    **This release deliberately contains backwards-incompatible changes.**
    To avoid automatically picking up releases like this, you should either
    be pinning the exact version of `esbuild` in your `package.json` file
    (recommended) or be using a version range syntax that only accepts patch
    upgrades such as `^0.24.0` or `~0.24.0`. See npm's documentation about
    [semver](https://docs.npmjs.com/cli/v6/using-npm/semver/) for more
    information.
    
    - Restrict access to esbuild's development server
    ([GHSA-67mh-4wv8-2f99](https://redirect.github.com/evanw/esbuild/security/advisories/GHSA-67mh-4wv8-2f99))
    
    This change addresses esbuild's first security vulnerability report.
    Previously esbuild set the `Access-Control-Allow-Origin` header to `*`
    to allow esbuild's development server to be flexible in how it's used
    for development. However, this allows the websites you visit to make
    HTTP requests to esbuild's local development server, which gives
    read-only access to your source code if the website were to fetch your
    source code's specific URL. You can read more information in [the
    report](https://redirect.github.com/evanw/esbuild/security/advisories/GHSA-67mh-4wv8-2f99).
    
    Starting with this release,
    [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) will now
    be disabled, and requests will now be denied if the host does not match
    the one provided to `--serve=`. The default host is `0.0.0.0`, which
    refers to all of the IP addresses that represent the local machine (e.g.
    both `127.0.0.1` and `192.168.0.1`). If you want to customize anything
    about esbuild's development server, you can [put a proxy in front of
    esbuild](https://esbuild.github.io/api/#serve-proxy) and modify the
    incoming and/or outgoing requests.
    
    In addition, the `serve()` API call has been changed to return an array
    of `hosts` instead of a single `host` string. This makes it possible to
    determine all of the hosts that esbuild's development server will
    accept.
    
    Thanks to [@&#8203;sapphi-red](https://redirect.github.com/sapphi-red)
    for reporting this issue.
    
    - Delete output files when a build fails in watch mode
    ([#&#8203;3643](https://redirect.github.com/evanw/esbuild/issues/3643))
    
    It has been requested for esbuild to delete files when a build fails in
    watch mode. Previously esbuild left the old files in place, which could
    cause people to not immediately realize that the most recent build
    failed. With this release, esbuild will now delete all output files if a
    rebuild fails. Fixing the build error and triggering another rebuild
    will restore all output files again.
    
    - Fix correctness issues with the CSS nesting transform
    ([#&#8203;3620](https://redirect.github.com/evanw/esbuild/issues/3620),
    [#&#8203;3877](https://redirect.github.com/evanw/esbuild/issues/3877),
    [#&#8203;3933](https://redirect.github.com/evanw/esbuild/issues/3933),
    [#&#8203;3997](https://redirect.github.com/evanw/esbuild/issues/3997),
    [#&#8203;4005](https://redirect.github.com/evanw/esbuild/issues/4005),
    [#&#8203;4037](https://redirect.github.com/evanw/esbuild/pull/4037),
    [#&#8203;4038](https://redirect.github.com/evanw/esbuild/pull/4038))
    
        This release fixes the following problems:
    
    - Naive expansion of CSS nesting can result in an exponential blow-up of
    generated CSS if each nesting level has multiple selectors. Previously
    esbuild sometimes collapsed individual nesting levels using `:is()` to
    limit expansion. However, this collapsing wasn't correct in some cases,
    so it has been removed to fix correctness issues.
    
            ```css
            /* Original code */
            .parent {
              > .a,
              > .b1 > .b2 {
                color: red;
              }
            }
    
            /* Old output (with --supported:nesting=false) */
            .parent > :is(.a, .b1 > .b2) {
              color: red;
            }
    
            /* New output (with --supported:nesting=false) */
            .parent > .a,
            .parent > .b1 > .b2 {
              color: red;
            }
            ```
    
    Thanks to [@&#8203;tim-we](https://redirect.github.com/tim-we) for
    working on a fix.
    
    - The `&` CSS nesting selector can be repeated multiple times to
    increase CSS specificity. Previously esbuild ignored this possibility
    and incorrectly considered `&&` to have the same specificity as `&`.
    With this release, this should now work correctly:
    
            ```css
            /* Original code (color should be red) */
            div {
              && { color: red }
              & { color: blue }
            }
    
            /* Old output (with --supported:nesting=false) */
            div {
              color: red;
            }
            div {
              color: blue;
            }
    
            /* New output (with --supported:nesting=false) */
            div:is(div) {
              color: red;
            }
            div {
              color: blue;
            }
            ```
    
    Thanks to [@&#8203;CPunisher](https://redirect.github.com/CPunisher) for
    working on a fix.
    
    - Previously transforming nested CSS incorrectly removed leading
    combinators from within pseudoclass selectors such as `:where()`. This
    edge case has been fixed and how has test coverage.
    
            ```css
            /* Original code */
            a b:has(> span) {
              a & {
                color: green;
              }
            }
    
            /* Old output (with --supported:nesting=false) */
            a :is(a b:has(span)) {
              color: green;
            }
    
            /* New output (with --supported:nesting=false) */
            a :is(a b:has(> span)) {
              color: green;
            }
            ```
    
    This fix was contributed by
    [@&#8203;NoremacNergfol](https://redirect.github.com/NoremacNergfol).
    
    - The CSS minifier contains logic to remove the `&` selector when it can
    be implied, which happens when there is only one and it's the leading
    token. However, this logic was incorrectly also applied to selector
    lists inside of pseudo-class selectors such as `:where()`. With this
    release, the minifier will now avoid applying this logic in this edge
    case:
    
            ```css
            /* Original code */
            .a {
              & .b { color: red }
              :where(& .b) { color: blue }
            }
    
            /* Old output (with --minify) */
            .a{.b{color:red}:where(.b){color:#&#8203;00f}}
    
            /* New output (with --minify) */
            .a{.b{color:red}:where(& .b){color:#&#8203;00f}}
            ```
    
    - Fix some correctness issues with source maps
    ([#&#8203;1745](https://redirect.github.com/evanw/esbuild/issues/1745),
    [#&#8203;3183](https://redirect.github.com/evanw/esbuild/issues/3183),
    [#&#8203;3613](https://redirect.github.com/evanw/esbuild/issues/3613),
    [#&#8203;3982](https://redirect.github.com/evanw/esbuild/issues/3982))
    
    Previously esbuild incorrectly treated source map path references as
    file paths instead of as URLs. With this release, esbuild will now treat
    source map path references as URLs. This fixes the following problems
    with source maps:
    
    - File names in `sourceMappingURL` that contained a space previously did
    not encode the space as `%20`, which resulted in JavaScript tools
    (including esbuild) failing to read that path back in when consuming the
    generated output file. This should now be fixed.
    
    - Absolute URLs in `sourceMappingURL` that use the `file://` scheme
    previously attempted to read from a folder called `file:`. These URLs
    should now be recognized and parsed correctly.
    
    - Entries in the `sources` array in the source map are now treated as
    URLs instead of file paths. The correct behavior for this is much more
    clear now that source maps has a [formal
    specification](https://tc39.es/ecma426/). Many thanks to those who
    worked on the specification.
    
    - Fix incorrect package for `@esbuild/netbsd-arm64`
    ([#&#8203;4018](https://redirect.github.com/evanw/esbuild/issues/4018))
    
    Due to a copy+paste typo, the binary published to
    `@esbuild/netbsd-arm64` was not actually for `arm64`, and didn't run in
    that environment. This release should fix running esbuild in that
    environment (NetBSD on 64-bit ARM). Sorry about the mistake.
    
    - Fix a minification bug with bitwise operators and bigints
    ([#&#8203;4065](https://redirect.github.com/evanw/esbuild/issues/4065))
    
    This change removes an incorrect assumption in esbuild that all bitwise
    operators result in a numeric integer. That assumption was correct up
    until the introduction of bigints in ES2020, but is no longer correct
    because almost all bitwise operators now operate on both numbers and
    bigints. Here's an example of the incorrect minification:
    
        ```js
        // Original code
        if ((a & b) !== 0) found = true
    
        // Old output (with --minify)
        a&b&&(found=!0);
    
        // New output (with --minify)
        (a&b)!==0&&(found=!0);
        ```
    
    - Fix esbuild incorrectly rejecting valid TypeScript edge case
    ([#&#8203;4027](https://redirect.github.com/evanw/esbuild/issues/4027))
    
        The following TypeScript code is valid:
    
        ```ts
        export function open(async?: boolean): void {
          console.log(async as boolean)
        }
        ```
    
    Before this version, esbuild would fail to parse this with a syntax
    error as it expected the token sequence `async as ...` to be the start
    of an async arrow function expression `async as => ...`. This edge case
    should be parsed correctly by esbuild starting with this release.
    
    - Transform BigInt values into constructor calls when unsupported
    ([#&#8203;4049](https://redirect.github.com/evanw/esbuild/issues/4049))
    
    Previously esbuild would refuse to compile the BigInt literals (such as
    `123n`) if they are unsupported in the configured target environment
    (such as with `--target=es6`). The rationale was that they cannot be
    polyfilled effectively because they change the behavior of JavaScript's
    arithmetic operators and JavaScript doesn't have operator overloading.
    
    However, this prevents using esbuild with certain libraries that would
    otherwise work if BigInt literals were ignored, such as with old
    versions of the [`buffer`
    library](https://redirect.github.com/feross/buffer) before the library
    fixed support for running in environments without BigInt support. So
    with this release, esbuild will now turn BigInt literals into BigInt
    constructor calls (so `123n` becomes `BigInt(123)`) and generate a
    warning in this case. You can turn off the warning with
    `--log-override:bigint=silent` or restore the warning to an error with
    `--log-override:bigint=error` if needed.
    
    - Change how `console` API dropping works
    ([#&#8203;4020](https://redirect.github.com/evanw/esbuild/issues/4020))
    
    Previously the `--drop:console` feature replaced all method calls off of
    the `console` global with `undefined` regardless of how long the
    property access chain was (so it applied to `console.log()` and
    `console.log.call(console)` and `console.log.not.a.method()`). However,
    it was pointed out that this breaks uses of `console.log.bind(console)`.
    That's also incompatible with Terser's implementation of the feature,
    which is where this feature originally came from (it does support
    `bind`). So with this release, using this feature with esbuild will now
    only replace one level of method call (unless extended by `call` or
    `apply`) and will replace the method being called with an empty function
    in complex cases:
    
        ```js
        // Original code
        const x = console.log('x')
        const y = console.log.call(console, 'y')
        const z = console.log.bind(console)('z')
    
        // Old output (with --drop-console)
        const x = void 0;
        const y = void 0;
        const z = (void 0)("z");
    
        // New output (with --drop-console)
        const x = void 0;
        const y = void 0;
        const z = (() => {
        }).bind(console)("z");
        ```
    
        This should more closely match Terser's existing behavior.
    
    -   Allow BigInt literals as `define` values
    
    With this release, you can now use BigInt literals as define values,
    such as with `--define:FOO=123n`. Previously trying to do this resulted
    in a syntax error.
    
    - Fix a bug with resolve extensions in `node_modules`
    ([#&#8203;4053](https://redirect.github.com/evanw/esbuild/issues/4053))
    
    The `--resolve-extensions=` option lets you specify the order in which
    to try resolving implicit file extensions. For complicated reasons,
    esbuild reorders TypeScript file extensions after JavaScript ones inside
    of `node_modules` so that JavaScript source code is always preferred to
    TypeScript source code inside of dependencies. However, this reordering
    had a bug that could accidentally change the relative order of
    TypeScript file extensions if one of them was a prefix of the other.
    That bug has been fixed in this release. You can see the issue for
    details.
    
    - Better minification of statically-determined `switch` cases
    ([#&#8203;4028](https://redirect.github.com/evanw/esbuild/issues/4028))
    
    With this release, esbuild will now try to trim unused code within
    `switch` statements when the test expression and `case` expressions are
    primitive literals. This can arise when the test expression is an
    identifier that is substituted for a primitive literal at compile time.
    For example:
    
        ```js
        // Original code
        switch (MODE) {
          case 'dev':
            installDevToolsConsole()
            break
          case 'prod':
            return
          default:
            throw new Error
        }
    
        // Old output (with --minify '--define:MODE="prod"')
    
    switch("prod"){case"dev":installDevToolsConsole();break;case"prod":return;default:throw
    new Error}
    
        // New output (with --minify '--define:MODE="prod"')
        return;
        ```
    
    - Emit `/* @&#8203;__KEY__ */` for string literals derived from property
    names
    ([#&#8203;4034](https://redirect.github.com/evanw/esbuild/issues/4034))
    
    Property name mangling is an advanced feature that shortens certain
    property names for better minification (I say "advanced feature" because
    it's very easy to break your code with it). Sometimes you need to store
    a property name in a string, such as `obj.get('foo')` instead of
    `obj.foo`. JavaScript minifiers such as esbuild and
    [Terser](https://terser.org/) have a convention where a `/*
    @&#8203;__KEY__ */` comment before the string makes it behave like a
    property name. So `obj.get(/* @&#8203;__KEY__ */ 'foo')` allows the
    contents of the string `'foo'` to be shortened.
    
    However, esbuild sometimes itself generates string literals containing
    property names when transforming code, such as when lowering class
    fields to ES6 or when transforming TypeScript decorators. Previously
    esbuild didn't generate its own `/* @&#8203;__KEY__ */` comments in this
    case, which means that minifying your code by running esbuild again on
    its own output wouldn't work correctly (this does not affect people that
    both minify and transform their code in a single step).
    
    With this release, esbuild will now generate `/* @&#8203;__KEY__ */`
    comments for property names in generated string literals. To avoid lots
    of unnecessary output for people that don't use this advanced feature,
    the generated comments will only be present when the feature is active.
    If you want to generate the comments but not actually mangle any
    property names, you can use a flag that has no effect such as
    `--reserve-props=.`, which tells esbuild to not mangle any property
    names (but still activates this feature).
    
    - The `text` loader now strips the UTF-8 BOM if present
    ([#&#8203;3935](https://redirect.github.com/evanw/esbuild/issues/3935))
    
    Some software (such as Notepad on Windows) can create text files that
    start with the three bytes `0xEF 0xBB 0xBF`, which is referred to as the
    "byte order mark". This prefix is intended to be removed before using
    the text. Previously esbuild's `text` loader included this byte sequence
    in the string, which turns into a prefix of `\uFEFF` in a JavaScript
    string when decoded from UTF-8. With this release, esbuild's `text`
    loader will now remove these bytes when they occur at the start of the
    file.
    
    - Omit legal comment output files when empty
    ([#&#8203;3670](https://redirect.github.com/evanw/esbuild/issues/3670))
    
    Previously configuring esbuild with `--legal-comment=external` or
    `--legal-comment=linked` would always generate a `.LEGAL.txt` output
    file even if it was empty. Starting with this release, esbuild will now
    only do this if the file will be non-empty. This should result in a more
    organized output directory in some cases.
    
    - Update Go from 1.23.1 to 1.23.5
    ([#&#8203;4056](https://redirect.github.com/evanw/esbuild/issues/4056),
    [#&#8203;4057](https://redirect.github.com/evanw/esbuild/pull/4057))
    
    This should have no effect on existing code as this version change does
    not change Go's operating system support. It may remove certain reports
    from vulnerability scanners that detect which version of the Go compiler
    esbuild uses.
    
    This PR was contributed by
    [@&#8203;MikeWillCook](https://redirect.github.com/MikeWillCook).
    
    - Allow passing a port of 0 to the development server
    ([#&#8203;3692](https://redirect.github.com/evanw/esbuild/issues/3692))
    
    Unix sockets interpret a port of 0 to mean "pick a random unused port in
    the [ephemeral port](https://en.wikipedia.org/wiki/Ephemeral_port)
    range". However, esbuild's default behavior when the port is not
    specified is to pick the first unused port starting from 8000 and
    upward. This is more convenient because port 8000 is typically free, so
    you can for example restart the development server and reload your app
    in the browser without needing to change the port in the URL. Since
    esbuild is written in Go (which does not have optional fields like
    JavaScript), not specifying the port in Go means it defaults to 0, so
    previously passing a port of 0 to esbuild caused port 8000 to be picked.
    
    Starting with this release, passing a port of 0 to esbuild when using
    the CLI or the JS API will now pass port 0 to the OS, which will pick a
    random ephemeral port. To make this possible, the `Port` option in the
    Go API has been changed from `uint16` to `int` (to allow for additional
    sentinel values) and passing a port of -1 in Go now picks a random port.
    Both the CLI and JS APIs now remap an explicitly-provided port of 0 into
    -1 for the internal Go API.
    
    Another option would have been to change `Port` in Go from `uint16` to
    `*uint16` (Go's closest equivalent of `number | undefined`). However,
    that would make the common case of providing an explicit port in Go very
    awkward as Go doesn't support taking the address of integer constants.
    This tradeoff isn't worth it as picking a random ephemeral port is a
    rare use case. So the CLI and JS APIs should now match standard Unix
    behavior when the port is 0, but you need to use -1 instead with Go API.
    
    - Minification now avoids inlining constants with direct `eval`
    ([#&#8203;4055](https://redirect.github.com/evanw/esbuild/issues/4055))
    
        Direct `eval` can be used to introduce a new variable like this:
    
        ```js
        const variable = false
        ;(function () {
          eval("var variable = true")
          console.log(variable)
        })()
        ```
    
    Previously esbuild inlined `variable` here (which became `false`), which
    changed the behavior of the code. This inlining is now avoided, but
    please keep in mind that direct `eval` breaks many assumptions that
    JavaScript tools hold about normal code (especially when bundling) and I
    do not recommend using it. There are usually better alternatives that
    have a more localized impact on your code. You can read more about this
    here: https://esbuild.github.io/link/direct-eval/
    
    </details>
    
    <details>
    <summary>alecthomas/kong (github.com/alecthomas/kong)</summary>
    
    ###
    [`v1.8.1`](https://redirect.github.com/alecthomas/kong/compare/v1.8.0...v1.8.1)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/kong/compare/v1.8.0...v1.8.1)
    
    ###
    [`v1.8.0`](https://redirect.github.com/alecthomas/kong/compare/v1.7.0...v1.8.0)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/kong/compare/v1.7.0...v1.8.0)
    
    </details>
    
    <details>
    <summary>dlclark/regexp2 (github.com/dlclark/regexp2)</summary>
    
    ###
    [`v1.11.5`](https://redirect.github.com/dlclark/regexp2/compare/v1.11.4...v1.11.5)
    
    [Compare
    Source](https://redirect.github.com/dlclark/regexp2/compare/v1.11.4...v1.11.5)
    
    </details>
    
    <details>
    <summary>golang/go (go)</summary>
    
    ###
    [`v1.24.1`](https://redirect.github.com/golang/go/compare/go1.24.0...go1.24.1)
    
    ###
    [`v1.24.0`](https://redirect.github.com/golang/go/compare/go1.23.6...go1.24.0)
    
    ###
    [`v1.23.6`](https://redirect.github.com/golang/go/compare/go1.23.5...go1.23.6)
    
    </details>
    
    <details>
    <summary>watchexec/watchexec (watchexec)</summary>
    
    ###
    [`v2.3.0`](https://redirect.github.com/watchexec/watchexec/releases/tag/v2.3.0):
    CLI v2.3.0
    
    - Upgrade jaq to 2.0
    ([#&#8203;902](https://redirect.github.com/watchexec/watchexec/issues/902))
    -   Flags are ordered alphabetically in `--help`
    -   `--filter-prog` is no longer experimental (won't warn on use)
    -   `--only-emit-events` now implies `--emit-events-to=json-stdio`
    - Zero-value unitless time spans are no longer deprecated
    ([#&#8203;909](https://redirect.github.com/watchexec/watchexec/issues/909))
    - Linux build machines for the pre-built binaries now use Ubuntu 24.04;
    if you require an older glibc you'll need to build from source
    
    ##### New feature: `--socket`
    ([#&#8203;905](https://redirect.github.com/watchexec/watchexec/issues/905))
    
    This implements the systemd socket-passing protocol, like a lightweight
    [systemfd](https://redirect.github.com/mitsuhiko/systemfd): sockets are
    opened from the watchexec process, and then passed to the commands it
    runs. This lets you keep sockets open and avoid address reuse issues or
    dropping packets.
    
    The value can be either of `PORT` (opens a TCP listening socket at that
    port), `HOST:PORT` (specify a host IP address; IPv6 addresses can be
    specified `[bracketed]`), `TYPE::PORT` or `TYPE::HOST:PORT` (specify a
    socket type, `tcp` / `udp`). This syntax and the behaviour of this
    option is compatible with `systemfd`'s.
    
    This integration only provides basic support, if you want more control
    you should use the `systemfd` tool from
    [@&#8203;mitsuhiko](https://redirect.github.com/mitsuhiko) directly. To
    make use of the sockets in Rust code, you can use the
    [listenfd](https://redirect.github.com/mitsuhiko/listenfd) crate, also
    by Armin.
    
    I've also written a document that describes the minimal protocol, if you
    want to see how to use it in your projects or how to implement it
    yourself, both for Unix (systemd's invention) and for Windows
    (systemfd's invention):
    https://github.com/watchexec/watchexec/blob/main/doc/socket.md
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At
    any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    👻 **Immortal**: This PR will be recreated if closed unmerged. Get
    [config
    help](https://redirect.github.com/renovatebot/renovate/discussions) if
    that's undesired.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend Renovate](https://mend.io/renovate/).
    View the [repository job
    log](https://developer.mend.io/github/alecthomas/chroma).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Alec Thomas <alec@swapoff.org>
    renovate[bot] and alecthomas authored Mar 5, 2025
    Configuration menu
    Copy the full SHA
    0e0e282 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2025

  1. Configuration menu
    Copy the full SHA
    0bf0e9f View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2025

  1. Fix IP address as name detection in nginx conf (#1060)

    Adds lexer rule to detect IP address _without_ a port.
    I've created two commits for this PR. The first generates the test
    snapshot files with the existing ruleset, the second adds the new rule
    and updates the snapshot.
    
    Noticed as part of the [NGINX
    docs](https://docs.nginx.com/nginx/admin-guide/load-balancer/http-load-balancer/#proxying-http-traffic-to-a-group-of-servers),
    you can see the `192` being highlighted by itself.
    
    Let me know if there are any conventions I missed, or tweaks I should
    make. Thanks!
    nginx-jack authored Mar 15, 2025
    Configuration menu
    Copy the full SHA
    e0c7747 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2025

  1. chore(deps): update all non-major dependencies (#1061)

    This PR contains the following updates:
    
    | Package | Type | Update | Change | Age | Adoption | Passing |
    Confidence |
    |---|---|---|---|---|---|---|---|
    | [esbuild](https://redirect.github.com/evanw/esbuild) | | patch |
    `0.25.0` -> `0.25.1` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/esbuild/0.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/esbuild/0.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/esbuild/0.25.0/0.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/esbuild/0.25.0/0.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    |
    [github.com/alecthomas/kong](https://redirect.github.com/alecthomas/kong)
    | require | minor | `v1.8.1` -> `v1.9.0` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fkong/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fkong/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fkong/v1.8.1/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fkong/v1.8.1/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>evanw/esbuild (esbuild)</summary>
    
    ###
    [`v0.25.1`](https://redirect.github.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0251)
    
    [Compare
    Source](https://redirect.github.com/evanw/esbuild/compare/v0.25.0...v0.25.1)
    
    - Fix incorrect paths in inline source maps
    ([#&#8203;4070](https://redirect.github.com/evanw/esbuild/issues/4070),
    [#&#8203;4075](https://redirect.github.com/evanw/esbuild/issues/4075),
    [#&#8203;4105](https://redirect.github.com/evanw/esbuild/issues/4105))
    
    This fixes a regression from version 0.25.0 where esbuild didn't
    correctly resolve relative paths contained within source maps in inline
    `sourceMappingURL` data URLs. The paths were incorrectly being passed
    through as-is instead of being resolved relative to the source file
    containing the `sourceMappingURL` comment, which was due to the data URL
    not being a file URL. This regression has been fixed, and this case now
    has test coverage.
    
    - Fix invalid generated source maps
    ([#&#8203;4080](https://redirect.github.com/evanw/esbuild/issues/4080),
    [#&#8203;4082](https://redirect.github.com/evanw/esbuild/issues/4082),
    [#&#8203;4104](https://redirect.github.com/evanw/esbuild/issues/4104),
    [#&#8203;4107](https://redirect.github.com/evanw/esbuild/issues/4107))
    
    This release fixes a regression from version 0.24.1 that could cause
    esbuild to generate invalid source maps. Specifically under certain
    conditions, esbuild could generate a mapping with an out-of-bounds
    source index. It was introduced by code that attempted to improve
    esbuild's handling of "null" entries in source maps (i.e. mappings with
    a generated position but no original position). This regression has been
    fixed.
    
    This fix was contributed by
    [@&#8203;jridgewell](https://redirect.github.com/jridgewell).
    
    - Fix a regression with non-file source map paths
    ([#&#8203;4078](https://redirect.github.com/evanw/esbuild/issues/4078))
    
    The format of paths in source maps that aren't in the `file` namespace
    was unintentionally changed in version 0.25.0. Path namespaces is an
    esbuild-specific concept that is optionally available for plugins to use
    to distinguish paths from `file` paths and from paths meant for other
    plugins. Previously the namespace was prepended to the path joined with
    a `:` character, but version 0.25.0 unintentionally failed to prepend
    the namespace. The previous behavior has been restored.
    
    - Fix a crash with `switch` optimization
    ([#&#8203;4088](https://redirect.github.com/evanw/esbuild/issues/4088))
    
    The new code in the previous release to optimize dead code in switch
    statements accidentally introduced a crash in the edge case where one or
    more switch case values include a function expression. This is because
    esbuild now visits the case values first to determine whether any cases
    are dead code, and then visits the case bodies once the dead code status
    is known. That triggered some internal asserts that guard against
    traversing the AST in an unexpected order. This crash has been fixed by
    changing esbuild to expect the new traversal ordering. Here's an example
    of affected code:
    
        ```js
        switch (x) {
          case '':
            return y.map(z => z.value)
          case y.map(z => z.key).join(','):
            return []
        }
        ```
    
    - Update Go from 1.23.5 to 1.23.7
    ([#&#8203;4076](https://redirect.github.com/evanw/esbuild/issues/4076),
    [#&#8203;4077](https://redirect.github.com/evanw/esbuild/pull/4077))
    
    This should have no effect on existing code as this version change does
    not change Go's operating system support. It may remove certain reports
    from vulnerability scanners that detect which version of the Go compiler
    esbuild uses.
    
    This PR was contributed by
    [@&#8203;MikeWillCook](https://redirect.github.com/MikeWillCook).
    
    </details>
    
    <details>
    <summary>alecthomas/kong (github.com/alecthomas/kong)</summary>
    
    ###
    [`v1.9.0`](https://redirect.github.com/alecthomas/kong/compare/v1.8.1...v1.9.0)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/kong/compare/v1.8.1...v1.9.0)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At
    any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    👻 **Immortal**: This PR will be recreated if closed unmerged. Get
    [config
    help](https://redirect.github.com/renovatebot/renovate/discussions) if
    that's undesired.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend Renovate](https://mend.io/renovate/).
    View the [repository job
    log](https://developer.mend.io/github/alecthomas/chroma).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 23, 2025
    Configuration menu
    Copy the full SHA
    30e0bc6 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency svu to v3 (#1053)

    This PR contains the following updates:
    
    | Package | Update | Change |
    |---|---|---|
    | [svu](https://redirect.github.com/caarlos0/svu) | major | `2.2.0` ->
    `3.2.2` |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>caarlos0/svu (svu)</summary>
    
    ###
    [`v3.2.2`](https://redirect.github.com/caarlos0/svu/releases/tag/v3.2.2)
    
    #### Changelog
    
    ##### Other work
    
    -
    [`17547de`](https://redirect.github.com/caarlos0/svu/commit/17547decd6c050fbc50f2e9159b9383d81906f46):
    ci: fix config
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    
    ***
    
    *Released with [GoReleaser Pro](https://goreleaser.com/pro)!*
    
    ###
    [`v3.1.0`](https://redirect.github.com/caarlos0/svu/releases/tag/v3.1.0)
    
    #### Changelog
    
    ##### New Features
    
    -
    [`8ee1898`](https://redirect.github.com/caarlos0/svu/commit/8ee1898bf41e030f722530b0116f14a7451e57fb):
    feat: svu init
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    
    ##### Bug fixes
    
    -
    [`28ea93e`](https://redirect.github.com/caarlos0/svu/commit/28ea93e0f5637068ee96f8389a8ee76763e925f0):
    fix: --prerelease help and flag
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`b8e8b58`](https://redirect.github.com/caarlos0/svu/commit/b8e8b585d3c57b66640a0cfff9de71b1cb60a319):
    fix: do not ignore empty flags from config file
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    
    ##### Other work
    
    -
    [`fae2afb`](https://redirect.github.com/caarlos0/svu/commit/fae2afbd5f260b1a78a648217afa8d5e856941f3):
    ci: fixed attestations
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    
    ***
    
    *Released with [GoReleaser Pro](https://goreleaser.com/pro)!*
    
    ###
    [`v3.0.0`](https://redirect.github.com/caarlos0/svu/releases/tag/v3.0.0)
    
    #### Changelog
    
    ##### Breaking changes
    
    -
    [`7e01863`](https://redirect.github.com/caarlos0/svu/commit/7e018631ba3ae42eac47e542ba0c574bae2e127b):
    feat!: changing flags and usage
    ([#&#8203;193](https://redirect.github.com/caarlos0/svu/issues/193))
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`045a360`](https://redirect.github.com/caarlos0/svu/commit/045a360ffef71ad760fa7883db6f54dec9d816ba):
    feat!: make tag mode all branches by default
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`4227b3c`](https://redirect.github.com/caarlos0/svu/commit/4227b3ca8b2e5d8fd2add7874148ea851a2161be):
    feat!: prepping for v3
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`5d37826`](https://redirect.github.com/caarlos0/svu/commit/5d3782654f15df4369c287f25b99ffe9ae2b2df6):
    feat!: use cobra
    ([#&#8203;192](https://redirect.github.com/caarlos0/svu/issues/192))
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`0ed8e1a`](https://redirect.github.com/caarlos0/svu/commit/0ed8e1a4bb60bd270c0e9a60f5c9ce27ac8495d2):
    feat!: use viper, allow .svu.yml
    ([#&#8203;194](https://redirect.github.com/caarlos0/svu/issues/194))
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    
    ##### Migrating
    
    -   replace `--force-patch-increment` with `--always`
    -   replace `--force-patch-increment` with `--always`
    -   replace `--tag-mode` with `--tag.mode`
    -   `--tag.mode` values are now `all` or `current`
    -   replace `--directory` with `--log.directory`
    -   replace `--no-increment-v0` with `--v0`
    - `--strip-prefix` was removed, as now `--prefix` accepts an empty value
    (e.g. `--prefix=''`)
    -   replace `--directory` with `--log.directory` (repeatable)
    -   replace `--pattern` with `--tag.pattern`
    -   replace `--pre-release` with `--prerelease`
    
    ##### New Features
    
    -
    [`709357d`](https://redirect.github.com/caarlos0/svu/commit/709357da967bd22a8058f563ec37d10f6f1c9a13):
    feat: added --verbose
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`1fdb036`](https://redirect.github.com/caarlos0/svu/commit/1fdb0361830d52f5ef2fd7c1c03b43cba30cbf00):
    feat: better --version
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`dacabcd`](https://redirect.github.com/caarlos0/svu/commit/dacabcdff967d2db3154b54230488e174024eb54):
    feat: handle each commit independently
    ([#&#8203;183](https://redirect.github.com/caarlos0/svu/issues/183))
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    
    ##### Bug fixes
    
    -
    [`38963cf`](https://redirect.github.com/caarlos0/svu/commit/38963cfbff798ed7fd51d994720f94807ad7cf56):
    fix: build ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`224c85d`](https://redirect.github.com/caarlos0/svu/commit/224c85da27f7086b989d671b3a8aa666c30dcdd0):
    fix: logic ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`3233695`](https://redirect.github.com/caarlos0/svu/commit/3233695f9f6cd3896e9cf927890cfc84e6d4364c):
    fix: rename ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`c440ccf`](https://redirect.github.com/caarlos0/svu/commit/c440ccfc5ae17b34b5d1d1e5d92d5ce0facba9a0):
    fix: write version to stdout
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    
    ##### Documentation updates
    
    -
    [`de07c95`](https://redirect.github.com/caarlos0/svu/commit/de07c95f0c84edff9c1070b641e1a7eaea5900d0):
    docs: bg ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`81ae982`](https://redirect.github.com/caarlos0/svu/commit/81ae982f63daa04d7a58626bf63cd54ebb659665):
    docs: fix typo
    ([#&#8203;175](https://redirect.github.com/caarlos0/svu/issues/175))
    ([@&#8203;machecazzon](https://redirect.github.com/machecazzon))
    -
    [`1d222ea`](https://redirect.github.com/caarlos0/svu/commit/1d222ead850242e90616bc64fe45926497ffe0e4):
    docs: update ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`f7ec6e0`](https://redirect.github.com/caarlos0/svu/commit/f7ec6e03b18ebd25dd9433b68e7a0361b63ec548):
    docs: update ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`b7d03c9`](https://redirect.github.com/caarlos0/svu/commit/b7d03c96e4edf4c031a32889068285d2e403ab84):
    docs: update ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    
    ##### Other work
    
    -
    [`a35376e`](https://redirect.github.com/caarlos0/svu/commit/a35376ef56bf60d0dc940f35cefdba0d10b702d8):
    ci: auto-merge dependabot
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`212896f`](https://redirect.github.com/caarlos0/svu/commit/212896fcf54aa91e8ae039e531c2b3777a2ece59):
    ci: release workflow
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`2799a8b`](https://redirect.github.com/caarlos0/svu/commit/2799a8becd836772a60c076cca640c95c3fa77ce):
    ci: update release workflow
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`7e01863`](https://redirect.github.com/caarlos0/svu/commit/7e018631ba3ae42eac47e542ba0c574bae2e127b):
    feat!: changing flags and usage
    ([#&#8203;193](https://redirect.github.com/caarlos0/svu/issues/193))
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`045a360`](https://redirect.github.com/caarlos0/svu/commit/045a360ffef71ad760fa7883db6f54dec9d816ba):
    feat!: make tag mode all branches by default
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`4227b3c`](https://redirect.github.com/caarlos0/svu/commit/4227b3ca8b2e5d8fd2add7874148ea851a2161be):
    feat!: prepping for v3
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`5d37826`](https://redirect.github.com/caarlos0/svu/commit/5d3782654f15df4369c287f25b99ffe9ae2b2df6):
    feat!: use cobra
    ([#&#8203;192](https://redirect.github.com/caarlos0/svu/issues/192))
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`0ed8e1a`](https://redirect.github.com/caarlos0/svu/commit/0ed8e1a4bb60bd270c0e9a60f5c9ce27ac8495d2):
    feat!: use viper, allow .svu.yml
    ([#&#8203;194](https://redirect.github.com/caarlos0/svu/issues/194))
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    -
    [`6a5f609`](https://redirect.github.com/caarlos0/svu/commit/6a5f609a0681f2781885bdc43be90ffcc0d434b8):
    refactor: improve usage, docs on pkg
    ([@&#8203;caarlos0](https://redirect.github.com/caarlos0))
    
    ***
    
    *Released with [GoReleaser Pro](https://goreleaser.com/pro)!*
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At
    any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend Renovate](https://mend.io/renovate/).
    View the [repository job
    log](https://developer.mend.io/github/alecthomas/chroma).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE5NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 23, 2025
    Configuration menu
    Copy the full SHA
    7feb358 View commit details
    Browse the repository at this point in the history
  3. Add lexers.Aliases() method to display only lexers' aliases (#1057)

    `lexers.Aliases()` method shows all the aliases for all the available
    lexers, or their name if none are found. Using a flag, lexers without
    aliases can be skipped entirely.
    
    This request addresses #1048.
    
    Signed-off-by: LuBashQ <cristian.lupascu.nicolae@gmail.com>
    LuBashQ authored Mar 23, 2025
    Configuration menu
    Copy the full SHA
    62197e9 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2025

  1. fix: Dot in a string breaks the highlighting in Terraform. Fixes #988 (

    …#1065)
    
    Admittedly, I set how to make Chroma look more like Pygments.
    
    Pygments:
    
    
    ![pygments-string-capture](https://github.com/user-attachments/assets/8f19bfc6-533c-41d8-859b-219fc13d506e)
    
    Chroma:
    
    
    ![chroma-string-current-capture](https://github.com/user-attachments/assets/eda1fd37-d0e1-4b69-a92c-03299d540663)
    
    Pygments in my opinion does this correctly, with everything between `"
    ... "` is a string. Chroma does some inner interpolation to pull out
    those inner pieces. I can see both sides and in that spirit, I chose to
    keep the current convention. I do have a branch that will make Chroma
    like Pygments if that's the desired behavior.
    
    While looking into existing Terraform issues and Pull requests, I
    encountered #988 and wondered if I could solve it.
    
    As it currently exists:
    
    
    ![988-current-capture](https://github.com/user-attachments/assets/ff78195d-c9b6-4384-8395-f0de9c10bd97)
    
    Fixed in this PR:
    
    
    ![chroma-988-fixed-capture](https://github.com/user-attachments/assets/fd8db050-f3e1-4804-8717-f29f6e411e17)
    
    A silver lining is punctuation actually works and mirrors Pygments.
    There is a possible regression depending on one's point of view and I
    wanted to call it out or not hide it.
    
    Current:
    
    
    ![current-chroma-iam-policy-doc-github-dark-capture](https://github.com/user-attachments/assets/707f8c78-f440-44cb-beea-b29b3c913d5c)
    
    This PR:
    
    
    ![chroma-proposed-fixed-iam-policy-document-github-dark-capture](https://github.com/user-attachments/assets/c7927eb9-a4a0-4a28-a399-371b6c49c807)
    
    The punctuation inside strings is highlighted differently. I don't know
    whether this solution is worth it or if it is a regression not worth
    considering, of if it is even a regression at all.
    
    But I've spent too much time and admittedly, I don't understand the
    syntax well enough. I solved my problem, maybe another one, maybe not.
    I'll understand if you close this PR, perhaps someone else can pick it
    up and address the regression if it is considered a regression. If you
    treat everything inside `" ... "` as a string, then this possible
    regression becomes moot.
    esacteksab authored Mar 31, 2025
    Configuration menu
    Copy the full SHA
    88084b6 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2025

  1. chore(deps): update all non-major dependencies (#1066)

    This PR contains the following updates:
    
    | Package | Type | Update | Change | Age | Adoption | Passing |
    Confidence |
    |---|---|---|---|---|---|---|---|
    | [esbuild](https://redirect.github.com/evanw/esbuild) | | patch |
    `0.25.1` -> `0.25.2` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/esbuild/0.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/esbuild/0.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/esbuild/0.25.1/0.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/esbuild/0.25.1/0.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    |
    [github.com/alecthomas/kong](https://redirect.github.com/alecthomas/kong)
    | require | minor | `v1.9.0` -> `v1.10.0` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fkong/v1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fkong/v1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fkong/v1.9.0/v1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fkong/v1.9.0/v1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    |
    [python3](https://redirect.github.com/indygreg/python-build-standalone)
    | | minor | `3.12.3` -> `3.13.2` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/python3/3.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/python3/3.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/python3/3.12.3/3.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/python3/3.12.3/3.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [svu](https://redirect.github.com/caarlos0/svu) | | patch | `3.2.2` ->
    `3.2.3` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/svu/3.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/svu/3.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/svu/3.2.2/3.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/svu/3.2.2/3.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>evanw/esbuild (esbuild)</summary>
    
    ###
    [`v0.25.2`](https://redirect.github.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0252)
    
    [Compare
    Source](https://redirect.github.com/evanw/esbuild/compare/v0.25.1...v0.25.2)
    
    - Support flags in regular expressions for the API
    ([#&#8203;4121](https://redirect.github.com/evanw/esbuild/issues/4121))
    
    The JavaScript plugin API for esbuild takes JavaScript regular
    expression objects for the `filter` option. Internally these are
    translated into Go regular expressions. However, this translation
    previously ignored the `flags` property of the regular expression. With
    this release, esbuild will now translate JavaScript regular expression
    flags into Go regular expression flags. Specifically the JavaScript
    regular expression `/\.[jt]sx?$/i` is turned into the Go regular
    expression `` `(?i)\.[jt]sx?$` `` internally inside of esbuild's API.
    This should make it possible to use JavaScript regular expressions with
    the `i` flag. Note that JavaScript and Go don't support all of the same
    regular expression features, so this mapping is only approximate.
    
    - Fix node-specific annotations for string literal export names
    ([#&#8203;4100](https://redirect.github.com/evanw/esbuild/issues/4100))
    
    When node instantiates a CommonJS module, it scans the AST to look for
    names to expose via ESM named exports. This is a heuristic that looks
    for certain patterns such as `exports.NAME = ...` or `module.exports = {
    ... }`. This behavior is used by esbuild to "annotate" CommonJS code
    that was converted from ESM with the original ESM export names. For
    example, when converting the file `export let foo, bar` from ESM to
    CommonJS, esbuild appends this to the end of the file:
    
        ```js
        // Annotate the CommonJS export names for ESM import in node:
        0 && (module.exports = {
          bar,
          foo
        });
        ```
    
    However, this feature previously didn't work correctly for export names
    that are not valid identifiers, which can be constructed using string
    literal export names. The generated code contained a syntax error. That
    problem is fixed in this release:
    
        ```js
        // Original code
        let foo
        export { foo as "foo!" }
    
        // Old output (with --format=cjs --platform=node)
        ...
        0 && (module.exports = {
          "foo!"
        });
    
        // New output (with --format=cjs --platform=node)
        ...
        0 && (module.exports = {
          "foo!": null
        });
        ```
    
    - Basic support for index source maps
    ([#&#8203;3439](https://redirect.github.com/evanw/esbuild/issues/3439),
    [#&#8203;4109](https://redirect.github.com/evanw/esbuild/pull/4109))
    
    The source map specification has an optional mode called [index source
    maps](https://tc39.es/ecma426/#sec-index-source-map) that makes it
    easier for tools to create an aggregate JavaScript file by concatenating
    many smaller JavaScript files with source maps, and then generate an
    aggregate source map by simply providing the original source maps along
    with some offset information. My understanding is that this is rarely
    used in practice. I'm only aware of two uses of it in the wild:
    [ClojureScript](https://clojurescript.org/) and
    [Turbopack](https://turbo.build/pack/).
    
    This release provides basic support for indexed source maps. However,
    the implementation has not been tested on a real app (just on very
    simple test input). If you are using index source maps in a real app,
    please try this out and report back if anything isn't working for you.
    
    Note that this is also not a complete implementation. For example, index
    source maps technically allows nesting source maps to an arbitrary
    depth, while esbuild's implementation in this release only supports a
    single level of nesting. It's unclear whether supporting more than one
    level of nesting is important or not given the lack of available test
    cases.
    
    This feature was contributed by
    [@&#8203;clyfish](https://redirect.github.com/clyfish).
    
    </details>
    
    <details>
    <summary>alecthomas/kong (github.com/alecthomas/kong)</summary>
    
    ###
    [`v1.10.0`](https://redirect.github.com/alecthomas/kong/compare/v1.9.0...v1.10.0)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/kong/compare/v1.9.0...v1.10.0)
    
    </details>
    
    <details>
    <summary>caarlos0/svu (svu)</summary>
    
    ###
    [`v3.2.3`](https://redirect.github.com/caarlos0/svu/releases/tag/v3.2.3)
    
    #### Changelog
    
    ##### Other work
    
    -
    [`caa5190`](https://redirect.github.com/caarlos0/svu/commit/caa51903e896854df4cb1897d3813d087f34cf17):
    ci: fix typo in PKGBUILD
    ([#&#8203;209](https://redirect.github.com/caarlos0/svu/issues/209))
    ([@&#8203;mikejoh](https://redirect.github.com/mikejoh))
    
    ***
    
    *Released with [GoReleaser Pro](https://goreleaser.com/pro)!*
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At
    any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    👻 **Immortal**: This PR will be recreated if closed unmerged. Get
    [config
    help](https://redirect.github.com/renovatebot/renovate/discussions) if
    that's undesired.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend Renovate](https://mend.io/renovate/).
    View the [repository job
    log](https://developer.mend.io/github/alecthomas/chroma).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 1, 2025
    Configuration menu
    Copy the full SHA
    34bf362 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2025

  1. Configuration menu
    Copy the full SHA
    9909f65 View commit details
    Browse the repository at this point in the history
  2. chore: clean up Makefile

    alecthomas committed Apr 3, 2025
    Configuration menu
    Copy the full SHA
    ad6f149 View commit details
    Browse the repository at this point in the history
Loading