From eb1f24d301b25c1f06189a307e5a8d5d4b5777af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jan 2022 05:24:10 +0000 Subject: [PATCH 1/3] Bump github.com/JohannesKaufmann/html-to-markdown in /ruledocsgen Bumps [github.com/JohannesKaufmann/html-to-markdown](https://github.com/JohannesKaufmann/html-to-markdown) from 1.3.0 to 1.3.1. - [Release notes](https://github.com/JohannesKaufmann/html-to-markdown/releases) - [Commits](https://github.com/JohannesKaufmann/html-to-markdown/compare/v1.3.0...v1.3.1) --- updated-dependencies: - dependency-name: github.com/JohannesKaufmann/html-to-markdown dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- ruledocsgen/go.mod | 2 +- ruledocsgen/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruledocsgen/go.mod b/ruledocsgen/go.mod index 5e2e1f442..42b579db9 100644 --- a/ruledocsgen/go.mod +++ b/ruledocsgen/go.mod @@ -7,7 +7,7 @@ replace github.com/arduino/arduino-lint => ../ replace github.com/jandelgado/gcov2lcov => github.com/jandelgado/gcov2lcov v1.0.5 // v1.0.4 causes Dependabot updates to fail due to checksum mismatch (likely a moved tag). This is an unused transitive dependency, so version is irrelevant. require ( - github.com/JohannesKaufmann/html-to-markdown v1.3.0 + github.com/JohannesKaufmann/html-to-markdown v1.3.1 github.com/arduino/arduino-lint v0.0.0 github.com/arduino/go-paths-helper v1.6.1 github.com/olekukonko/tablewriter v0.0.5 diff --git a/ruledocsgen/go.sum b/ruledocsgen/go.sum index 8fa508e8f..1dcda1243 100644 --- a/ruledocsgen/go.sum +++ b/ruledocsgen/go.sum @@ -56,8 +56,8 @@ github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/datadog-go v4.0.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/GeertJohan/go.incremental v1.0.0/go.mod h1:6fAjUhbVuX1KcMD3c8TEgVUqmo4seqhv0i0kdATSkM0= -github.com/JohannesKaufmann/html-to-markdown v1.3.0 h1:K/p4cq8Ib13hcSVcKQNfKCSWw93CYW5pAjY0fl85has= -github.com/JohannesKaufmann/html-to-markdown v1.3.0/go.mod h1:JNSClIRYICFDiFhw6RBhBeWGnMSSKVZ6sPQA+TK4tyM= +github.com/JohannesKaufmann/html-to-markdown v1.3.1 h1:1D6HyQBKoL2YE/5UuLNQQ2pVk3b1CWDDP1Mfevsi5o0= +github.com/JohannesKaufmann/html-to-markdown v1.3.1/go.mod h1:JNSClIRYICFDiFhw6RBhBeWGnMSSKVZ6sPQA+TK4tyM= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/semver/v3 v3.0.3/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= From 7c11520777726849d3f7ea01fc84b3451b6acb9b Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 16 Jan 2022 23:42:21 -0800 Subject: [PATCH 2/3] Update dependency license cache for github.com/JohannesKaufmann/html-to-markdown/escape bump --- .../JohannesKaufmann/html-to-markdown/escape.dep.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.licenses/go/github.com/JohannesKaufmann/html-to-markdown/escape.dep.yml b/.licenses/go/github.com/JohannesKaufmann/html-to-markdown/escape.dep.yml index b50027e5d..555b1d58c 100644 --- a/.licenses/go/github.com/JohannesKaufmann/html-to-markdown/escape.dep.yml +++ b/.licenses/go/github.com/JohannesKaufmann/html-to-markdown/escape.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/JohannesKaufmann/html-to-markdown/escape -version: v1.3.0 +version: v1.3.1 type: go summary: Package escape escapes characters that are commonly used in markdown like the * for strong/italic. homepage: https://pkg.go.dev/github.com/JohannesKaufmann/html-to-markdown/escape license: mit licenses: -- sources: html-to-markdown@v1.3.0/LICENSE +- sources: html-to-markdown@v1.3.1/LICENSE text: | MIT License @@ -30,6 +30,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: html-to-markdown@v1.3.0/README.md +- sources: html-to-markdown@v1.3.1/README.md text: This project is licensed under the terms of the MIT license. notices: [] From da439f0b6e2aefe65a4e951a38b12fc2c2e61ae4 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 16 Jan 2022 23:55:19 -0800 Subject: [PATCH 3/3] Update golden master data for ruledocsgen module unit tests The `github.com/arduino/arduino-lint/ruledocsgen` module contained in this repository uses the `github.com/JohannesKaufmann/html-to-markdown/escape` package to escape rule configuration data to make it safe for inclusion in Markdown files. Escaping has been enhanced in the `github.com/JohannesKaufmann/html-to-markdown@1.3.1` release, which caused the output under test to no longer match the golden master. The golden master is hereby brought into sync with the valid and expected output when using the updated dependency. --- ruledocsgen/testdata/golden/package-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruledocsgen/testdata/golden/package-index.md b/ruledocsgen/testdata/golden/package-index.md index 022bde52d..7ef881378 100644 --- a/ruledocsgen/testdata/golden/package-index.md +++ b/ruledocsgen/testdata/golden/package-index.md @@ -4,7 +4,7 @@ Arduino Lint provides 1 rules for the [`package-index`](https://arduino.github.i -## packages[\*].name missing (`IA004`) +## packages\[\*\].name missing (`IA004`) The package index has a package without a `name` property.