aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/ccojocar
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-03-04 17:40:11 +0000
committerTaras Madan <tarasmadan@google.com>2024-03-04 18:34:55 +0000
commit5fc5366972c874b919f93165bb4ed4e2bcb7c350 (patch)
tree287c3361a0dee0c72af80d9a1a66714a06e98a62 /vendor/github.com/ccojocar
parent1be5ce38a9059c356eb193a8c34d60d61c9fc31f (diff)
mod: bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.2
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.55.2 to 1.56.2. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](https://github.com/golangci/golangci-lint/compare/v1.55.2...v1.56.2) --- updated-dependencies: - dependency-name: github.com/golangci/golangci-lint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/github.com/ccojocar')
-rw-r--r--vendor/github.com/ccojocar/zxcvbn-go/match/match.go3
-rw-r--r--vendor/github.com/ccojocar/zxcvbn-go/renovate.json25
-rw-r--r--vendor/github.com/ccojocar/zxcvbn-go/scoring/scoring.go3
3 files changed, 27 insertions, 4 deletions
diff --git a/vendor/github.com/ccojocar/zxcvbn-go/match/match.go b/vendor/github.com/ccojocar/zxcvbn-go/match/match.go
index 998dde111..da3e894ec 100644
--- a/vendor/github.com/ccojocar/zxcvbn-go/match/match.go
+++ b/vendor/github.com/ccojocar/zxcvbn-go/match/match.go
@@ -16,9 +16,8 @@ func (s Matches) Less(i, j int) bool {
return true
} else if s[i].I == s[j].I {
return s[i].J < s[j].J
- } else {
- return false
}
+ return false
}
// Match represents different matches
diff --git a/vendor/github.com/ccojocar/zxcvbn-go/renovate.json b/vendor/github.com/ccojocar/zxcvbn-go/renovate.json
new file mode 100644
index 000000000..58ee1e0ea
--- /dev/null
+++ b/vendor/github.com/ccojocar/zxcvbn-go/renovate.json
@@ -0,0 +1,25 @@
+{
+ "dependencyDashboard": true,
+ "dependencyDashboardTitle" : "Renovate(bot) : dependency dashboard",
+ "vulnerabilityAlerts": {
+ "enabled": true
+ },
+ "extends": [
+ ":preserveSemverRanges",
+ "group:all",
+ "schedule:weekly"
+ ],
+ "lockFileMaintenance": {
+ "commitMessageAction": "Update",
+ "enabled": true,
+ "extends": [
+ "group:all",
+ "schedule:weekly"
+ ]
+ },
+ "postUpdateOptions": [
+ "gomodTidy",
+ "gomodUpdateImportPaths"
+ ],
+ "separateMajorMinor": false
+}
diff --git a/vendor/github.com/ccojocar/zxcvbn-go/scoring/scoring.go b/vendor/github.com/ccojocar/zxcvbn-go/scoring/scoring.go
index dbe331884..f25606a8d 100644
--- a/vendor/github.com/ccojocar/zxcvbn-go/scoring/scoring.go
+++ b/vendor/github.com/ccojocar/zxcvbn-go/scoring/scoring.go
@@ -161,9 +161,8 @@ func displayTime(seconds float64) string {
return fmt.Sprintf(formater, (1 + math.Ceil(seconds/month)), "months")
} else if seconds < century {
return fmt.Sprintf(formater, (1 + math.Ceil(seconds/century)), "years")
- } else {
- return "centuries"
}
+ return "centuries"
}
func crackTimeToScore(seconds float64) int {