Skip to content

Commit b5c1704

Browse files
authored
chore: upgrade github.com/codeclysm/extract to v3.1.1 (#8480)
1 parent a0fedeb commit b5c1704

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

cli/templatepull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os"
77
"sort"
88

9-
"github.com/codeclysm/extract"
9+
"github.com/codeclysm/extract/v3"
1010
"golang.org/x/xerrors"
1111

1212
"github.com/coder/coder/cli/clibase"

cli/templatepull_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"path/filepath"
1010
"testing"
1111

12-
"github.com/codeclysm/extract"
12+
"github.com/codeclysm/extract/v3"
1313
"github.com/google/uuid"
1414
"github.com/stretchr/testify/require"
1515

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ require (
7272
// which breaks most of our CLI golden files tests.
7373
github.com/charmbracelet/lipgloss v0.7.1
7474
github.com/cli/safeexec v1.0.1
75-
github.com/codeclysm/extract v2.2.0+incompatible
75+
github.com/codeclysm/extract/v3 v3.1.1
7676
github.com/coder/flog v1.1.0
7777
github.com/coder/retry v1.4.0
7878
github.com/coder/terraform-provider-coder v0.11.0
@@ -110,7 +110,6 @@ require (
110110
github.com/hashicorp/go-version v1.6.0
111111
github.com/hashicorp/golang-lru/v2 v2.0.1
112112
github.com/hashicorp/hc-install v0.5.2
113-
github.com/hashicorp/hcl/v2 v2.17.0 // indirect
114113
github.com/hashicorp/terraform-config-inspect v0.0.0-20211115214459-90acf1ca460f
115114
github.com/hashicorp/terraform-json v0.17.0
116115
github.com/hashicorp/yamux v0.1.1
@@ -126,7 +125,6 @@ require (
126125
github.com/mitchellh/go-wordwrap v1.0.1
127126
github.com/mitchellh/mapstructure v1.5.0
128127
github.com/moby/moby v24.0.1+incompatible
129-
github.com/muesli/reflow v0.3.0 // indirect
130128
github.com/open-policy-agent/opa v0.51.0
131129
github.com/ory/dockertest/v3 v3.10.0
132130
github.com/pion/udp v0.1.2
@@ -203,6 +201,7 @@ require (
203201
github.com/aymerick/douceur v0.2.0 // indirect
204202
github.com/beorn7/perks v1.0.1 // indirect
205203
github.com/bep/godartsass v1.2.0 // indirect
204+
github.com/bep/godartsass/v2 v2.0.0 // indirect
206205
github.com/bep/golibsass v1.1.1 // indirect
207206
github.com/cespare/xxhash/v2 v2.2.0 // indirect
208207
github.com/charmbracelet/bubbles v0.15.0 // indirect
@@ -257,6 +256,7 @@ require (
257256
github.com/hashicorp/go-multierror v1.1.1
258257
github.com/hashicorp/go-uuid v1.0.3 // indirect
259258
github.com/hashicorp/hcl v1.0.0 // indirect
259+
github.com/hashicorp/hcl/v2 v2.17.0 // indirect
260260
github.com/hashicorp/logutils v1.0.0 // indirect
261261
github.com/hashicorp/terraform-plugin-go v0.12.0 // indirect
262262
github.com/hashicorp/terraform-plugin-log v0.7.0 // indirect
@@ -294,6 +294,7 @@ require (
294294
github.com/moby/term v0.5.0 // indirect
295295
github.com/muesli/ansi v0.0.0-20221106050444-61f0cd9a192a // indirect
296296
github.com/muesli/cancelreader v0.2.2 // indirect
297+
github.com/muesli/reflow v0.3.0 // indirect
297298
github.com/muesli/termenv v0.15.1
298299
github.com/niklasfasching/go-org v1.7.0 // indirect
299300
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect
@@ -323,6 +324,7 @@ require (
323324
github.com/tdewolff/parse/v2 v2.6.6 // indirect
324325
github.com/tdewolff/test v1.0.9 // indirect
325326
github.com/u-root/uio v0.0.0-20221213070652-c3537552635f // indirect
327+
github.com/ulikunitz/xz v0.5.11 // indirect
326328
github.com/vishvananda/netlink v1.1.1-0.20211118161826-650dca95af54 // indirect
327329
github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74 // indirect
328330
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
@@ -357,5 +359,3 @@ require (
357359
howett.net/plist v1.0.0 // indirect
358360
inet.af/peercred v0.0.0-20210906144145-0893ea02156a // indirect
359361
)
360-
361-
require github.com/bep/godartsass/v2 v2.0.0 // indirect

go.sum

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6
101101
github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo=
102102
github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q=
103103
github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE=
104+
github.com/arduino/go-paths-helper v1.2.0 h1:qDW93PR5IZUN/jzO4rCtexiwF8P4OIcOmcSgAYLZfY4=
104105
github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2 h1:7Ip0wMmLHLRJdrloDxZfhMm0xrLXZS8+COSu2bXmEQs=
105106
github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
106107
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
@@ -179,8 +180,8 @@ github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWH
179180
github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
180181
github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
181182
github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
182-
github.com/codeclysm/extract v2.2.0+incompatible h1:q3wyckoA30bhUSiwdQezMqVhwd8+WGE64/GL//LtUhI=
183-
github.com/codeclysm/extract v2.2.0+incompatible/go.mod h1:2nhFMPHiU9At61hz+12bfrlpXSUrOnK+wR+KlGO4Uks=
183+
github.com/codeclysm/extract/v3 v3.1.1 h1:iHZtdEAwSTqPrd+1n4jfhr1qBhUWtHlMTjT90+fJVXg=
184+
github.com/codeclysm/extract/v3 v3.1.1/go.mod h1:ZJi80UG2JtfHqJI+lgJSCACttZi++dHxfWuPaMhlOfQ=
184185
github.com/coder/flog v1.1.0 h1:kbAes1ai8fIS5OeV+QAnKBQE22ty1jRF/mcAwHpLBa4=
185186
github.com/coder/flog v1.1.0/go.mod h1:UQlQvrkJBvnRGo69Le8E24Tcl5SJleAAR7gYEHzAmdQ=
186187
github.com/coder/glog v1.0.1-0.20220322161911-7365fe7f2cd1 h1:UqBrPWSYvRI2s5RtOul20JukUEpu4ip9u7biBL+ntgk=
@@ -828,6 +829,8 @@ github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo=
828829
github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
829830
github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
830831
github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU=
832+
github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=
833+
github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
831834
github.com/unrolled/secure v1.13.0 h1:sdr3Phw2+f8Px8HE5sd1EHdj1aV3yUwed/uZXChLFsk=
832835
github.com/unrolled/secure v1.13.0/go.mod h1:BmF5hyM6tXczk3MpQkFf1hpKSRqCyhqcbiQtiAF7+40=
833836
github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy