1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-25 21:39:02 +02:00
renovate[bot] 30e0bc6609
chore(deps): update all non-major dependencies ()
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>
2025-03-23 11:33:37 +11:00

25 lines
607 B
Modula-2

module github.com/alecthomas/chroma/v2/cmd/chromad
go 1.22
toolchain go1.24.1
require (
github.com/alecthomas/chroma/v2 v2.15.0
github.com/alecthomas/kong v1.9.0
github.com/alecthomas/kong-hcl v1.0.1
github.com/gorilla/csrf v1.7.2
github.com/gorilla/handlers v1.5.2
github.com/gorilla/mux v1.8.1
)
require (
github.com/dlclark/regexp2 v1.11.5 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
github.com/gorilla/securecookie v1.1.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
)
replace github.com/alecthomas/chroma/v2 => ../../