thecampagnards / docktor

Administration & Monitoring Deployment with Docker
Apache License 2.0
2 stars 1 forks source link

Bump xterm from 4.12.0 to 4.19.0 in /client #1140

Open dependabot[bot] opened 2 years ago

dependabot[bot] commented 2 years ago

Bumps xterm from 4.12.0 to 4.19.0.

Release notes

Sourced from xterm's releases.

4.19.0

🚀 Features

  • The minimum contrast ratio feature will now change luminance in the opposite direction if the contrast ratio isn't met (#3806, #3808) via @​Tyriar. For example a red foreground on a slightly darker red background will try lighten the color and if the minimumContrastRatio option isn't met when #FFFFFF is reached it will try moving it towards [#000000](https://github.com/xtermjs/xterm.js/issues/000000). This can cause somewhat unexpected results by changing explicitly styled whites to blacks for example but it's really good for accessibility.
  • The library now supports parsing #rgb, #rgba, rgb(r, g, b) and rgba(r, g, b, a) color formats (#3815, #3819, #3823) via @​ChaseKnowlden, @​Tyriar
  • Opaque selectionBackground is now supported in the DOM renderer (#3839) via @​Tyriar
  • The symbol powerline font glyphs now use custom rendering when ITerminalOptions.customGlyphs is enabled (#3856, #3862, #3866) via @​Tyriar image This has multiple benefits:
    • A patched powerlines font doesn't need to be installed to render the most common characters
    • Ugly lines due to anti-aliasing that can appear no longer do
    • The glyphs always use greyscale anti-aliasing (not sub-pixel)
    • ITerminalOptions.lineHeight is taken into account when rendering the glyph

📦 API

  • The overview ruler is a companion feature to the decorations introduced in 4.18.0 which shows little indicators on the scroll bar (#3676, #3687, #3688, #3689, #3693, #3694, #3695, #3697, #3702, #3711, #3723, #3730, #3733, #3738, #3788, #3791, #3792, #3841) via @​meganrogge, @​Tyriar. To use it, add the overviewRulerOptions property to a decoration's IDecorationOptions and it will automatically show up in the overview ruler.
    const marker = term.addMarker(1);
    const decoration = term.registerDecoration({
      marker,
      x: 5,
      overviewRulerOptions: {
        color: '#FF0000',
        position: 'left'
      }
    });
    decoration.onRender(() => {
      decoration.element.style.backgroundColor = 'red';
    });
    
    The width of the resulting overview ruler is controlled by ITerminalOptions.overviewRulerWidth.
  • Decorations can now change a cell's background and foreground colors (#3775, #3782) via @​Tyriar. When this is set, the minimum contrast ratio feature will also be in effect.
    const decoration = term.registerDecoration({
      marker,
      backgroundColor: '#ff0000',
      foregroundColor: '#ffffff'
    });
    
  • Decorations can now specify the layer property to allow rendering above the selection (#3785, #3800) via @​Tyriar
    const decoration = term.registerDecoration({
      marker,
      layer: 'top'
    });
    
  • There's a new selectionForeground theme color, when set this will use a static color for selections (#3813) via @​Tyriar
    const term = new Terminal({
    

... (truncated)

Commits
  • 4a61642 Merge pull request #3879 from Tyriar/r4_19
  • 0a0ebb6 v4.19.0
  • e77a0ec return 0 instead of -1 for no result find count (#3874)
  • 1bf2ccc Merge pull request #3876 from yankay/add-cloudtty-to-list-of-xterm-users
  • 5f680c2 add-cloudtty-to-list-of-xterm-users
  • 3845008 Merge pull request #3728 from serkodev/fix-caps-lock-ime
  • 1801403 Move off deprecated keyCode -> key
  • 4c7d89e Merge branch 'master' into fix-caps-lock-ime
  • 5d3a9e8 Merge pull request #3726 from Eugeny/fix-macos-alt-n
  • 911d922 Merge pull request #3763 from robinfai/master
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)