Skip to content
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

[Snyk] Upgrade xterm from 4.18.0 to 4.19.0 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

apiiro-snyk
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade xterm from 4.18.0 to 4.19.0.

ℹ️ 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.


  • The recommended version is 68 versions ahead of your current version.

  • The recommended version was released on 2 years ago.

Release notes
Package name: xterm
  • 4.19.0 - 2022-06-29

    🚀 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. 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({
        theme: {
          selectionBackground: '#000000',
          selectionForeground: '#FFFFFF'
        }
      });

    🐞 Bug fixes

    • Fix triple click selection edge case where initial line was getting unselected (#3669) via @ silamon
    • Fixing edge cases when clearing decorations via Terminal.clear (#3671, #3868) via @ meganrogge
    • Handle missing compositionend events for Sogou IME (#3680) via @ Eugeny
    • Fix a bug when running emacs by preferring ST over BEL (#3704) via @ meganrogge
    • Fix Alt-N/E/U handling in macOS, handle Alt-Shift-Letter (#3726) via @ Eugeny
    • Fix caps lock while IMEs are being used preventing lowercase input (#3728) via @ serkodev
    • Exclude powerline characters from the minimum contrast ratio feature (#3740, #3742) via @ meganrogge
    • Send ctrl modifier for page up/down sequences (#3761) via @ Tyriar
    • Send record separator on ctrl+@ (#3763) via @ robinfai
    • Switching from webgl to dom renderer will now correctly reposition decorations (#3779) via @ Tyriar
    • Decorations are now rendered in the same frame as the buffer, ensuring they stay in sync (#3796, #3818) via @ meganrogge
    • Fire onSelectionChange when Terminal.select is called (#3805) via @ Tyriar
    • Padding is now taken into account when converting mouse coordinates to cell positions (#3826) via @ Tyriar
    • Exclude box drawing and block glyphs from the minimum contrast ratio as they are typically used to blend with background colors (#3844) via @ meganrogge
    • Fix a minimum contrast ratio edge case with inverted text in the DOM renderer (#3846) via @ meganrogge
    • Only send the wheel mouse event when scrolling a line or more (#3869) via @ pfitzseb

    📝 Documentation and internal improvements

    🎉 New real-world use cases


    📥 Addons

    xterm-addon-search

    xterm-addon-serialize

    xterm-addon-web-links

    xterm-addon-webgl

    • Simplified and sped up selection rendering by leveraging the decorations feature (#3782, #3860) via @ Tyriar

    🤝 Compatible addon versions

    • xterm-addon-attach@0.6.0
    • xterm-addon-fit@0.5.0
    • xterm-addon-ligatures@0.5.3
    • xterm-addon-search@0.9.0
    • xterm-addon-serialize@0.7.0
    • xterm-addon-unicode11@0.3.0
    • xterm-addon-web-links@0.6.0
    • xterm-addon-webgl@0.12.0

    🌐 Website

  • 4.19.0-beta.67 - 2022-06-27
  • 4.19.0-beta.66 - 2022-06-26
  • 4.19.0-beta.65 - 2022-06-26
  • 4.19.0-beta.64 - 2022-06-26
  • 4.19.0-beta.63 - 2022-06-26
  • 4.19.0-beta.62 - 2022-06-24
  • 4.19.0-beta.61 - 2022-06-21
  • 4.19.0-beta.60 - 2022-06-14
  • 4.19.0-beta.59 - 2022-06-14
  • 4.19.0-beta.58 - 2022-06-02
  • 4.19.0-beta.57 - 2022-06-02
  • 4.19.0-beta.56 - 2022-05-27
  • 4.19.0-beta.55 - 2022-05-27
  • 4.19.0-beta.54 - 2022-05-27
  • 4.19.0-beta.53 - 2022-05-26
  • 4.19.0-beta.52 - 2022-05-25
  • 4.19.0-beta.51 - 2022-05-23
  • 4.19.0-beta.50 - 2022-05-20
  • 4.19.0-beta.49 - 2022-05-20
  • 4.19.0-beta.48 - 2022-05-19
  • 4.19.0-beta.47 - 2022-05-18
  • 4.19.0-beta.46 - 2022-05-17
  • 4.19.0-beta.45 - 2022-05-17
  • 4.19.0-beta.44 - 2022-05-16
  • 4.19.0-beta.43 - 2022-05-13
  • 4.19.0-beta.42 - 2022-05-13
  • 4.19.0-beta.41 - 2022-05-13
  • 4.19.0-beta.40 - 2022-05-13
  • 4.19.0-beta.39 - 2022-05-13
  • 4.19.0-beta.38 - 2022-05-13
  • 4.19.0-beta.37 - 2022-05-12
  • 4.19.0-beta.36 - 2022-05-12
  • 4.19.0-beta.35 - 2022-05-12
  • 4.19.0-beta.34 - 2022-05-12
  • 4.19.0-beta.33 - 2022-05-12
  • 4.19.0-beta.32 - 2022-05-12
  • 4.19.0-beta.31 - 2022-05-11
  • 4.19.0-beta.30 - 2022-05-09
  • 4.19.0-beta.29 - 2022-05-06
  • 4.19.0-beta.28 - 2022-05-02
  • 4.19.0-beta.27 - 2022-05-01
  • 4.19.0-beta.26 - 2022-05-01
  • 4.19.0-beta.25 - 2022-04-20
  • 4.19.0-beta.24 - 2022-04-20
  • 4.19.0-beta.23 - 2022-04-19
  • 4.19.0-beta.22 - 2022-04-19
  • 4.19.0-beta.21 - 2022-04-08
  • 4.19.0-beta.20 - 2022-04-01
  • 4.19.0-beta.19 - 2022-03-31
  • 4.19.0-beta.18 - 2022-03-31
  • 4.19.0-beta.17 - 2022-03-28
  • 4.19.0-beta.16 - 2022-03-28
  • 4.19.0-beta.15 - 2022-03-24
  • 4.19.0-beta.14 - 2022-03-23
  • 4.19.0-beta.13 - 2022-03-23
  • 4.19.0-beta.12 - 2022-03-23
  • 4.19.0-beta.11 - 2022-03-22
  • 4.19.0-beta.10 - 2022-03-20
  • 4.19.0-beta.9 - 2022-03-17
  • 4.19.0-beta.8 - 2022-03-17
  • 4.19.0-beta.7 - 2022-03-16
  • 4.19.0-beta.6 - 2022-03-16
  • 4.19.0-beta.5 - 2022-03-16
  • 4.19.0-beta.4 - 2022-03-16
  • 4.19.0-beta.3 - 2022-03-16
  • 4.19.0-beta.2 - 2022-03-08
  • 4.19.0-beta.1 - 2022-03-03
  • 4.18.0 - 2022-02-28

    📦 API

    • Support buffer decorations (

Snyk has created this PR to upgrade xterm from 4.18.0 to 4.19.0.

See this package in npm:
xterm

See this project in Snyk:
https://app.snyk.io/org/apiiro-snyk/project/900b2e1e-2da1-423b-beb1-3ab27fc72533?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants