reflexivesecurity / reflex-cli

CLI Tool for Running Reflex Engine
Mozilla Public License 2.0
17 stars 2 forks source link

Update dependency Pygments to v2.12.0 #439

Open renovate[bot] opened 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Pygments (source, changelog) ==2.10.0 -> ==2.12.0 age adoption passing confidence

Release Notes

pygments/pygments ### [`v2.12.0`](https://togithub.com/pygments/pygments/blob/HEAD/CHANGES#Version-2120) [Compare Source](https://togithub.com/pygments/pygments/compare/2.11.2...2.12.0) (released April 24th, 2022) - Added lexers: - Cplint ([#​2045](https://togithub.com/pygments/pygments/issues/2045)) - Macaulay2 ([#​1791](https://togithub.com/pygments/pygments/issues/1791)) - Minecraft ([#​2107](https://togithub.com/pygments/pygments/issues/2107)) - Qlik ([#​1925](https://togithub.com/pygments/pygments/issues/1925)) - `UnixConfigLexer` for "colon-separated" config files, like `/etc/passwd` ([#​2112](https://togithub.com/pygments/pygments/issues/2112)) - Updated lexers: - Agda: Update keyword list ([#​2017](https://togithub.com/pygments/pygments/issues/2017)) - C family: Fix identifiers after `case` statements ([#​2084](https://togithub.com/pygments/pygments/issues/2084)) - Clojure: Highlight ratios ([#​2042](https://togithub.com/pygments/pygments/issues/2042)) - Csound: Update to 6.17 ([#​2064](https://togithub.com/pygments/pygments/issues/2064)) - CSS: Update the list of properties ([#​2113](https://togithub.com/pygments/pygments/issues/2113)) - Elpi: - Fix catastrophic backtracking ([#​2053](https://togithub.com/pygments/pygments/issues/2053), [#​2061](https://togithub.com/pygments/pygments/issues/2061)) - Fix handling of `->` ([#​2028](https://togithub.com/pygments/pygments/issues/2028)) - Futhark: Add missing tokens ([#​2118](https://togithub.com/pygments/pygments/issues/2118)) - Gherkin: Add `But` ([#​2046](https://togithub.com/pygments/pygments/issues/2046)) - Inform6: Update to 6.36 ([#​2050](https://togithub.com/pygments/pygments/issues/2050)) - JSON: Support C comments in JSON ([#​2049](https://togithub.com/pygments/pygments/issues/2049)). Note: This doesn't mean the JSON parser now supports JSONC or JSON5 proper, just that it doesn't error out when seeing a `/* */` or `//` style comment. If you need proper comment handling, consider using the `JavaScript` lexer. - LilyPond: - Fix incorrect lexing of names containing a built-in ([#​2071](https://togithub.com/pygments/pygments/issues/2071)) - Fix properties containing dashes ([#​2099](https://togithub.com/pygments/pygments/issues/2099)) - PHP: Update builtin function and keyword list ([#​2054](https://togithub.com/pygments/pygments/issues/2054), [#​2056](https://togithub.com/pygments/pygments/issues/2056)) - Scheme: Various improvements ([#​2060](https://togithub.com/pygments/pygments/issues/2060)) - Spice: Update the keyword list, add new types ([#​2063](https://togithub.com/pygments/pygments/issues/2063), [#​2067](https://togithub.com/pygments/pygments/issues/2067)) - Terraform: - Support non-idiomatic comments ([#​2065](https://togithub.com/pygments/pygments/issues/2065), [#​2066](https://togithub.com/pygments/pygments/issues/2066)) - Fix class name lexing ([#​2097](https://togithub.com/pygments/pygments/issues/2097)) - Add `plugins` argument to `get_all_lexers()`. - Bump minimal Python version to 3.6 ([#​2059](https://togithub.com/pygments/pygments/issues/2059)) - Fix multiple lexers marking whitespace as `Text` ([#​2025](https://togithub.com/pygments/pygments/issues/2025)) - Remove various redundant uses of `re.UNICODE` ([#​2058](https://togithub.com/pygments/pygments/issues/2058)) - Associate `.resource` with the Robot framework ([#​2047](https://togithub.com/pygments/pygments/issues/2047)) - Associate `.cljc` with Clojure ([#​2043](https://togithub.com/pygments/pygments/issues/2043)) - Associate `.tpp` with C++ ([#​2031](https://togithub.com/pygments/pygments/issues/2031)) - Remove traces of Python 2 from the documentation ([#​2039](https://togithub.com/pygments/pygments/issues/2039)) - The `native` style was updated to meet the WCAG AAA contrast guidelines ([#​2038](https://togithub.com/pygments/pygments/issues/2038)) - Fix various typos ([#​2030](https://togithub.com/pygments/pygments/issues/2030)) - Fix `Groff` formatter not inheriting token styles correctly ([#​2024](https://togithub.com/pygments/pygments/issues/2024)) - Various improvements to the CI ([#​2036](https://togithub.com/pygments/pygments/issues/2036)) - The Ada lexer has been moved to a separate file ([#​2117](https://togithub.com/pygments/pygments/issues/2117)) - When `linenos=table` is used, the `` itself is now wrapped with a `
` tag instead of placing it inside the `
` cell ([#​632](https://togithub.com/pygments/pygments/issues/632).) With this change, the output matches the documented behavior. .. note:: If you have subclassed `HtmlFormatter.wrap`, you may have to adjust the logic. ### [`v2.11.2`](https://togithub.com/pygments/pygments/blob/HEAD/CHANGES#Version-2112) [Compare Source](https://togithub.com/pygments/pygments/compare/2.11.1...2.11.2) (released January 6th, 2022) - Updated lexers: - C-family: Fix incorrect handling of labels ([#​2022](https://togithub.com/pygments/pygments/issues/2022), [#​1996](https://togithub.com/pygments/pygments/issues/1996), [#​1182](https://togithub.com/pygments/pygments/issues/1182)) - Java: Fixed an issue with `record` keywords result in `Error` tokens in some cases ([#​2016](https://togithub.com/pygments/pygments/issues/2016), [#​2018](https://togithub.com/pygments/pygments/issues/2018)) - Fix links to line numbers not working correctly ([#​2014](https://togithub.com/pygments/pygments/issues/2014)) - Remove `underline` from `Whitespace` style in the `Tango` theme ([#​2020](https://togithub.com/pygments/pygments/issues/2020)) - Fix `IRC` and `Terminal256` formatters not backtracking correctly for custom token types, resulting in some unstyled tokens ([#​1986](https://togithub.com/pygments/pygments/issues/1986)) ### [`v2.11.1`](https://togithub.com/pygments/pygments/blob/HEAD/CHANGES#Version-2111) [Compare Source](https://togithub.com/pygments/pygments/compare/2.11.0...2.11.1) (released December 31st, 2021) - Updated lexers: - C-family: Handle return types with multiple tokens (e.g. `unsigned int`) ([#​2008](https://togithub.com/pygments/pygments/issues/2008)) - JSON: Fix a regression which caused whitespace before `:` to result in `Error` tokens ([#​2010](https://togithub.com/pygments/pygments/issues/2010)) - SPICE: Various improvements ([#​2009](https://togithub.com/pygments/pygments/issues/2009)) ### [`v2.11.0`](https://togithub.com/pygments/pygments/blob/HEAD/CHANGES#Version-2110) [Compare Source](https://togithub.com/pygments/pygments/compare/2.10.0...2.11.0) (released December 30th, 2021) - Added lexers: - BDD ([#​1803](https://togithub.com/pygments/pygments/issues/1803)) - Elpi ([#​1894](https://togithub.com/pygments/pygments/issues/1894)) - LilyPond ([#​1845](https://togithub.com/pygments/pygments/issues/1845), [#​1968](https://togithub.com/pygments/pygments/issues/1968), [#​1971](https://togithub.com/pygments/pygments/issues/1971), [#​2001](https://togithub.com/pygments/pygments/issues/2001)). This comes with a custom style as well. - Maxima ([#​1885](https://togithub.com/pygments/pygments/issues/1885)) - Rita ([#​1541](https://togithub.com/pygments/pygments/issues/1541), [#​2003](https://togithub.com/pygments/pygments/issues/2003)) - Savi ([#​1863](https://togithub.com/pygments/pygments/issues/1863)) - Sed ([#​1935](https://togithub.com/pygments/pygments/issues/1935)) - Sophia contracts ([#​1974](https://togithub.com/pygments/pygments/issues/1974)) - Spice ([#​1980](https://togithub.com/pygments/pygments/issues/1980)) - `.SRCINFO` ([#​1951](https://togithub.com/pygments/pygments/issues/1951)) - Updated lexers: - ABNF: Allow one-character rules ([#​1804](https://togithub.com/pygments/pygments/issues/1804)) - Assembly: Fix incorrect token endings ([#​1895](https://togithub.com/pygments/pygments/issues/1895), [#​1961](https://togithub.com/pygments/pygments/issues/1961)) - Bibtex: Distinguish between `comment` and `commentary` ([#​1899](https://togithub.com/pygments/pygments/issues/1899), [#​1806](https://togithub.com/pygments/pygments/issues/1806)) - C family: Support unicode identifiers ([#​1848](https://togithub.com/pygments/pygments/issues/1848)) - CDDL: Fix slow lexing speed ([#​1959](https://togithub.com/pygments/pygments/issues/1959)) - Debian control: Add missing fields ([#​1946](https://togithub.com/pygments/pygments/issues/1946)) - Devicetree: Recognize hexadecimal addresses for nodes ([#​1949](https://togithub.com/pygments/pygments/issues/1949)) - GDScript: Add `void` data type ([#​1948](https://togithub.com/pygments/pygments/issues/1948)) - GSQL - Fix comment handling ([#​2002](https://togithub.com/pygments/pygments/issues/2002)) - Fix catastrophic backtracking ([#​2006](https://togithub.com/pygments/pygments/issues/2006)) - HTML, XML: Improve comment handling ([#​1896](https://togithub.com/pygments/pygments/issues/1896)) - Java: Add `yield` ([#​1941](https://togithub.com/pygments/pygments/issues/1941)) and sealed classes/record ([#​1902](https://togithub.com/pygments/pygments/issues/1902)) - Makefiles ([#​1860](https://togithub.com/pygments/pygments/issues/1860), [#​1898](https://togithub.com/pygments/pygments/issues/1898)) - objdump-nasm: Improve handling of `--no-show-raw-insn` dumps ([#​1981](https://togithub.com/pygments/pygments/issues/1981)) - Prolog: Support escaped `\` inside quoted strings ([#​1479](https://togithub.com/pygments/pygments/issues/1479)) - Python: - Support `~` in tracebacks ([#​2004](https://togithub.com/pygments/pygments/issues/2004)) - Support the pattern matching keywords ([#​1797](https://togithub.com/pygments/pygments/issues/1797), [#​1994](https://togithub.com/pygments/pygments/issues/1994)) - RobotFramework: Improve empty brace handling ([#​1921](https://togithub.com/pygments/pygments/issues/1921), [#​1922](https://togithub.com/pygments/pygments/issues/1922)) - Terraform - Add the 'set' type ([#​1909](https://togithub.com/pygments/pygments/issues/1909)) - Support heredocs ([#​1909](https://togithub.com/pygments/pygments/issues/1909)) - Added styles: - Dracula ([#​1796](https://togithub.com/pygments/pygments/issues/1796)) - Friendly Grayscale ([#​1040](https://togithub.com/pygments/pygments/issues/1040), [#​1273](https://togithub.com/pygments/pygments/issues/1273)) - LilyPond ([#​1845](https://togithub.com/pygments/pygments/issues/1845)) -- to be used for the `LilyPond` language. - One-Dark ([#​1924](https://togithub.com/pygments/pygments/issues/1924), [#​1979](https://togithub.com/pygments/pygments/issues/1979)) .. note:: All of the new styles unfortunately do not conform to WCAG recommendations. - There is new infrastructure in place to improve style accessibility. The default style has been updated to conform to WCAG recommendations. All styles are now checked for sufficient contrast by default to prevent regressions. ([#​1919](https://togithub.com/pygments/pygments/issues/1919), [#​1937](https://togithub.com/pygments/pygments/issues/1937), [#​1938](https://togithub.com/pygments/pygments/issues/1938), [#​1940](https://togithub.com/pygments/pygments/issues/1940)) - Clean up unused imports ([#​1887](https://togithub.com/pygments/pygments/issues/1887)) - Fix multiple lexers producing repeated single-character tokens - Fix multiple lexers marking whitespace as `Text` ([#​1237](https://togithub.com/pygments/pygments/issues/1237), [#​1905](https://togithub.com/pygments/pygments/issues/1905), [#​1908](https://togithub.com/pygments/pygments/issues/1908), [#​1914](https://togithub.com/pygments/pygments/issues/1914), [#​1911](https://togithub.com/pygments/pygments/issues/1911), [#​1923](https://togithub.com/pygments/pygments/issues/1923), [#​1939](https://togithub.com/pygments/pygments/issues/1939), [#​1957](https://togithub.com/pygments/pygments/issues/1957), [#​1978](https://togithub.com/pygments/pygments/issues/1978)) - Remove duplicated assignments in the Paraiso style ([#​1934](https://togithub.com/pygments/pygments/issues/1934)) - `pygmentize` supports JSON output for the various list functions now, making it easier to consume them from scripts. ([#​1437](https://togithub.com/pygments/pygments/issues/1437), [#​1890](https://togithub.com/pygments/pygments/issues/1890)) - Use the `shell` lexer for `kshrc` files ([#​1947](https://togithub.com/pygments/pygments/issues/1947)) - Use the `ruby` lexer for `Vagrantfile` files ([#​1936](https://togithub.com/pygments/pygments/issues/1936)) - Use the C lexer for `.xbm` and `.xpm` files ([#​1802](https://togithub.com/pygments/pygments/issues/1802)) - Add a `groff` formatter ([#​1873](https://togithub.com/pygments/pygments/issues/1873)) - Update documentation ([#​1928](https://togithub.com/pygments/pygments/issues/1928)) - Line anchors now link to themselves ([#​1973](https://togithub.com/pygments/pygments/issues/1973)) - Add official support for Python 3.10 ([#​1917](https://togithub.com/pygments/pygments/issues/1917)) - Fix several missing colors in dark styles: Gruvbox dark, Monokai, Rrt, Sas, Strata dark ([#​1955](https://togithub.com/pygments/pygments/issues/1955)) - Associate more file types with `man` pages - The `HtmlFormatter` can now emit tooltips for each token to ease debugging of lexers ([#​1822](https://togithub.com/pygments/pygments/issues/1822)) - Add `f90` as an alias for `fortran` ([#​2000](https://togithub.com/pygments/pygments/issues/2000))

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.