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 @codemirror/view from 6.9.3 to 6.9.6 #1

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

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade @codemirror/view from 6.9.3 to 6.9.6.

ℹ️ 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 3 versions ahead of your current version.
  • The recommended version was released 23 days ago, on 2023-04-21.
Release notes
Package name: @codemirror/view
  • 6.9.6 - 2023-04-21

    Bug fixes

    Fix an issue where, when escape was pressed followed by a key that the editor handled, followed by tab, the tab would still move focus.

    Fix an issue where, in some circumstances, the editor would ignore text changes at the end of a composition.

    Allow inline widgets to be updated to a different length via updateDOM.

  • 6.9.5 - 2023-04-17

    Bug fixes

    Avoid disrupting the composition in specific cases where Safari invasively changes the DOM structure in the middle of a composition.

    Fix a bug that prevented destroy being called on hover tooltips.

    Fix a bug where the editor could take focus when content changes required it to restore the DOM selection.

    Fix height layout corruption caused by a division by zero.

    Make sure styles targeting the editor's focus status are specific enough to not cause them to apply to editors nested inside another focused editor. This will require themes to adjust their selection background styles to match the new specificity.

  • 6.9.4 - 2023-04-11

    Bug fixes

    Make the editor scroll while dragging a selection near its sides, even if the cursor isn't outside the scrollable element.

    Fix a bug that interrupted composition after widgets in some circumstances on Firefox.

    Make sure the last change in a composition has its user event set to input.type.compose, even if the compositionend event fires before the changes are applied.

    Make it possible to remove additional selection ranges by clicking on them with ctrl/cmd held, even if they aren't cursors.

    Keep widget buffers between widgets and compositions, since removing them confuses IME on macOS Firefox.

    Fix a bug where, for DOM changes that put the selection in the middle of the changed range, the editor incorrectly set its selection state.

    Fix a bug where coordsAtPos could return a coordinates before the line break when querying a line-wrapped position with a positive side.

  • 6.9.3 - 2023-03-21

    Bug fixes

    Work around a Firefox issue that caused coordsAtPos to return rectangles with the full line height on empty lines.

    Opening a context menu by clicking below the content element but inside the editor now properly shows the browser's menu for editable elements.

    Fix an issue that broke composition (especially of Chinese IME) after widget decorations.

    Fix an issue that would cause the cursor to jump around during compositions inside nested mark decorations.

from @codemirror/view GitHub release notes
Commit messages
Package name: @codemirror/view
  • a26ae93 Mark version 6.9.6
  • f05195c Allow inline widgets to have their length updated
  • 2e43660 Fix a bug that caused changes on composition end to ignored
  • 2c5d5bf Clear esc status even for keys that are handled
  • 9578ffc Mark version 6.9.5
  • 0c921ee Make focused styles more specific.
  • 637b424 Avoid division by zero in HeightGapMap.heightMetrics
  • f49f2ee Restore focus if manipulating the DOM selection moves it into the editor
  • 9fdf90a Make sure hover tooltips have their destroy method called
  • b5bbdf4 Make a test less fragile to rounding inaccuracies
  • 7ce3872 Make mapping between position and DOM inside composition more robust
  • ed0b28f Mark version 6.9.4
  • e7454eb Skip hidden inline elements when finding a view to take coordinates
  • 91fd5d1 Always use updated DOM selection if available in applyDOMChange
  • e9a6a1e Avoid dropping widget buffers before composition views
  • ca98304 Use WidgetType.compare instead of WidgetType.eq in widget views
  • 3f1b991 Allow extra selection ranges to be removed by clicking anywhere in them
  • dd3311a Make sure input that happened during composition is categorized as such
  • 5a4c397 Fix another selection-syncing bug around compositions
  • 79be977 Allow drag-scrolling when near the sides of the editor

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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.

1 participant