Skip to content

Commit b9234a4

Browse files
authored
chore: update all dependencies (#2316)
* chore: update all dependencies * chore: bump toolchain
1 parent d9a07d5 commit b9234a4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+99
-99
lines changed

go.mod

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/supabase/cli
22

3-
go 1.22.0
3+
go 1.22.2
44

55
require (
66
github.com/BurntSushi/toml v1.4.0
@@ -27,8 +27,9 @@ require (
2727
github.com/google/go-github/v62 v62.0.0
2828
github.com/google/go-querystring v1.1.0
2929
github.com/google/uuid v1.6.0
30+
github.com/h2non/gock v1.2.0
3031
github.com/jackc/pgconn v1.14.3
31-
github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa
32+
github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438
3233
github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65
3334
github.com/jackc/pgproto3/v2 v2.3.3
3435
github.com/jackc/pgtype v1.14.3
@@ -51,7 +52,6 @@ require (
5152
golang.org/x/oauth2 v0.20.0
5253
golang.org/x/term v0.20.0
5354
google.golang.org/grpc v1.64.0
54-
gopkg.in/h2non/gock.v1 v1.1.2
5555
gopkg.in/yaml.v3 v3.0.1
5656
gotest.tools/gotestsum v1.11.0
5757
)
@@ -181,7 +181,7 @@ require (
181181
github.com/gostaticanalysis/comment v1.4.2 // indirect
182182
github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect
183183
github.com/gostaticanalysis/nilerr v0.1.1 // indirect
184-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 // indirect
184+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
185185
github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 // indirect
186186
github.com/hashicorp/go-version v1.6.0 // indirect
187187
github.com/hashicorp/hcl v1.0.0 // indirect
@@ -321,16 +321,16 @@ require (
321321
go-simpler.org/musttag v0.12.2 // indirect
322322
go-simpler.org/sloglint v0.6.0 // indirect
323323
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
324-
go.opentelemetry.io/otel v1.25.0 // indirect
325-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.25.0 // indirect
326-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.25.0 // indirect
327-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.25.0 // indirect
328-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.24.0 // indirect
329-
go.opentelemetry.io/otel/metric v1.25.0 // indirect
330-
go.opentelemetry.io/otel/sdk v1.25.0 // indirect
331-
go.opentelemetry.io/otel/sdk/metric v1.25.0 // indirect
332-
go.opentelemetry.io/otel/trace v1.25.0 // indirect
333-
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
324+
go.opentelemetry.io/otel v1.27.0 // indirect
325+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
326+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
327+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
328+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 // indirect
329+
go.opentelemetry.io/otel/metric v1.27.0 // indirect
330+
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
331+
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
332+
go.opentelemetry.io/otel/trace v1.27.0 // indirect
333+
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
334334
go.uber.org/atomic v1.9.0 // indirect
335335
go.uber.org/automaxprocs v1.5.3 // indirect
336336
go.uber.org/multierr v1.9.0 // indirect
@@ -344,8 +344,8 @@ require (
344344
golang.org/x/sys v0.20.0 // indirect
345345
golang.org/x/text v0.15.0 // indirect
346346
golang.org/x/tools v0.21.0 // indirect
347-
google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
348-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
347+
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
348+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect
349349
google.golang.org/protobuf v1.34.1 // indirect
350350
gopkg.in/ini.v1 v1.67.0 // indirect
351351
gopkg.in/warnings.v0 v0.1.2 // indirect

go.sum

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,10 @@ github.com/gostaticanalysis/nilerr v0.1.1/go.mod h1:wZYb6YI5YAxxq0i1+VJbY0s2YONW
507507
github.com/gostaticanalysis/testutil v0.3.1-0.20210208050101-bfb5c8eec0e4/go.mod h1:D+FIZ+7OahH3ePw/izIEeH5I06eKs1IKI4Xr64/Am3M=
508508
github.com/gostaticanalysis/testutil v0.4.0 h1:nhdCmubdmDF6VEatUNjgUZBJKWRqugoISdUv3PPQgHY=
509509
github.com/gostaticanalysis/testutil v0.4.0/go.mod h1:bLIoPefWXrRi/ssLFWX1dx7Repi5x3CuviD3dgAZaBU=
510-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 h1:Wqo399gCIufwto+VfwCSvsnfGpF/w5E9CNxSwbpD6No=
511-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0/go.mod h1:qmOFXW2epJhM0qSnUUYpldc7gVz2KMQwJ/QYCDIa7XU=
510+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
511+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
512+
github.com/h2non/gock v1.2.0 h1:K6ol8rfrRkUOefooBC8elXoaNGYkpp7y2qcxGG6BzUE=
513+
github.com/h2non/gock v1.2.0/go.mod h1:tNhoxHYW2W42cYkYb1WqzdbYIieALC99kpYr7rH/BQk=
512514
github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 h1:2VTzZjLZBgl62/EtslCrtky5vbi9dd7HrQPQIx6wqiw=
513515
github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542/go.mod h1:Ow0tF8D4Kplbc8s8sSb3V2oUCygFHVp8gC3Dn6U4MNI=
514516
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed h1:5upAirOpQc1Q53c0bnx2ufif5kANL7bfZWcc6VJWJd8=
@@ -541,8 +543,8 @@ github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8
541543
github.com/jackc/pgconn v1.9.1-0.20210724152538-d89c8390a530/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI=
542544
github.com/jackc/pgconn v1.14.3 h1:bVoTr12EGANZz66nZPkMInAV/KHD2TxH9npjXXgiB3w=
543545
github.com/jackc/pgconn v1.14.3/go.mod h1:RZbme4uasqzybK2RK5c65VsHxoyaml09lx3tXOcO/VM=
544-
github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa h1:s+4MhCQ6YrzisK6hFJUX53drDT4UsSW3DEhKn0ifuHw=
545-
github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa/go.mod h1:a/s9Lp5W7n/DD0VrVoyJ00FbP2ytTPDVOivvn2bMlds=
546+
github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438 h1:Dj0L5fhJ9F82ZJyVOmBx6msDp/kfd1t9GRfny/mfJA0=
547+
github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438/go.mod h1:a/s9Lp5W7n/DD0VrVoyJ00FbP2ytTPDVOivvn2bMlds=
546548
github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE=
547549
github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8=
548550
github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE=
@@ -1041,26 +1043,26 @@ go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
10411043
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
10421044
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk=
10431045
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw=
1044-
go.opentelemetry.io/otel v1.25.0 h1:gldB5FfhRl7OJQbUHt/8s0a7cE8fbsPAtdpRaApKy4k=
1045-
go.opentelemetry.io/otel v1.25.0/go.mod h1:Wa2ds5NOXEMkCmUou1WA7ZBfLTHWIsp034OVD7AO+Vg=
1046-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.25.0 h1:hDKnobznDpcdTlNzO0S/owRB8tyVr1OoeZZhDoqY+Cs=
1047-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.25.0/go.mod h1:kUDQaUs1h8iTIHbQTk+iJRiUvSfJYMMKTtMCaiVu7B0=
1048-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.25.0 h1:dT33yIHtmsqpixFsSQPwNeY5drM9wTcoL8h0FWF4oGM=
1049-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.25.0/go.mod h1:h95q0LBGh7hlAC08X2DhSeyIG02YQ0UyioTCVAqRPmc=
1050-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.25.0 h1:vOL89uRfOCCNIjkisd0r7SEdJF3ZJFyCNY34fdZs8eU=
1051-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.25.0/go.mod h1:8GlBGcDk8KKi7n+2S4BT/CPZQYH3erLu0/k64r1MYgo=
1052-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.24.0 h1:Xw8U6u2f8DK2XAkGRFV7BBLENgnTGX9i4rQRxJf+/vs=
1053-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.24.0/go.mod h1:6KW1Fm6R/s6Z3PGXwSJN2K4eT6wQB3vXX6CVnYX9NmM=
1054-
go.opentelemetry.io/otel/metric v1.25.0 h1:LUKbS7ArpFL/I2jJHdJcqMGxkRdxpPHE0VU/D4NuEwA=
1055-
go.opentelemetry.io/otel/metric v1.25.0/go.mod h1:rkDLUSd2lC5lq2dFNrX9LGAbINP5B7WBkC78RXCpH5s=
1056-
go.opentelemetry.io/otel/sdk v1.25.0 h1:PDryEJPC8YJZQSyLY5eqLeafHtG+X7FWnf3aXMtxbqo=
1057-
go.opentelemetry.io/otel/sdk v1.25.0/go.mod h1:oFgzCM2zdsxKzz6zwpTZYLLQsFwc+K0daArPdIhuxkw=
1058-
go.opentelemetry.io/otel/sdk/metric v1.25.0 h1:7CiHOy08LbrxMAp4vWpbiPcklunUshVpAvGBrdDRlGw=
1059-
go.opentelemetry.io/otel/sdk/metric v1.25.0/go.mod h1:LzwoKptdbBBdYfvtGCzGwk6GWMA3aUzBOwtQpR6Nz7o=
1060-
go.opentelemetry.io/otel/trace v1.25.0 h1:tqukZGLwQYRIFtSQM2u2+yfMVTgGVeqRLPUYx1Dq6RM=
1061-
go.opentelemetry.io/otel/trace v1.25.0/go.mod h1:hCCs70XM/ljO+BeQkyFnbK28SBIJ/Emuha+ccrCRT7I=
1062-
go.opentelemetry.io/proto/otlp v1.1.0 h1:2Di21piLrCqJ3U3eXGCTPHE9R8Nh+0uglSnOyxikMeI=
1063-
go.opentelemetry.io/proto/otlp v1.1.0/go.mod h1:GpBHCBWiqvVLDqmHZsoMM3C5ySeKTC7ej/RNTae6MdY=
1046+
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
1047+
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
1048+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFgvUr3/O4PHj3VQcFEuYKvRZJX1SJDQ+11JXuSB3/w=
1049+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
1050+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
1051+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
1052+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
1053+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
1054+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s=
1055+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY=
1056+
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
1057+
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
1058+
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
1059+
go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
1060+
go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
1061+
go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
1062+
go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
1063+
go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
1064+
go.opentelemetry.io/proto/otlp v1.2.0 h1:pVeZGk7nXDC9O2hncA6nHldxEjm6LByfA2aN8IOkz94=
1065+
go.opentelemetry.io/proto/otlp v1.2.0/go.mod h1:gGpR8txAl5M03pDhMC79G6SdqNV26naRm/KDsgaHD8A=
10641066
go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
10651067
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
10661068
go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
@@ -1463,10 +1465,10 @@ google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7Fc
14631465
google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
14641466
google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
14651467
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
1466-
google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
1467-
google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
1468-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
1469-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
1468+
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
1469+
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
1470+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI=
1471+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
14701472
google.golang.org/grpc v1.0.5/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
14711473
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
14721474
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
@@ -1509,8 +1511,6 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EV
15091511
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
15101512
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
15111513
gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo=
1512-
gopkg.in/h2non/gock.v1 v1.1.2 h1:jBbHXgGBK/AoPVfJh5x4r/WxIrElvbLel8TCZkkZJoY=
1513-
gopkg.in/h2non/gock.v1 v1.1.2/go.mod h1:n7UGz/ckNChHiK05rDoiC4MYSunEC/lyaUm2WWaDva0=
15141514
gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s=
15151515
gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
15161516
gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=

internal/branches/create/create_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ import (
66
"net/http"
77
"testing"
88

9+
"github.com/h2non/gock"
910
"github.com/spf13/afero"
1011
"github.com/stretchr/testify/assert"
1112
"github.com/stretchr/testify/require"
1213
"github.com/supabase/cli/internal/testing/apitest"
1314
"github.com/supabase/cli/internal/utils"
1415
"github.com/supabase/cli/internal/utils/flags"
1516
"github.com/supabase/cli/pkg/api"
16-
"gopkg.in/h2non/gock.v1"
1717
)
1818

1919
func TestCreateCommand(t *testing.T) {

internal/db/branch/create/create_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import (
66
"testing"
77

88
"github.com/docker/docker/api/types"
9+
"github.com/h2non/gock"
910
"github.com/spf13/afero"
1011
"github.com/stretchr/testify/assert"
1112
"github.com/stretchr/testify/require"
1213
"github.com/supabase/cli/internal/testing/apitest"
1314
"github.com/supabase/cli/internal/utils"
14-
"gopkg.in/h2non/gock.v1"
1515
)
1616

1717
func TestBranchValidation(t *testing.T) {

internal/db/branch/delete/delete_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import (
55
"path/filepath"
66
"testing"
77

8+
"github.com/h2non/gock"
89
"github.com/spf13/afero"
910
"github.com/stretchr/testify/assert"
1011
"github.com/stretchr/testify/require"
1112
"github.com/supabase/cli/internal/testing/apitest"
1213
"github.com/supabase/cli/internal/utils"
13-
"gopkg.in/h2non/gock.v1"
1414
)
1515

1616
func TestBranchDir(t *testing.T) {

internal/db/branch/switch_/switch__test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ import (
99
"testing"
1010

1111
"github.com/docker/docker/api/types"
12+
"github.com/h2non/gock"
1213
"github.com/jackc/pgerrcode"
1314
"github.com/spf13/afero"
1415
"github.com/stretchr/testify/assert"
1516
"github.com/stretchr/testify/require"
1617
"github.com/supabase/cli/internal/testing/apitest"
1718
"github.com/supabase/cli/internal/testing/pgtest"
1819
"github.com/supabase/cli/internal/utils"
19-
"gopkg.in/h2non/gock.v1"
2020
)
2121

2222
func TestSwitchCommand(t *testing.T) {

internal/db/diff/diff_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"time"
1212

1313
"github.com/docker/docker/api/types"
14+
"github.com/h2non/gock"
1415
"github.com/jackc/pgconn"
1516
"github.com/jackc/pgerrcode"
1617
"github.com/spf13/afero"
@@ -23,7 +24,6 @@ import (
2324
"github.com/supabase/cli/internal/testing/fstest"
2425
"github.com/supabase/cli/internal/testing/pgtest"
2526
"github.com/supabase/cli/internal/utils"
26-
"gopkg.in/h2non/gock.v1"
2727
)
2828

2929
var dbConfig = pgconn.Config{

internal/db/dump/dump_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import (
55
"net/http"
66
"testing"
77

8+
"github.com/h2non/gock"
89
"github.com/jackc/pgconn"
910
"github.com/spf13/afero"
1011
"github.com/stretchr/testify/assert"
1112
"github.com/stretchr/testify/require"
1213
"github.com/supabase/cli/internal/testing/apitest"
1314
"github.com/supabase/cli/internal/utils"
14-
"gopkg.in/h2non/gock.v1"
1515
)
1616

1717
var dbConfig = pgconn.Config{

internal/db/lint/lint_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"testing"
99

1010
"github.com/docker/docker/api/types"
11+
"github.com/h2non/gock"
1112
"github.com/jackc/pgconn"
1213
"github.com/jackc/pgerrcode"
1314
"github.com/spf13/afero"
@@ -16,7 +17,6 @@ import (
1617
"github.com/supabase/cli/internal/testing/apitest"
1718
"github.com/supabase/cli/internal/testing/pgtest"
1819
"github.com/supabase/cli/internal/utils"
19-
"gopkg.in/h2non/gock.v1"
2020
)
2121

2222
var dbConfig = pgconn.Config{

internal/db/pull/pull_test.go

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

10+
"github.com/h2non/gock"
1011
"github.com/jackc/pgconn"
1112
"github.com/jackc/pgerrcode"
1213
"github.com/spf13/afero"
@@ -18,7 +19,6 @@ import (
1819
"github.com/supabase/cli/internal/testing/fstest"
1920
"github.com/supabase/cli/internal/testing/pgtest"
2021
"github.com/supabase/cli/internal/utils"
21-
"gopkg.in/h2non/gock.v1"
2222
)
2323

2424
var dbConfig = pgconn.Config{

internal/db/reset/reset_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
"time"
1111

1212
"github.com/docker/docker/api/types"
13+
"github.com/h2non/gock"
1314
"github.com/jackc/pgconn"
1415
"github.com/jackc/pgerrcode"
1516
"github.com/spf13/afero"
@@ -20,7 +21,6 @@ import (
2021
"github.com/supabase/cli/internal/testing/fstest"
2122
"github.com/supabase/cli/internal/testing/pgtest"
2223
"github.com/supabase/cli/internal/utils"
23-
"gopkg.in/h2non/gock.v1"
2424
)
2525

2626
func TestResetCommand(t *testing.T) {

internal/db/start/start_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ import (
1010

1111
"github.com/docker/docker/api/types"
1212
"github.com/docker/docker/api/types/volume"
13+
"github.com/h2non/gock"
1314
"github.com/spf13/afero"
1415
"github.com/stretchr/testify/assert"
1516
"github.com/stretchr/testify/require"
1617
"github.com/supabase/cli/internal/testing/apitest"
1718
"github.com/supabase/cli/internal/testing/fstest"
1819
"github.com/supabase/cli/internal/testing/pgtest"
1920
"github.com/supabase/cli/internal/utils"
20-
"gopkg.in/h2non/gock.v1"
2121
)
2222

2323
func TestInitBranch(t *testing.T) {

internal/db/test/test_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"errors"
66
"testing"
77

8+
"github.com/h2non/gock"
89
"github.com/jackc/pgconn"
910
"github.com/jackc/pgerrcode"
1011
"github.com/spf13/afero"
@@ -13,7 +14,6 @@ import (
1314
"github.com/supabase/cli/internal/testing/apitest"
1415
"github.com/supabase/cli/internal/testing/pgtest"
1516
"github.com/supabase/cli/internal/utils"
16-
"gopkg.in/h2non/gock.v1"
1717
)
1818

1919
var dbConfig = pgconn.Config{

internal/encryption/get/get_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import (
55
"net/http"
66
"testing"
77

8+
"github.com/h2non/gock"
89
"github.com/stretchr/testify/assert"
910
"github.com/supabase/cli/internal/testing/apitest"
1011
"github.com/supabase/cli/internal/utils"
1112
"github.com/supabase/cli/pkg/api"
12-
"gopkg.in/h2non/gock.v1"
1313
)
1414

1515
func TestGetRootKey(t *testing.T) {

internal/encryption/update/update_test.go

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

9+
"github.com/h2non/gock"
910
"github.com/stretchr/testify/assert"
1011
"github.com/stretchr/testify/require"
1112
"github.com/supabase/cli/internal/testing/apitest"
1213
"github.com/supabase/cli/internal/utils"
1314
"github.com/supabase/cli/pkg/api"
14-
"gopkg.in/h2non/gock.v1"
1515
)
1616

1717
func TestUpdateRootKey(t *testing.T) {

internal/functions/delete/delete_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import (
66
"net/http"
77
"testing"
88

9+
"github.com/h2non/gock"
910
"github.com/spf13/afero"
1011
"github.com/stretchr/testify/assert"
1112
"github.com/supabase/cli/internal/testing/apitest"
1213
"github.com/supabase/cli/internal/utils"
13-
"gopkg.in/h2non/gock.v1"
1414
)
1515

1616
func TestDeleteCommand(t *testing.T) {

internal/functions/deploy/deploy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ import (
1212
"strings"
1313
"testing"
1414

15+
"github.com/h2non/gock"
1516
"github.com/spf13/afero"
1617
"github.com/stretchr/testify/assert"
1718
"github.com/stretchr/testify/require"
1819
"github.com/supabase/cli/internal/testing/apitest"
1920
"github.com/supabase/cli/internal/utils"
2021
"github.com/supabase/cli/pkg/api"
21-
"gopkg.in/h2non/gock.v1"
2222
)
2323

2424
func TestDeployOne(t *testing.T) {

0 commit comments

Comments
 (0)