From 3214e1c8d199111a1c08c3112a96cdb9492dc1fa Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 13 Dec 2023 16:29:48 +0000 Subject: [PATCH 1/2] Update github/codeql-action action to v3 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index df8250c..3c0569f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -98,7 +98,7 @@ jobs: output: "trivy-results.sarif" - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: "trivy-results.sarif" From 0f5fb28d30950ddcbc252e1956aa08f366a191b4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Wed, 13 Dec 2023 16:30:13 +0000 Subject: [PATCH 2/2] [CI] Format Code! Format code using Prettier --- theme/highlight.js | 48 +++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/theme/highlight.js b/theme/highlight.js index 3f95a2d..c2ce700 100644 --- a/theme/highlight.js +++ b/theme/highlight.js @@ -88,11 +88,11 @@ var hljs = (function () { ? e : n : "start" === n[0].event - ? e - : n + ? e + : n : e.length - ? e - : n; + ? e + : n; } function c(e) { s += @@ -369,10 +369,10 @@ var hljs = (function () { return n ? +n : (function (e) { - return N.includes(e.toLowerCase()); - })(e) - ? 0 - : 1; + return N.includes(e.toLowerCase()); + })(e) + ? 0 + : 1; } const R = t, y = r, @@ -798,20 +798,20 @@ var hljs = (function () { e.cached_variants ? e.cached_variants : (function e(n) { - return ( - !!n && - (n.endsWithParent || - e(n.starts)) - ); - })(e) - ? r(e, { - starts: e.starts - ? r(e.starts) - : null, - }) - : Object.isFrozen(e) - ? r(e) - : e + return ( + !!n && + (n.endsWithParent || + e(n.starts)) + ); + })(e) + ? r(e, { + starts: e.starts + ? r(e.starts) + : null, + }) + : Object.isFrozen(e) + ? r(e) + : e ); })("self" === e ? s : e); }), @@ -946,8 +946,8 @@ var hljs = (function () { ? "
" : e : f.tabReplace - ? e.replace(/\t/g, f.tabReplace) - : e, + ? e.replace(/\t/g, f.tabReplace) + : e, ) : e; }