-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Stan syntax to version 2.33 #3859
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build Size ReportChanges to minified artifacts in 2 files changedTotal change +150 B View Changes
|
joshgoebel
approved these changes
Sep 12, 2023
Blankll
added a commit
to geek-fun/dockit
that referenced
this pull request
Jul 29, 2024
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) <h3>Snyk has created this PR to upgrade highlight.js from 11.9.0 to 11.10.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 on **21 days ago**. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>highlight.js</b></summary> <ul> <li> <b>11.10.0</b> - <a href="https://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://github.com/kisaragi-hiu">Kisaragi Hiu</a></li> <li>enc(c) added more C23 keywords <a href="https://github.com/Melkor-1">Melkor-1</a></li> <li>enh(json) added jsonc as an alias <a href="https://github.com/BackupMiles">BackupMiles</a></li> <li>enh(gml) updated to latest language version (GML v2024.2) <a href="https://github.com/gnysek">gnysek</a></li> <li>enh(c) added more C23 keywords and preprcoessor directives <a href="https://github.com/Eisenwave">Eisenwave</a></li> <li>enh(js/ts) support namespaced tagged template strings <a href="https://github.com/aral">Aral Balkan</a></li> <li>enh(perl) fix false-positive variable match at end of string <a href="https://github.com/joshgoebel">Josh Goebel</a></li> <li>fix(cpp) not all kinds of number literals are highlighted correctly <a href="https://github.com/leduyquang753">Lê Duy Quang</a></li> <li>fix(css) fix overly greedy pseudo class matching <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>enh(arcade) updated to ArcGIS Arcade version 1.24 <a href="https://github.com/ekenes">Kristian Ekenes</a></li> <li>fix(typescript): params types <a href="https://github.com/MohamedAli00949">Mohamed Ali</a></li> <li>fix(rust) fix escaped double quotes in string <a href="https://github.com/MohamedAli00949">Mohamed Ali</a></li> <li>fix(rust) fix for r# raw identifier not being highlighted correctly. <a href="https://github.com/ThinkingVincent">JaeBaek Lee</a></li> <li>enh(rust) Adding union to be recognized as a keyword in Rust. <a href="https://github.com/ThinkingVincent">JaeBaek Lee</a></li> <li>fix(yaml) fix for yaml with keys having brackets highlighted incorrectly <a href="https://github.com/aneesh98">Aneesh Kulkarni</a></li> <li>fix(csharp) add raw string highlighting for C# 11. <a href="https://github.com/taralei">Tara</a></li> <li>fix(bash) fix # within token being detected as the start of a comment <a href="https://github.com/iFreilicht">Felix Uhl</a></li> <li>fix(python) fix <code>or</code> conflicts with string highlighting <a href="https://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://github.com/cirras">Jonah Jeleniewski</a></li> <li>enh(delphi) add support for digit separators <a href="https://github.com/cirras">Jonah Jeleniewski</a></li> <li>enh(delphi) add support for character strings with non-decimal numerics <a href="https://github.com/cirras">Jonah Jeleniewski</a></li> <li>fix(javascript) incorrect function name highlighting <a href="https://github.com/cyfung1031">CY Fung</a></li> <li>fix(1c) fix escaped symbols "+-;():=,[]" literals <a href="https://github.com/Diversus23">Vitaly Barilko</a></li> <li>fix(swift) correctly highlight generics and conformances in type definitions <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>enh(swift) add package keyword <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>fix(swift) ensure keyword attributes highlight correctly <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>fix(types) fix interface LanguageDetail > keywords <a href="https://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://github.com/alvinsjoy">Alvin Joy</a></li> <li>enh(bash) add keyword <code>sudo</code> <a href="https://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://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://github.com/lugray">Lisa Ugray</a></li> <li>enh(markdown) add entity support <a href="https://github.com/dschach">David Schach</a> <a href="https://github.com/TaraLei">TaraLei</a></li> <li>enh(css) add <code>justify-items</code> and <code>justify-self</code> attributes <a href="https://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://github.com/carlrafting">Carl Räfting</a></li> <li>fix(fortran) fixes parsing of keywords delimited by dots <a href="https://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://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://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://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://github.com/Nataliia-Radina">nataliia-radina</a></li> <li>added 3rd party Luau grammar to SUPPORTED_LANGUAGES <a href="https://github.com/RobloxianDemo">Robloxian Demo</a></li> <li>added 3rd party ReScript grammar to SUPPORTED_LANGUAGES <a href="https://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://github.com/armansito">Arman Uguray</a></li> <li>added 3rd party Unison grammar to SUPPORTED_LANGUAGES <a href="https://github.com/runarorama">Rúnar Bjarnason</a></li> <li>added 3rd party Phix grammar to SUPPORTED_LANGUAGES <a href="https://github.com/petelomax">PeteLomax</a></li> <li>added 3rd party Mirth grammar to SUPPORTED_LANGUAGES <a href="https://github.com/casuallyblue">Sierra</a></li> <li>added 3rd party JSONata grammar to SUPPORTED_LANGUAGES <a href="https://github.com/DevDimov">Vlad Dimov</a></li> </ul> <p>Developer Tool:</p> <ul> <li>enh(tools): order CSS options picklist <a href="https://github.com/dschach">David Schach</a></li> <li>enh(tools): remove duplicate CSS options <a href="https://github.com/dschach">David Schach</a></li> <li>(typescript): deprecate old <code>highlight</code> API <a href="https://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://github.com/Diversus23">Vitaly Barilko</a></li> </ul> </li> <li> <b>11.9.0</b> - <a href="https://github.com/highlightjs/highlight.js/releases/tag/11.9.0">2023-10-09</a></br><h2>Version 11.9.0</h2> <p>CAVEATS / POTENTIALLY BREAKING CHANGES</p> <ul> <li>Drops support for Node 14.x, which is no longer supported by Node.js.</li> <li>In the <code>node</code> build <code>styles/*.css</code> files now ship un-minified<br> with minified counterparts as: <code>styles/*.min.css</code> <a href="https://github.com/mvorisek">mvorisek</a><br> (this makes things consistent with our <code>cdn</code> builds)</li> </ul> <p>Parser:</p> <ul> <li>(enh) prevent re-highlighting of an element [joshgoebel][]</li> <li>(chore) Remove discontinued badges from README <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>(chore) Fix build size report <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> </ul> <p>New Grammars:</p> <ul> <li>added 3rd party Iptables grammar to SUPPORTED_LANGUAGES <a href="https://github.com/Checconio">Checconio</a></li> <li>added 3rd party x86asmatt grammar to SUPPORTED_LANGUAGES <a href="https://github.com/gondow">gondow</a></li> <li>added 3rd party riscv64 grammar to SUPPORTED_LANGUAGES <a href="https://github.com/aana-h2">aana-h2</a></li> <li>added 3rd party Ballerina grammar to SUPPORTED_LANGUAGES <a href="https://github.com/YasithD">Yasith Deelaka</a></li> </ul> <p>Core Grammars:</p> <ul> <li>fix(rust) added negative-lookahead for callable keywords <code>if</code> <code>while</code> <code>for</code> [Omar Hussein][]</li> <li>enh(armasm) added <code>x0-x30</code> and <code>w0-w30</code> ARMv8 registers <a href="https://github.com/NAThompson">Nicholas Thompson</a></li> <li>enh(haxe) added <code>final</code>, <code>is</code>, <code>macro</code> keywords and <code>$</code> identifiers <a href="https://github.com/RobertBorghese">Robert Borghese</a></li> <li>enh(haxe) support numeric separators and suffixes <a href="https://github.com/RobertBorghese">Robert Borghese</a></li> <li>fix(haxe) fixed metadata arguments and support non-colon syntax <a href="https://github.com/RobertBorghese">Robert Borghese</a></li> <li>fix(haxe) differentiate <code>abstract</code> declaration from keyword <a href="https://github.com/RobertBorghese">Robert Borghese</a></li> <li>fix(bash) do not delimit a string by an escaped apostrophe [hancar][]</li> <li>enh(swift) support <code>macro</code> keyword <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>enh(swift) support parameter pack keywords <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>enh(swift) regex literal support <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>enh(swift) <code>@ unchecked</code> and <code>@ Sendable</code> support <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>enh(scala) add using directives support <code>//> using foo bar</code> [Jamie Thompson][]</li> <li>fix(scala) fixed comments in constructor arguments not being properly highlighted <a href="https://github.com/isaacnonato">Isaac Nonato</a></li> <li>enh(swift) ownership modifiers support <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>enh(nsis) Add <code>!assert</code> compiler flag [idleberg][]</li> <li>fix(haskell) do not treat double dashes inside infix operators as comments [Zlondrej][]</li> <li>enh(rust) added <code>eprintln!</code> macro <a href="https://github.com/qoheniac">qoheniac</a></li> <li>enh(leaf) update syntax to 4.0 <a href="https://github.com/dannflor">Samuel Bishop</a></li> <li>fix(reasonml) simplify syntax and align it with ocaml <a href="https://github.com/jchavarri">jchavarri</a></li> <li>fix(swift) <code>warn_unqualified_access</code> is an attribute <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>enh(swift) macro attributes are highlighted as keywords <a href="https://github.com/bradleymackey">Bradley Mackey</a></li> <li>enh(stan) updated for version 2.33 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1891162011" data-permission-text="Title is private" data-url="highlightjs/highlight.js#3859" data-hovercard-type="pull_request" data-hovercard-url="/highlightjs/highlight.js/pull/3859/hovercard" href="https://github.com/highlightjs/highlight.js/pull/3859">#3859</a>) <a href="https://github.com/WardBrian">Brian Ward</a></li> <li>fix(css) added '_' css variable detection <a href="https://github.com/akhtarmdsaad">Md Saad Akhtar</a></li> <li>enh(groovy) add <code>record</code> and <code>var</code> as keywords <a href="https://github.com/glaforge">Guillaume Laforge</a></li> </ul> <p>Developer Tool:</p> <ul> <li>(chore) Update dev tool to use the new <code>highlight</code> API. <a href="https://github.com/shabbir23ah">Shah Shabbir Ahmmed</a></li> <li>(enh) Auto-update the highlighted output when the language dropdown changes. <a href="https://github.com/shabbir23ah">Shah Shabbir Ahmmed</a></li> </ul> </li> </ul> from <a href="https://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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI1MjUyZTQ5OS05M2UwLTQ3MDQtYWUxNS00YjRmYzIzYmE2YzYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjUyNTJlNDk5LTkzZTAtNDcwNC1hZTE1LTRiNGZjMjNiYTZjNiJ9fQ==" 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) > - 🛠 [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.9.0","to":"11.10.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"5252e499-93e0-4704-ae15-4b4fc23ba6c6","prPublicId":"5252e499-93e0-4704-ae15-4b4fc23ba6c6","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-07-06T21:12:53.887Z"},"vulns":[]}) ---> Co-authored-by: snyk-bot <[email protected]>
This was referenced Sep 15, 2024
This was referenced Sep 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The Stan language has received a few updates since the last update
Changes
complex_vector
,complex_row_vector
,complex_matrix
, andtuple(...)
Checklist
CHANGES.md