Skip to content

Commit f5ad4de

Browse files
authored
Updated Packages & versions (#3525)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
1 parent 6499469 commit f5ad4de

File tree

6 files changed

+143
-58
lines changed

6 files changed

+143
-58
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,6 @@ public.crt
4848
*.code-workspace
4949
*~
5050
.eslintcache
51+
52+
# Ignore Bin files
53+
bin/

.golangci.bck.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
linters-settings:
2+
misspell:
3+
locale: US
4+
testifylint:
5+
disable:
6+
- go-require
7+
staticcheck:
8+
checks:
9+
[
10+
"all",
11+
"-ST1005",
12+
"-ST1000",
13+
"-SA4000",
14+
"-SA9004",
15+
"-SA1019",
16+
"-SA1008",
17+
"-U1000",
18+
"-ST1016",
19+
]
20+
goheader:
21+
values:
22+
regexp:
23+
copyright-holder: Copyright \(c\) (20\d\d\-20\d\d)|2021|({{year}})
24+
template-path: .license.tmpl
25+
26+
linters:
27+
disable-all: true
28+
enable:
29+
- goimports
30+
- misspell
31+
- govet
32+
- revive
33+
- ineffassign
34+
- gosimple
35+
- gomodguard
36+
- gofmt
37+
- unused
38+
- staticcheck
39+
- unconvert
40+
- gocritic
41+
- gofumpt
42+
- durationcheck
43+
44+
issues:
45+
exclude-use-default: false
46+
exclude:
47+
- should have a package comment
48+
# TODO(y4m4): Remove once all exported ident. have comments!
49+
- comment on exported function
50+
- comment on exported type
51+
- should have comment
52+
- use leading k in Go names
53+
- comment on exported const
54+
exclude-dirs:
55+
- api/operations

.golangci.yml

Lines changed: 66 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,73 @@
1-
linters-settings:
2-
golint:
3-
min-confidence: 0
4-
5-
misspell:
6-
locale: US
7-
8-
goheader:
9-
values:
10-
regexp:
11-
copyright-holder: Copyright \(c\) (20\d\d\-20\d\d)|2021|({{year}})
12-
template-path: .license.tmpl
13-
1+
version: "2"
142
linters:
15-
disable-all: true
3+
default: none
164
enable:
17-
- goimports
18-
- misspell
5+
- durationcheck
6+
- gocritic
7+
- gomodguard
198
- govet
20-
- revive
219
- ineffassign
22-
- gosimple
23-
- gomodguard
24-
- gofmt
25-
- unused
10+
- misspell
11+
- revive
2612
- staticcheck
2713
- unconvert
28-
- gocritic
14+
- unused
15+
settings:
16+
goheader:
17+
values:
18+
regexp:
19+
copyright-holder: Copyright \(c\) (20\d\d\-20\d\d)|2021|({{year}})
20+
template-path: .license.tmpl
21+
misspell:
22+
locale: US
23+
staticcheck:
24+
checks:
25+
- all
26+
- -QF1001
27+
- -QF1008
28+
- -QF1010
29+
- -QF1012
30+
- -SA1008
31+
- -SA1019
32+
- -SA4000
33+
- -SA9004
34+
- -ST1000
35+
- -ST1005
36+
- -ST1016
37+
- -ST1019
38+
- -U1000
39+
testifylint:
40+
disable:
41+
- go-require
42+
exclusions:
43+
generated: lax
44+
rules:
45+
- path: (.+)\.go$
46+
text: should have a package comment
47+
- path: (.+)\.go$
48+
text: comment on exported function
49+
- path: (.+)\.go$
50+
text: comment on exported type
51+
- path: (.+)\.go$
52+
text: should have comment
53+
- path: (.+)\.go$
54+
text: use leading k in Go names
55+
- path: (.+)\.go$
56+
text: comment on exported const
57+
paths:
58+
- api/operations
59+
- third_party$
60+
- builtin$
61+
- examples$
62+
formatters:
63+
enable:
64+
- gofmt
2965
- gofumpt
30-
- durationcheck
31-
32-
service:
33-
golangci-lint-version: 1.43.0 # use the fixed version to not introduce new linters unexpectedly
34-
35-
issues:
36-
exclude-use-default: false
37-
exclude:
38-
- should have a package comment
39-
# TODO(y4m4): Remove once all exported ident. have comments!
40-
- comment on exported function
41-
- comment on exported type
42-
- should have comment
43-
- use leading k in Go names
44-
- comment on exported const
45-
exclude-dirs:
46-
- api/operations
66+
- goimports
67+
exclusions:
68+
generated: lax
69+
paths:
70+
- api/operations
71+
- third_party$
72+
- builtin$
73+
- examples$

pkg/logger/logger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ func applyDynamicConfigForSubSys(ctx context.Context, transport *http.Transport,
406406

407407
err = UpdateAuditWebhookTargets(loggerCfg)
408408
if err != nil {
409-
LogIf(ctx, fmt.Errorf("Unable to update audit webhook targets: %w", err))
409+
LogIf(ctx, fmt.Errorf("unable to update audit webhook targets: %w", err))
410410
return err
411411
}
412412
}

web-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"local-storage-fallback": "^4.1.3",
1313
"lodash": "^4.17.21",
1414
"luxon": "^3.5.0",
15-
"mds": "https://github.com/minio/mds.git#v1.1.1",
15+
"mds": "https://github.com/minio/mds.git#v1.1.2",
1616
"react": "^18.3.1",
1717
"react-copy-to-clipboard": "^5.1.0",
1818
"react-dom": "^18.3.1",

web-app/yarn.lock

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2924,32 +2924,32 @@ __metadata:
29242924
languageName: node
29252925
linkType: hard
29262926

2927-
"@storybook/instrumenter@npm:8.6.0":
2928-
version: 8.6.0
2929-
resolution: "@storybook/instrumenter@npm:8.6.0"
2927+
"@storybook/instrumenter@npm:8.6.12":
2928+
version: 8.6.12
2929+
resolution: "@storybook/instrumenter@npm:8.6.12"
29302930
dependencies:
29312931
"@storybook/global": "npm:^5.0.0"
29322932
"@vitest/utils": "npm:^2.1.1"
29332933
peerDependencies:
2934-
storybook: ^8.6.0
2935-
checksum: 10c0/755c03a4062f05b66d92555dcf40dce44c1a176bd44ad470d92ce85e40e394b9fb1f1e8642233db945a07ce9fd8a2ff1a636b13d0b482eec21ce6b26b53a1528
2934+
storybook: ^8.6.12
2935+
checksum: 10c0/4cf02774bd5fb9dbc095a78eb4ee6848928fc7d17bdec7c656bb5ab21382533c8e0c219c1e253d48b652707d10d2566f1d6fc8bd37196acd21ee342522c007d1
29362936
languageName: node
29372937
linkType: hard
29382938

2939-
"@storybook/test@npm:^8.6.0":
2940-
version: 8.6.0
2941-
resolution: "@storybook/test@npm:8.6.0"
2939+
"@storybook/test@npm:^8.6.11":
2940+
version: 8.6.12
2941+
resolution: "@storybook/test@npm:8.6.12"
29422942
dependencies:
29432943
"@storybook/global": "npm:^5.0.0"
2944-
"@storybook/instrumenter": "npm:8.6.0"
2944+
"@storybook/instrumenter": "npm:8.6.12"
29452945
"@testing-library/dom": "npm:10.4.0"
29462946
"@testing-library/jest-dom": "npm:6.5.0"
29472947
"@testing-library/user-event": "npm:14.5.2"
29482948
"@vitest/expect": "npm:2.0.5"
29492949
"@vitest/spy": "npm:2.0.5"
29502950
peerDependencies:
2951-
storybook: ^8.6.0
2952-
checksum: 10c0/95856fb73b13780a046c6fc2b825735d7e2f1a6978a3464d30caa1e7af1fbc8a3f1b3feb2a216a094331ef81af159aca6085050b859e13521d65810d9cb6c88b
2951+
storybook: ^8.6.12
2952+
checksum: 10c0/3717cc21d840e5900458debe3414b179d088b4973054933d355d6916344cb1857dd02ab8d1ff168f48fb8038f14da99e0a62a7f678e557bdbe3a2c225ce162f3
29532953
languageName: node
29542954
linkType: hard
29552955

@@ -11596,19 +11596,19 @@ __metadata:
1159611596
languageName: node
1159711597
linkType: hard
1159811598

11599-
"mds@https://github.com/minio/mds.git#v1.1.1":
11600-
version: 1.1.1
11601-
resolution: "mds@https://github.com/minio/mds.git#commit=0c686b93327a3b8a7fda6e0ec211c0a32a059b65"
11599+
"mds@https://github.com/minio/mds.git#v1.1.2":
11600+
version: 1.1.2
11601+
resolution: "mds@https://github.com/minio/mds.git#commit=bb587d4e1dc55703a2b3ed6ff9672d503a3c2bee"
1160211602
dependencies:
11603-
"@storybook/test": "npm:^8.6.0"
11603+
"@storybook/test": "npm:^8.6.11"
1160411604
"@types/styled-components": "npm:^5.1.34"
1160511605
"@uiw/react-textarea-code-editor": "npm:^3.1.0"
1160611606
detect-gpu: "npm:^5.0.70"
1160711607
luxon: "npm:^3.5.0"
1160811608
react-calendar: "npm:^5.1.0"
1160911609
react-virtualized: "npm:^9.22.6"
1161011610
styled-components: "npm:^5.3.11"
11611-
checksum: 10c0/e693c8dd0321f9d77c28ddad5098408c7ed694fe7adf6acb4e7abcab6bfcb4eeba90ce22e9139d5df40adaabd95724601a1a326c5aff2abefbe2284947fdbe99
11611+
checksum: 10c0/e121fb56d54a514eb0f079c0065ed3af68107656cf400833c8804a5e21830c6341e57f1fc7203b1f109347814cd08ff787e855e190eafee2cbf3a03dc66a1791
1161211612
languageName: node
1161311613
linkType: hard
1161411614

@@ -17940,7 +17940,7 @@ __metadata:
1794017940
local-storage-fallback: "npm:^4.1.3"
1794117941
lodash: "npm:^4.17.21"
1794217942
luxon: "npm:^3.5.0"
17943-
mds: "https://github.com/minio/mds.git#v1.1.1"
17943+
mds: "https://github.com/minio/mds.git#v1.1.2"
1794417944
minio: "npm:^8.0.4"
1794517945
nyc: "npm:^15.1.0"
1794617946
prettier: "npm:3.5.1"

0 commit comments

Comments
 (0)