k1LoW / runn

runn is a package/tool for running operations following a scenario.
https://runn.run
MIT License
421 stars 31 forks source link

chore(deps): bump the dependencies group with 4 updates #1022

Closed dependabot[bot] closed 3 weeks ago

dependabot[bot] commented 4 weeks ago

Bumps the dependencies group with 4 updates: github.com/charmbracelet/bubbletea, github.com/k1LoW/httpstub, github.com/ory/dockertest/v3 and github.com/samber/lo.

Updates github.com/charmbracelet/bubbletea from 0.26.6 to 0.27.0

Release notes

Sourced from github.com/charmbracelet/bubbletea's releases.

v0.27.0

Suspending, environment hacking, and more

Hi! This release has three nice little features and some bug fixes. Let's take a look:

Suspending and resuming

At last, now you can programmatically suspend and resume programs with the tea.Suspend command and handle resumes with the tea.ResumeMsg message:

func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
    switch msg := msg.(type) {
// Suspend with ctrl+z!
case tea.KeyMsg:
    switch msg.String() {
    case "ctrl+z":
        m.suspended = true
        return m, tea.Suspend
    }

// Handle resumes
case tea.ResumeMsg:
    m.suspended = false
    return m, nil
}

// ...

}

Example

There's also a tea.SuspendMsg that flows through Update on suspension.

Special thanks to @​knz for prototyping the original implementation of this.

Setting the environment

When Bubble Tea is behind Wish you may have needed to pass environment variables from the remote session to the Program. Now you can with the all new tea.WithEnvironment:

var sess ssh.Session // ssh.Session is a type from the github.com/charmbracelet/ssh package
pty, _, _ := sess.Pty()
environ := append(sess.Environ(), "TERM="+pty.Term)
p := tea.NewProgram(model, tea.WithEnvironment(environ)

Requesting the window dimensions

... (truncated)

Commits
  • d6a19f0 fix: wrap ErrProgramKilled error
  • cae9acd feat: set the program environment variables (#1063)
  • 7ddeec9 chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 (#1077)
  • 3eb74e8 chore(deps): bump github.com/charmbracelet/glamour in /examples (#1074)
  • 85ad914 chore(deps): bump golang.org/x/sync from 0.7.0 to 0.8.0 (#1072)
  • 7c4d678 chore(deps): bump golang.org/x/sys from 0.22.0 to 0.23.0 (#1073)
  • 7c1bfc0 fix: query window-size in a goroutine (#1059)
  • 7d70838 feat: add a cmd to request window size (#988)
  • 4497aa9 fix: reset cursor position on renderer exit (#1058)
  • 72760ee chore(deps): bump github.com/charmbracelet/x/ansi from 0.1.3 to 0.1.4 (#1057)
  • Additional commits viewable in compare view


Updates github.com/k1LoW/httpstub from 0.16.7 to 0.16.8

Release notes

Sourced from github.com/k1LoW/httpstub's releases.

v0.16.8

What's Changed

Other Changes

Full Changelog: https://github.com/k1LoW/httpstub/compare/v0.16.7...v0.16.8

Changelog

Sourced from github.com/k1LoW/httpstub's changelog.

v0.16.8 - 2024-08-14

Other Changes

Commits
  • de4a7eb Merge pull request #68 from k1LoW/tagpr-from-v0.16.7
  • 8f5186e [tagpr] update CHANGELOG.md
  • d3a9942 [tagpr] prepare for the next release
  • ad59144 Merge pull request #69 from k1LoW/dependabot/go_modules/golang.org/x/net-0.23.0
  • 71020bc chore(deps): bump golang.org/x/net from 0.8.0 to 0.23.0
  • 32e9846 Merge pull request #66 from k1LoW/dependabot/go_modules/dependencies-3b9dcd9ae1
  • 33a6de8 chore(deps): bump github.com/pb33f/libopenapi in the dependencies group
  • b908a45 Merge pull request #67 from k1LoW/update-go
  • 65777a9 Update go version
  • See full diff in compare view


Updates github.com/ory/dockertest/v3 from 3.10.0 to 3.11.0

Release notes

Sourced from github.com/ory/dockertest/v3's releases.

v3.11.0

What's Changed

New Contributors

Full Changelog: https://github.com/ory/dockertest/compare/v3.10.0...v3.11.0

Commits
  • 6110e9a chore: update docker to v27.1.1 (#522)
  • d229e74 feat: introduce cve scanners (#500)
  • 1b46b29 chore(deps): bump actions/stale from 4 to 9 (#507)
  • 44496a3 chore(deps): bump actions/setup-go from 4 to 5 (#508)
  • 1aa8cd7 chore(deps): bump actions/setup-node from 2.pre.beta to 4.0.2 (#503)
  • 0c91bda chore(deps): bump github.com/opencontainers/image-spec (#510)
  • 3328cf9 move tests to dockertest_test package (#490)
  • 05f6347 chore(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.13 (#509)
  • 6539ccd chore: replace deprecated ioutil.TempDir with os.MkdirTemp (#506)
  • 84015fd chore: remove direct dependency on gotest.tools/v3 (#504)
  • Additional commits viewable in compare view


Updates github.com/samber/lo from 1.46.0 to 1.47.0

Release notes

Sourced from github.com/samber/lo's releases.

v1.47.0

What's Changed

New Contributors

Full Changelog: https://github.com/samber/lo/compare/v1.46.0...v1.47.0

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
k1LoW commented 3 weeks ago

@dependabot rebase

dependabot[bot] commented 3 weeks ago

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

k1LoW commented 3 weeks ago

@dependabot recreate

dependabot[bot] commented 3 weeks ago

Looks like these dependencies are updatable in another way, so this is no longer needed.