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.17.2
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.18.0
Choose a head ref
  • 4 commits
  • 22 files changed
  • 3 contributors

Commits on Apr 30, 2025

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

Commits on May 12, 2025

  1. Added IBM RPG lexer (#1078)

    Hi !
    
    Here's a lexer for IBM RPG !
    You can learn about this language here :
    - https://en.wikipedia.org/wiki/IBM_RPG
    - https://www.ibm.com/docs/en/i/7.6.0?topic=languages-rpg
    
    For legacy purposes, the language can be written in two different forms,
    the fixed format (looks like a punched card, expects specific characters
    to be at certain columns in source code) and the free format (gets rid
    of fixed format, and looks like modern languages as Python).
    This lexer only handles the free format, I may open a pull request later
    to implement the fixed format syntax.
    
    There are some RPG repositories available on GitHub, you can search
    using "language:RPGLE" to see them.
    
    The language is old but still maintained and even continues to evolve
    nowadays.
    The lexer is based on the latest version at this day, RPG 7.6.
    
    Are the MIME types in the XML files important ? I don't think this
    language has one (and I didn't know there were MIME types for
    programming languages), so I made one which looks like what I saw in
    other lexers XML files.
    
    And the language can have embedded SQL statements in the source code, so
    I reused the SQL lexer. Please tell me if there's a better way to do it.
    
    The language is rather tied to IBM environment, so if you're interested,
    here's how to try it :
    - https://pub400.com/ provides free accounts to an IBM machine to try
    and discover it
    -
    https://www.nicklitten.com/use-a-5250-green-screen-terminal-in-visual-studio/
    to get a terminal to access pub400 machine and run code
    -
    https://www.nicklitten.com/connecting-to-pub400-with-vs-code-for-ibm-i/
    shows how to code RPG in VSCode and compile it
    Chi-Iroh authored May 12, 2025
    Configuration menu
    Copy the full SHA
    79dde77 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2025

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

    This PR contains the following updates:
    
    | Package | Type | Update | Change | Age | Adoption | Passing |
    Confidence |
    |---|---|---|---|---|---|---|---|
    | [esbuild](https://redirect.github.com/evanw/esbuild) | | patch |
    `0.25.3` -> `0.25.4` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/esbuild/0.25.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/esbuild/0.25.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/esbuild/0.25.3/0.25.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/esbuild/0.25.3/0.25.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    |
    [github.com/alecthomas/chroma/v2](https://redirect.github.com/alecthomas/chroma)
    | require | patch | `v2.17.0` -> `v2.17.2` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fchroma%2fv2/v2.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fchroma%2fv2/v2.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fchroma%2fv2/v2.17.0/v2.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fchroma%2fv2/v2.17.0/v2.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    |
    [github.com/alecthomas/kong](https://redirect.github.com/alecthomas/kong)
    | require | minor | `v1.10.0` -> `v1.11.0` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fkong/v1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fkong/v1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fkong/v1.10.0/v1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fkong/v1.10.0/v1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [go](https://redirect.github.com/golang/go) | | patch | `1.24.2` ->
    `1.24.3` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/go/1.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/go/1.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/go/1.24.2/1.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/go/1.24.2/1.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [go](https://go.dev/)
    ([source](https://redirect.github.com/golang/go)) | toolchain | patch |
    `1.24.2` -> `1.24.3` |
    [![age](https://developer.mend.io/api/mc/badges/age/golang-version/go/1.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/golang-version/go/1.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/golang-version/go/1.24.2/1.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/golang-version/go/1.24.2/1.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [watchexec](https://redirect.github.com/watchexec/watchexec) | | patch
    | `2.3.0` -> `2.3.1` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/watchexec/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/watchexec/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/watchexec/2.3.0/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/watchexec/2.3.0/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>evanw/esbuild (esbuild)</summary>
    
    ###
    [`v0.25.4`](https://redirect.github.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0254)
    
    [Compare
    Source](https://redirect.github.com/evanw/esbuild/compare/v0.25.3...v0.25.4)
    
    - Add simple support for CORS to esbuild's development server
    ([#&#8203;4125](https://redirect.github.com/evanw/esbuild/issues/4125))
    
    Starting with version 0.25.0, esbuild's development server is no longer
    configured to serve cross-origin requests. This was a deliberate change
    to prevent any website you visit from accessing your running esbuild
    development server. However, this change prevented (by design) certain
    use cases such as "debugging in production" by having your production
    website load code from `localhost` where the esbuild development server
    is running.
    
    To enable this use case, esbuild is adding a feature to allow
    [Cross-Origin Resource
    Sharing](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS)
    (a.k.a. CORS) for [simple
    requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS#simple_requests).
    Specifically, passing your origin to the new `cors` option will now set
    the `Access-Control-Allow-Origin` response header when the request has a
    matching `Origin` header. Note that this currently only works for
    requests that don't send a preflight `OPTIONS` request, as esbuild's
    development server doesn't currently support `OPTIONS` requests.
    
        Some examples:
    
        -   **CLI:**
    
                esbuild --servedir=. --cors-origin=https://example.com
    
        -   **JS:**
    
            ```js
            const ctx = await esbuild.context({})
            await ctx.serve({
              servedir: '.',
              cors: {
                origin: 'https://example.com',
              },
            })
            ```
    
        -   **Go:**
    
            ```go
            ctx, _ := api.Context(api.BuildOptions{})
            ctx.Serve(api.ServeOptions{
              Servedir: ".",
              CORS: api.CORSOptions{
                Origin: []string{"https://example.com"},
              },
            })
            ```
    
    The special origin `*` can be used to allow any origin to access
    esbuild's development server. Note that this means any website you visit
    will be able to read everything served by esbuild.
    
    - Pass through invalid URLs in source maps unmodified
    ([#&#8203;4169](https://redirect.github.com/evanw/esbuild/issues/4169))
    
    This fixes a regression in version 0.25.0 where `sources` in source maps
    that form invalid URLs were not being passed through to the output.
    Version 0.25.0 changed the interpretation of `sources` from file paths
    to URLs, which means that URL parsing can now fail. Previously URLs that
    couldn't be parsed were replaced with the empty string. With this
    release, invalid URLs in `sources` should now be passed through
    unmodified.
    
    - Handle exports named `__proto__` in ES modules
    ([#&#8203;4162](https://redirect.github.com/evanw/esbuild/issues/4162),
    [#&#8203;4163](https://redirect.github.com/evanw/esbuild/pull/4163))
    
    In JavaScript, the special property name `__proto__` sets the prototype
    when used inside an object literal. Previously esbuild's ESM-to-CommonJS
    conversion didn't special-case the property name of exports named
    `__proto__` so the exported getter accidentally became the prototype of
    the object literal. It's unclear what this affects, if anything, but
    it's better practice to avoid this by using a computed property name in
    this case.
    
    This fix was contributed by
    [@&#8203;magic-akari](https://redirect.github.com/magic-akari).
    
    </details>
    
    <details>
    <summary>alecthomas/chroma (github.com/alecthomas/chroma/v2)</summary>
    
    ###
    [`v2.17.2`](https://redirect.github.com/alecthomas/chroma/releases/tag/v2.17.2)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/chroma/compare/v2.17.1...v2.17.2)
    
    ##### Changelog
    
    -
    [`66b90e7`](https://redirect.github.com/alecthomas/chroma/commit/66b90e7)
    fix: downgrade gorilla/csrf temporarily
    
    ###
    [`v2.17.1`](https://redirect.github.com/alecthomas/chroma/releases/tag/v2.17.1)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/chroma/compare/v2.17.0...v2.17.1)
    
    ##### Changelog
    
    -
    [`2cbcfa9`](https://redirect.github.com/alecthomas/chroma/commit/2cbcfa9)
    fix: a bunch of styles did not correctly fallback to parent styles
    -
    [`8f4cf56`](https://redirect.github.com/alecthomas/chroma/commit/8f4cf56)
    fix(zig): add rule for function calls
    ([#&#8203;1075](https://redirect.github.com/alecthomas/chroma/issues/1075))
    -
    [`abf98e0`](https://redirect.github.com/alecthomas/chroma/commit/abf98e0)
    chore(deps): update all non-major dependencies
    ([#&#8203;1074](https://redirect.github.com/alecthomas/chroma/issues/1074))
    
    </details>
    
    <details>
    <summary>alecthomas/kong (github.com/alecthomas/kong)</summary>
    
    ###
    [`v1.11.0`](https://redirect.github.com/alecthomas/kong/compare/v1.10.0...v1.11.0)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/kong/compare/v1.10.0...v1.11.0)
    
    </details>
    
    <details>
    <summary>golang/go (go)</summary>
    
    ###
    [`v1.24.3`](https://redirect.github.com/golang/go/compare/go1.24.2...go1.24.3)
    
    </details>
    
    <details>
    <summary>watchexec/watchexec (watchexec)</summary>
    
    ###
    [`v2.3.1`](https://redirect.github.com/watchexec/watchexec/releases/tag/v2.3.1):
    CLI v2.3.1
    
    [Compare
    Source](https://redirect.github.com/watchexec/watchexec/compare/watchexec-v2.3.0...watchexec-v2.3.1)
    
    Internal dependency updates, no changed functionality.
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
    Monday ( * 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjQwLjExLjE4IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 16, 2025
    Configuration menu
    Copy the full SHA
    d87cb47 View commit details
    Browse the repository at this point in the history
  2. feat: support for dark mode in chromad

    - Upgraded Bulma.
    - Default to monokai if browser is in dark mode, monokailight if not.
    alecthomas committed May 16, 2025
    Configuration menu
    Copy the full SHA
    7f0057b View commit details
    Browse the repository at this point in the history
Loading