Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Snyk] Upgrade highlight.js from 11.10.0 to 11.11.0 (#154)
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) <h3>Snyk has created this PR to upgrade highlight.js from 11.10.0 to 11.11.0.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> - The recommended version is **1 version** ahead of your current version. - The recommended version was released **a month ago**. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>highlight.js</b></summary> <ul> <li> <b>11.11.0</b> - <a href="https://redirect.github.com/highlightjs/highlight.js/releases/tag/11.11.0">2024-12-14</a></br><h2>Version 11.11.0</h2> <p>CAVEATS / POTENTIALLY BREAKING CHANGES</p> <ul> <li>Nothing.</li> </ul> <p>Core Grammars:</p> <ul> <li>fix(rust) - adds emoji support in single quote strings [joshgoebel][]</li> <li>fix(apache) - support line continuation via <code>\</code> <a href="https://redirect.github.com/joshgoebel">Josh Goebel</a></li> <li>fix(makefile) - allow strings inside <code>$()</code> expressions <a href="https://redirect.github.com/aneesh98">aneesh98</a></li> <li>enh(arcade) updated to ArcGIS Arcade version 1.29 <a href="https://redirect.github.com/ekenes">Kristian Ekenes</a></li> <li>enh(css) add all properties listed on MDN (96 additions including <code>anchor-name</code>, <code>aspect-ratio</code>, <code>backdrop-filter</code>, <code>container</code>, <code>margin-trim</code>, <code>place-content</code>, <code>scroll-timeline</code>, ...) <a href="https://redirect.github.com/BaliBalo">BaliBalo</a></li> <li>enh(excel) add built-in functions for Excel 365 release to 2024 <a href="https://redirect.github.com/dannywinrow">Danny Winrow</a></li> <li>enh(erlang) OTP 27 triple-quoted strings <a href="https://redirect.github.com/nixxquality">nixxquality</a></li> <li>enh(erlang) OTP 27 doc attribute <a href="https://redirect.github.com/nixxquality">nixxquality</a></li> <li>enh(erlang) OTP 27 Sigil type <a href="https://redirect.github.com/nixxquality">nixxquality</a></li> <li>enh(erlang) OTP25/27 maybe statement <a href="https://redirect.github.com/nixxquality">nixxquality</a></li> <li>enh(dart) Support digit-separators in number literals [Sam Rawlins][]</li> <li>enh(csharp) add Contextual keywords <code>file</code>, <code>args</code>, <code>dynamic</code>, <code>record</code>, <code>required</code> and <code>scoped</code> <a href="https://redirect.github.com/alvinsjoy">Alvin Joy</a></li> <li>enh(lua) add 'pluto' as an alias <a href="https://redirect.github.com/Sainan">Sainan</a></li> <li>enh(bash) add reserved keywords <code>time</code> and <code>coproc</code> <a href="https://redirect.github.com/mondeja">Álvaro Mondéjar</a></li> <li>enh(nix) update keywords [h7x4][]</li> <li>enh(nix) support paths [h7x4][]</li> <li>enh(nix) support lookup paths [h7x4][]</li> <li>enh(nix) support operators [h7x4][]</li> <li>enh(nix) support REPL keywords [h7x4][]</li> <li>enh(nix) support markdown comments [h7x4][]</li> <li>enh(nix) support basic function params [h7x4][]</li> <li>enh(nix) better parsing of attrsets [h7x4][]</li> <li>fix(c) - Fixed hex numbers with decimals <a href="https://redirect.github.com/Dxuian">Dxuian</a></li> <li>fix(typescript) - Fixedoptional property not highlighted correctly <a href="https://redirect.github.com/Dxuian">Dxuian</a></li> <li>fix(ruby) - fix <code>|=</code> operator false positives (as block arguments) <a href="https://redirect.github.com/tachyons">Aboobacker MK</a></li> <li>enh(gcode) rewrote language for modern gcode support <a href="https://redirect.github.com/barthy-koeln">Barthélémy Bonhomme</a></li> <li>fix(sql) - Fixed sql primary key and foreign key spacing issue <a href="https://redirect.github.com/Dxuian">Dxuian</a></li> <li>fix(cpp) added flat_set and flat_map as a part of cpp 23 version <a href="https://redirect.github.com/jvlavan">Lavan</a></li> <li>fix(yaml) - Fixed special chars in yaml <a href="https://redirect.github.com/Dxuian">Dxuian</a></li> <li>fix(basic) - Fixed closing quotation marks not required for a PRINT statement <a href="https://redirect.github.com/somya-05">Somya</a></li> <li>fix(nix) remove <code>add</code> builtin [h7x4][]</li> <li>fix(nix) mark <code>or</code> as builtin instead of literal [h7x4][]</li> <li>fix(nix) handle <code>'''</code> string escapes [h7x4][]</li> <li>fix(nix) handle backslash string escapes [h7x4][]</li> <li>fix(nix) don't mix escapes for <code>"</code> and <code>''</code> strings [h7x4][]</li> <li>fix(swift) - Fixed syntax highlighting for class func/var declarations <a href="https://redirect.github.com/guuido">guuido</a></li> <li>fix(yaml) - Fixed wrong escaping behavior in single quoted strings <a href="https://redirect.github.com/guuido">guuido</a></li> <li>enh(nim) - Add <code>concept</code> and <code>defer</code> to list of Nim keywords <a href="https://redirect.github.com/ire4ever1190">Jake Leahy</a></li> </ul> <p>New Grammars:</p> <ul> <li>added 3rd party TTCN-3 grammar to SUPPORTED_LANGUAGES <a href="https://redirect.github.com/osmocom">Osmocom</a></li> <li>added 3rd party Odin grammar to SUPPORTED_LANGUAGES <a href="https://redirect.github.com/clsource">clsource</a></li> <li>added 3rd party Liquid grammar to SUPPORTED_LANGUAGES <a href="https://redirect.github.com/laurelthorburn">Laurel King</a></li> </ul> <p>Developer Tools:</p> <ul> <li>Nothing yet.</li> </ul> <p>Themes:</p> <ul> <li>Added <code>Rosé Pine</code> theme <a href="https://redirect.github.com/wilkinson4">William Wilkinson</a></li> <li>Added <code>Cybertopia Cherry</code> theme <a href="https://redirect.github.com/noraj">Alexandre ZANNI</a></li> <li>Added <code>Cybertopia Dimmer</code> theme <a href="https://redirect.github.com/noraj">Alexandre ZANNI</a></li> <li>Added <code>Cybertopia Icecap</code> theme <a href="https://redirect.github.com/noraj">Alexandre ZANNI</a></li> <li>Added <code>Cybertopia Saturated</code> theme <a href="https://redirect.github.com/noraj">Alexandre ZANNI</a></li> </ul> <p>Improvements:</p> <ul> <li>Resolve the memory leak problem when creating multiple Highlight.js instances <a href="https://redirect.github.com/immccn123">Imken</a></li> </ul> <p>CONTRIBUTORS</p> </li> <li> <b>11.10.0</b> - <a href="https://redirect.github.com/highlightjs/highlight.js/releases/tag/11.10.0">2024-07-06</a></br><p>Sorry for the wait, this one is a doozie, thanks to all the contributors who made it possible!</p> <hr> <h3>CAVEATS / POTENTIALLY BREAKING CHANGES</h3> <div class="markdown-alert markdown-alert-important"><p class="markdown-alert-title"><svg class="octicon octicon-report mr-2" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></svg>Important</p><p>This version drops support for Node 16.x, which is no longer supported by Node.js.</p> </div> <hr> <p>Core Grammars:</p> <ul> <li>enh(typescript) add support for <code>satisfies</code> operator <a href="https://redirect.github.com/kisaragi-hiu">Kisaragi Hiu</a></li> <li>enc(c) added more C23 keywords <a href="https://redirect.github.com/Melkor-1">Melkor-1</a></li> <li>enh(json) added jsonc as an alias <a href="https://redirect.github.com/BackupMiles">BackupMiles</a></li> <li>enh(gml) updated to latest language version (GML v2024.2) <a href="https://redirect.github.com/gnysek">gnysek</a></li> <li>enh(c) added more C23 keywords and preprcoessor directives <a href="https://redirect.github.com/Eisenwave">Eisenwave</a></li> <li>enh(js/ts) support namespaced tagged template strings <a href="https://redirect.github.com/aral">Aral Balkan</a></li> <li>enh(perl) fix false-positive variable match at end of string <a href="https://redirect.github.com/joshgoebel">Josh Goebel</a></li> <li>fix(cpp) not all kinds of number literals are highlighted correctly <a href="https://redirect.github.com/leduyquang753">Lê Duy Quang</a></li> <li>fix(css) fix overly greedy pseudo class matching <a href="https://redirect.github.com/bradleymackey">Bradley Mackey</a></li> <li>enh(arcade) updated to ArcGIS Arcade version 1.24 <a href="https://redirect.github.com/ekenes">Kristian Ekenes</a></li> <li>fix(typescript): params types <a href="https://redirect.github.com/MohamedAli00949">Mohamed Ali</a></li> <li>fix(rust) fix escaped double quotes in string <a href="https://redirect.github.com/MohamedAli00949">Mohamed Ali</a></li> <li>fix(rust) fix for r# raw identifier not being highlighted correctly. <a href="https://redirect.github.com/ThinkingVincent">JaeBaek Lee</a></li> <li>enh(rust) Adding union to be recognized as a keyword in Rust. <a href="https://redirect.github.com/ThinkingVincent">JaeBaek Lee</a></li> <li>fix(yaml) fix for yaml with keys having brackets highlighted incorrectly <a href="https://redirect.github.com/aneesh98">Aneesh Kulkarni</a></li> <li>fix(csharp) add raw string highlighting for C# 11. <a href="https://redirect.github.com/taralei">Tara</a></li> <li>fix(bash) fix # within token being detected as the start of a comment <a href="https://redirect.github.com/iFreilicht">Felix Uhl</a></li> <li>fix(python) fix <code>or</code> conflicts with string highlighting <a href="https://redirect.github.com/MohamedAli00949">Mohamed Ali</a></li> <li>enh(python) adds a scope to the <code>self</code> variable [Lee Falin][]</li> <li>enh(delphi) allow digits to be omitted for hex and binary literals <a href="https://redirect.github.com/cirras">Jonah Jeleniewski</a></li> <li>enh(delphi) add support for digit separators <a href="https://redirect.github.com/cirras">Jonah Jeleniewski</a></li> <li>enh(delphi) add support for character strings with non-decimal numerics <a href="https://redirect.github.com/cirras">Jonah Jeleniewski</a></li> <li>fix(javascript) incorrect function name highlighting <a href="https://redirect.github.com/cyfung1031">CY Fung</a></li> <li>fix(1c) fix escaped symbols "+-;():=,[]" literals <a href="https://redirect.github.com/Diversus23">Vitaly Barilko</a></li> <li>fix(swift) correctly highlight generics and conformances in type definitions <a href="https://redirect.github.com/bradleymackey">Bradley Mackey</a></li> <li>enh(swift) add package keyword <a href="https://redirect.github.com/bradleymackey">Bradley Mackey</a></li> <li>fix(swift) ensure keyword attributes highlight correctly <a href="https://redirect.github.com/bradleymackey">Bradley Mackey</a></li> <li>fix(types) fix interface LanguageDetail > keywords <a href="https://redirect.github.com/patrick-kw-chiu">Patrick Chiu</a></li> <li>enh(java) add <code>goto</code> to be recognized as a keyword in Java <a href="https://redirect.github.com/alvinsjoy">Alvin Joy</a></li> <li>enh(bash) add keyword <code>sudo</code> <a href="https://redirect.github.com/alvinsjoy">Alvin Joy</a></li> <li>fix(haxe) captures <code>new</code> keyword without capturing it within variables/class names <a href="https://redirect.github.com/ninjamuffin99">Cameron Taylor</a></li> <li>fix(go) fix go number literals to accept <code>_</code> separators, add hex p exponents <a href="https://redirect.github.com/lugray">Lisa Ugray</a></li> <li>enh(markdown) add entity support <a href="https://redirect.github.com/dschach">David Schach</a> <a href="https://redirect.github.com/TaraLei">TaraLei</a></li> <li>enh(css) add <code>justify-items</code> and <code>justify-self</code> attributes <a href="https://redirect.github.com/vast">Vasily Polovnyov</a></li> <li>enh(css) add <code>accent-color</code>, <code>appearance</code>, <code>color-scheme</code>, <code>rotate</code>, <code>scale</code> and <code>translate</code> attributes <a href="https://redirect.github.com/carlrafting">Carl Räfting</a></li> <li>fix(fortran) fixes parsing of keywords delimited by dots <a href="https://redirect.github.com/jbloino">Julien Bloino</a></li> <li>enh(css) add <code>select</code>, <code>option</code>, <code>optgroup</code>, <code>picture</code> and <code>source</code> to list of known tags <a href="https://redirect.github.com/vast">Vasily Polovnyov</a></li> <li>enh(css) add <code>inset</code>, <code>inset-*</code>, <code>border-start-*-radius</code> and <code>border-end-*-radius</code> attributes <a href="https://redirect.github.com/vast">Vasily Polovnyov</a></li> <li>enh(css) add <code>text-decoration-skip-ink</code>, <code>text-decoration-thickness</code> and <code>text-underline-offset</code> attributes <a href="https://redirect.github.com/vast">Vasily Polovnyov</a></li> </ul> <p>New Grammars:</p> <ul> <li>added 3rd party CODEOWNERS grammar to SUPPORTED_LANGUAGES <a href="https://redirect.github.com/Nataliia-Radina">nataliia-radina</a></li> <li>added 3rd party Luau grammar to SUPPORTED_LANGUAGES <a href="https://redirect.github.com/RobloxianDemo">Robloxian Demo</a></li> <li>added 3rd party ReScript grammar to SUPPORTED_LANGUAGES <a href="https://redirect.github.com/tsnobip">Paul Tsnobiladzé</a></li> <li>added 3rd party Zig grammar to SUPPORTED_LANGUAGES [Hyou BunKen][]</li> <li>added 3rd party WGSL grammar to SUPPORTED_LANGUAGES <a href="https://redirect.github.com/armansito">Arman Uguray</a></li> <li>added 3rd party Unison grammar to SUPPORTED_LANGUAGES <a href="https://redirect.github.com/runarorama">Rúnar Bjarnason</a></li> <li>added 3rd party Phix grammar to SUPPORTED_LANGUAGES <a href="https://redirect.github.com/petelomax">PeteLomax</a></li> <li>added 3rd party Mirth grammar to SUPPORTED_LANGUAGES <a href="https://redirect.github.com/casuallyblue">Sierra</a></li> <li>added 3rd party JSONata grammar to SUPPORTED_LANGUAGES <a href="https://redirect.github.com/DevDimov">Vlad Dimov</a></li> </ul> <p>Developer Tool:</p> <ul> <li>enh(tools): order CSS options picklist <a href="https://redirect.github.com/dschach">David Schach</a></li> <li>enh(tools): remove duplicate CSS options <a href="https://redirect.github.com/dschach">David Schach</a></li> <li>(typescript): deprecate old <code>highlight</code> API <a href="https://redirect.github.com/mmkal">Misha Kaletsky</a></li> </ul> <p>Themes:</p> <ul> <li>Added <code>1c-light</code> theme a like in the IDE 1C:Enterprise 8 (for 1c) <a href="https://redirect.github.com/Diversus23">Vitaly Barilko</a></li> </ul> </li> </ul> from <a href="https://redirect.github.com/highlightjs/highlight.js/releases">highlight.js GitHub release notes</a> </details> </details> --- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - This PR was automatically created by Snyk using the credentials of a real user. --- **Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs._ **For more information:** <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJmNTMwMTc5MC0xODlmLTQ5ZDItYjJiMS1lMmZkOGRhYmI4YTIiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImY1MzAxNzkwLTE4OWYtNDlkMi1iMmIxLWUyZmQ4ZGFiYjhhMiJ9fQ==" width="0" height="0"/> > - 🧐 [View latest project report](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template) > - 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24/settings/integration?pkg=highlight.js&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"highlight.js","from":"11.10.0","to":"11.11.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"f5301790-189f-49d2-b2b1-e2fd8dabb8a2","prPublicId":"f5301790-189f-49d2-b2b1-e2fd8dabb8a2","packageManager":"npm","priorityScoreList":[],"projectPublicId":"d19c39b4-9b25-4232-b09a-2d71e94c8a24","projectUrl":"https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2024-12-14T16:23:34.323Z"},"vulns":[]}' Co-authored-by: snyk-bot <[email protected]>
- Loading branch information