From 1683acaece328e402ca33429117fa07e934a207a Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 31 Jan 2025 13:55:57 +0000
Subject: [PATCH 1/3] Bump github.com/spf13/pflag from 1.0.5 to 1.0.6

Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](https://github.com/spf13/pflag/compare/v1.0.5...v1.0.6)

---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
---
 go.mod | 2 +-
 go.sum | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/go.mod b/go.mod
index f881ca2f..eaebc667 100644
--- a/go.mod
+++ b/go.mod
@@ -16,7 +16,7 @@ require (
 	github.com/ory/jsonschema/v3 v3.0.4
 	github.com/sirupsen/logrus v1.9.3
 	github.com/spf13/cobra v1.8.1
-	github.com/spf13/pflag v1.0.5
+	github.com/spf13/pflag v1.0.6
 	github.com/stretchr/testify v1.10.0
 	github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb
 	github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
diff --git a/go.sum b/go.sum
index fc4daf3a..e22d38c9 100644
--- a/go.sum
+++ b/go.sum
@@ -1223,8 +1223,9 @@ github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bd
 github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
 github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
 github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
-github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
 github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
+github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
 github.com/spf13/viper v1.2.1/go.mod h1:P4AexN0a+C9tGAnUFNwDMYYZv3pjFuvmeiMyKRaNVlI=
 github.com/spf13/viper v1.3.1/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
 github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=

From 9fb2026371e5a7d533bf2e40788858e88cd734c8 Mon Sep 17 00:00:00 2001
From: per1234 <accounts@perglass.com>
Date: Fri, 31 Jan 2025 06:10:01 -0800
Subject: [PATCH 2/3] Tidy dependent modules to reflect
 `github.com/spf13/pflag` bump

The bump of the dependency of the project's root `github.com/arduino/arduino-lint` module also requires updates to the
Go dependencies metadata of the project's modules which depend on `github.com/arduino/arduino-lint`.
---
 docsgen/go.mod     | 2 +-
 docsgen/go.sum     | 3 ++-
 ruledocsgen/go.mod | 2 +-
 ruledocsgen/go.sum | 3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/docsgen/go.mod b/docsgen/go.mod
index 9557ecee..9165e241 100644
--- a/docsgen/go.mod
+++ b/docsgen/go.mod
@@ -80,7 +80,7 @@ require (
 	github.com/spf13/afero v1.10.0 // indirect
 	github.com/spf13/cast v1.5.1 // indirect
 	github.com/spf13/jwalterweatherman v1.1.0 // indirect
-	github.com/spf13/pflag v1.0.5 // indirect
+	github.com/spf13/pflag v1.0.6 // indirect
 	github.com/spf13/viper v1.17.0 // indirect
 	github.com/sqs/goreturns v0.0.0-20181028201513-538ac6014518 // indirect
 	github.com/stretchr/testify v1.10.0 // indirect
diff --git a/docsgen/go.sum b/docsgen/go.sum
index 19a69d99..26bfe38c 100644
--- a/docsgen/go.sum
+++ b/docsgen/go.sum
@@ -1225,8 +1225,9 @@ github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bd
 github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
 github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
 github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
-github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
 github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
+github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
 github.com/spf13/viper v1.2.1/go.mod h1:P4AexN0a+C9tGAnUFNwDMYYZv3pjFuvmeiMyKRaNVlI=
 github.com/spf13/viper v1.3.1/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
 github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
diff --git a/ruledocsgen/go.mod b/ruledocsgen/go.mod
index 56ba6293..19118e0f 100644
--- a/ruledocsgen/go.mod
+++ b/ruledocsgen/go.mod
@@ -77,7 +77,7 @@ require (
 	github.com/spf13/cast v1.5.1 // indirect
 	github.com/spf13/cobra v1.8.1 // indirect
 	github.com/spf13/jwalterweatherman v1.1.0 // indirect
-	github.com/spf13/pflag v1.0.5 // indirect
+	github.com/spf13/pflag v1.0.6 // indirect
 	github.com/spf13/viper v1.17.0 // indirect
 	github.com/sqs/goreturns v0.0.0-20181028201513-538ac6014518 // indirect
 	github.com/subosito/gotenv v1.6.0 // indirect
diff --git a/ruledocsgen/go.sum b/ruledocsgen/go.sum
index 8e485932..5523008b 100644
--- a/ruledocsgen/go.sum
+++ b/ruledocsgen/go.sum
@@ -1229,8 +1229,9 @@ github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bd
 github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
 github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
 github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
-github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
 github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
+github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
 github.com/spf13/viper v1.2.1/go.mod h1:P4AexN0a+C9tGAnUFNwDMYYZv3pjFuvmeiMyKRaNVlI=
 github.com/spf13/viper v1.3.1/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
 github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=

From 925398539a660ce37bd28c3111d3edac9efad288 Mon Sep 17 00:00:00 2001
From: per1234 <accounts@perglass.com>
Date: Fri, 31 Jan 2025 06:52:20 -0800
Subject: [PATCH 3/3] Update dependency license metadata cache for
 `github.com/spf13/pflag` bump

---
 .licenses/arduino-lint/go/github.com/spf13/pflag.dep.yml | 2 +-
 .licenses/docsgen/go/github.com/spf13/pflag.dep.yml      | 2 +-
 .licenses/ruledocsgen/go/github.com/spf13/pflag.dep.yml  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.licenses/arduino-lint/go/github.com/spf13/pflag.dep.yml b/.licenses/arduino-lint/go/github.com/spf13/pflag.dep.yml
index c0bf7c43..fd6fa370 100644
--- a/.licenses/arduino-lint/go/github.com/spf13/pflag.dep.yml
+++ b/.licenses/arduino-lint/go/github.com/spf13/pflag.dep.yml
@@ -1,6 +1,6 @@
 ---
 name: github.com/spf13/pflag
-version: v1.0.5
+version: v1.0.6
 type: go
 summary: Package pflag is a drop-in replacement for Go's flag package, implementing
   POSIX/GNU-style --flags.
diff --git a/.licenses/docsgen/go/github.com/spf13/pflag.dep.yml b/.licenses/docsgen/go/github.com/spf13/pflag.dep.yml
index c0bf7c43..fd6fa370 100644
--- a/.licenses/docsgen/go/github.com/spf13/pflag.dep.yml
+++ b/.licenses/docsgen/go/github.com/spf13/pflag.dep.yml
@@ -1,6 +1,6 @@
 ---
 name: github.com/spf13/pflag
-version: v1.0.5
+version: v1.0.6
 type: go
 summary: Package pflag is a drop-in replacement for Go's flag package, implementing
   POSIX/GNU-style --flags.
diff --git a/.licenses/ruledocsgen/go/github.com/spf13/pflag.dep.yml b/.licenses/ruledocsgen/go/github.com/spf13/pflag.dep.yml
index c0bf7c43..fd6fa370 100644
--- a/.licenses/ruledocsgen/go/github.com/spf13/pflag.dep.yml
+++ b/.licenses/ruledocsgen/go/github.com/spf13/pflag.dep.yml
@@ -1,6 +1,6 @@
 ---
 name: github.com/spf13/pflag
-version: v1.0.5
+version: v1.0.6
 type: go
 summary: Package pflag is a drop-in replacement for Go's flag package, implementing
   POSIX/GNU-style --flags.