Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update osv-scanner minor #1120

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

renovate-bot
Copy link
Collaborator

@renovate-bot renovate-bot commented Jul 14, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
github.com/charmbracelet/lipgloss v0.11.0 -> v0.12.1 age adoption passing confidence require minor
github.com/gkampitakis/go-snaps v0.5.4 -> v0.5.5 age adoption passing confidence require patch
github.com/google/go-containerregistry v0.19.2 -> v0.20.1 age adoption passing confidence require minor
github.com/owenrumney/go-sarif/v2 v2.3.2 -> v2.3.3 age adoption passing confidence require patch
golang.org/x/exp 46b0784 -> 8a7402a age adoption passing confidence require digest

Release Notes

charmbracelet/lipgloss (github.com/charmbracelet/lipgloss)

v0.12.1

Compare Source

This release fixes a regression with regard to border calculations introduced in Lip Gloss v0.11.1.


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v0.12.0

Compare Source

Lists, Check ✓

This release adds a new sub-package for rendering trees and lists.

import "github.com/charmbracelet/lipgloss/list"

Define a new list.

l := list.New("A", "B", "C")

Print the list.

fmt.Println(l)

// • A
// • B
// • C

Lists have the ability to nest.

l := list.New(
  "A", list.New("Artichoke"),
  "B", list.New("Baking Flour", "Bananas", "Barley", "Bean Sprouts"),
  "C", list.New("Cashew Apple", "Cashews", "Coconut Milk", "Curry Paste", "Currywurst"),
  "D", list.New("Dill", "Dragonfruit", "Dried Shrimp"),
  "E", list.New("Eggs"),
  "F", list.New("Fish Cake", "Furikake"),
  "J", list.New("Jicama"),
  "K", list.New("Kohlrabi"),
  "L", list.New("Leeks", "Lentils", "Licorice Root"),
)

Print the list.

fmt.Println(l)

image

Lists can be customized via their enumeration function as well as using
lipgloss.Styles.

enumeratorStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("99")).MarginRight(1)
itemStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("212")).MarginRight(1)

l := list.New(
  "Glossier",
  "Claire’s Boutique",
  "Nyx",
  "Mac",
  "Milk",
).
  Enumerator(list.Roman).
  EnumeratorStyle(enumeratorStyle).
  ItemStyle(itemStyle)

Print the list.

List example

In addition to the predefined enumerators (Arabic, Alphabet, Roman, Bullet, Tree),
you may also define your own custom enumerator:

l := list.New("Duck", "Duck", "Duck", "Duck", "Goose", "Duck", "Duck")

func DuckDuckGooseEnumerator(l list.Items, i int) string {
    if l.At(i).Value() == "Goose" {
        return "Honk →"
    }
    return ""
}

l = l.Enumerator(DuckDuckGooseEnumerator)

Print the list:

image

If you need, you can also build lists incrementally:

l := list.New()

for i := 0; i < repeat; i++ {
    l.Item("Lip Gloss")
}

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v0.11.1

Compare Source

This release is a small patch release to fix text truncation in table cells. For details see: https://github.com/charmbracelet/lipgloss/issues/324.

Other stuff

Full Changelog: charmbracelet/lipgloss@v0.11.0...v0.11.1


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.

gkampitakis/go-snaps (github.com/gkampitakis/go-snaps)

v0.5.5

Compare Source

google/go-containerregistry (github.com/google/go-containerregistry)

v0.20.1

Compare Source

What's Changed

Full Changelog: google/go-containerregistry@v0.20.0...v0.20.1

v0.20.0

Compare Source

What's Changed

New Contributors

Full Changelog: google/go-containerregistry@v0.19.2...v0.20.0

owenrumney/go-sarif (github.com/owenrumney/go-sarif/v2)

v2.3.3

Compare Source

What's Changed

Full Changelog: owenrumney/go-sarif@v2.3.2...v2.3.3


Configuration

📅 Schedule: Branch creation - "before 6am on monday" in timezone Australia/Sydney, 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 if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate forking-renovate bot added the dependencies Pull requests that update a dependency file label Jul 14, 2024
@renovate-bot renovate-bot force-pushed the renovate/osv-scanner-minor branch 5 times, most recently from fa712a1 to 5712596 Compare July 19, 2024 22:35
@andrewpollock andrewpollock added the rebase Tell renovate to rebase this PR label Jul 21, 2024
@forking-renovate forking-renovate bot removed the rebase Tell renovate to rebase this PR label Jul 21, 2024
andrewpollock added a commit to andrewpollock/osv-scanner that referenced this pull request Jul 21, 2024
Replicate google#1109 more like google#1030 to avoid Renovate failures like google#1120 (comment)

The Docker files are already at 1.22.5, not sure if we want to update to
this globally?
andrewpollock added a commit that referenced this pull request Jul 22, 2024
Replicate #1109 more like #1030 to avoid Renovate failures like
#1120 (comment)

The Docker files are already at 1.22.5, not sure if we want to update to
this globally?
Copy link

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/charmbracelet/x/ansi v0.1.2 -> v0.1.4

@codecov-commenter
Copy link

codecov-commenter commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.24%. Comparing base (d9eccf2) to head (60d00a1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1120   +/-   ##
=======================================
  Coverage   65.24%   65.24%           
=======================================
  Files         162      162           
  Lines       13424    13424           
=======================================
  Hits         8758     8758           
  Misses       4183     4183           
  Partials      483      483           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andrewpollock andrewpollock merged commit bb4baf6 into google:main Jul 23, 2024
13 checks passed
@renovate-bot renovate-bot deleted the renovate/osv-scanner-minor branch July 23, 2024 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants