1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-11-23 22:24:39 +02:00

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`](caa51903e8):
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>
This commit is contained in:
renovate[bot]
2025-04-01 20:41:28 +11:00
committed by GitHub
parent 88084b6330
commit 34bf362160
23 changed files with 18 additions and 14 deletions

View File

@@ -1 +1 @@
.esbuild-0.25.1.pkg
.esbuild-0.25.2.pkg

View File

@@ -1 +1 @@
.python3-3.12.3.pkg
.python3-3.13.2.pkg

View File

@@ -1 +1 @@
.python3-3.12.3.pkg
.python3-3.13.2.pkg

View File

@@ -1 +0,0 @@
.python3-3.12.3.pkg

1
bin/pip3.13 Symbolic link
View File

@@ -0,0 +1 @@
.python3-3.13.2.pkg

View File

@@ -1 +1 @@
.python3-3.12.3.pkg
.python3-3.13.2.pkg

View File

@@ -1 +0,0 @@
.python3-3.12.3.pkg

1
bin/pydoc3.13 Symbolic link
View File

@@ -0,0 +1 @@
.python3-3.13.2.pkg

View File

@@ -1 +1 @@
.python3-3.12.3.pkg
.python3-3.13.2.pkg

View File

@@ -1 +1 @@
.python3-3.12.3.pkg
.python3-3.13.2.pkg

View File

@@ -1 +1 @@
.python3-3.12.3.pkg
.python3-3.13.2.pkg

View File

@@ -1 +0,0 @@
.python3-3.12.3.pkg

View File

@@ -1 +0,0 @@
.python3-3.12.3.pkg

1
bin/python3.13 Symbolic link
View File

@@ -0,0 +1 @@
.python3-3.13.2.pkg

1
bin/python3.13-config Symbolic link
View File

@@ -0,0 +1 @@
.python3-3.13.2.pkg

View File

@@ -1 +1 @@
.svu-3.2.2.pkg
.svu-3.2.3.pkg

View File

@@ -8,7 +8,7 @@ replace github.com/alecthomas/chroma/v2 => ../../
require (
github.com/alecthomas/chroma/v2 v2.15.0
github.com/alecthomas/kong v1.9.0
github.com/alecthomas/kong v1.10.0
github.com/mattn/go-colorable v0.1.14
github.com/mattn/go-isatty v0.0.20
)

View File

@@ -19,6 +19,8 @@ github.com/alecthomas/kong v1.8.1 h1:6aamvWBE/REnR/BCq10EcozmcpUPc5aGI1lPAWdB0EE
github.com/alecthomas/kong v1.8.1/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU=
github.com/alecthomas/kong v1.9.0 h1:Wgg0ll5Ys7xDnpgYBuBn/wPeLGAuK0NvYmEcisJgrIs=
github.com/alecthomas/kong v1.9.0/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU=
github.com/alecthomas/kong v1.10.0 h1:8K4rGDpT7Iu+jEXCIJUeKqvpwZHbsFRoebLbnzlmrpw=
github.com/alecthomas/kong v1.10.0/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU=
github.com/alecthomas/repr v0.2.0 h1:HAzS41CIzNW5syS8Mf9UwXhNH1J9aix/BvDRf1Ml2Yk=
github.com/dlclark/regexp2 v1.10.0 h1:+/GIL799phkJqYW+3YbOd8LCcbHzT0Pbo8zl70MHsq0=
github.com/dlclark/regexp2 v1.10.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=

View File

@@ -6,7 +6,7 @@ toolchain go1.24.1
require (
github.com/alecthomas/chroma/v2 v2.15.0
github.com/alecthomas/kong v1.9.0
github.com/alecthomas/kong v1.10.0
github.com/alecthomas/kong-hcl v1.0.1
github.com/gorilla/csrf v1.7.2
github.com/gorilla/handlers v1.5.2

View File

@@ -20,6 +20,8 @@ github.com/alecthomas/kong v1.8.1 h1:6aamvWBE/REnR/BCq10EcozmcpUPc5aGI1lPAWdB0EE
github.com/alecthomas/kong v1.8.1/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU=
github.com/alecthomas/kong v1.9.0 h1:Wgg0ll5Ys7xDnpgYBuBn/wPeLGAuK0NvYmEcisJgrIs=
github.com/alecthomas/kong v1.9.0/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU=
github.com/alecthomas/kong v1.10.0 h1:8K4rGDpT7Iu+jEXCIJUeKqvpwZHbsFRoebLbnzlmrpw=
github.com/alecthomas/kong v1.10.0/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU=
github.com/alecthomas/kong-hcl v1.0.1 h1:f4svdFpEoNUwlpZj57CvfhzSnSfP/KBzMDETlwamd/s=
github.com/alecthomas/kong-hcl v1.0.1/go.mod h1:6Y+MaMTZ/KQe9Qme6aSlKtql65FJE0/1O+Mu56C6UgQ=
github.com/alecthomas/repr v0.2.0 h1:HAzS41CIzNW5syS8Mf9UwXhNH1J9aix/BvDRf1Ml2Yk=