scalacenter / scastie

An interactive playground for Scala
https://scastie.scala-lang.org
Apache License 2.0
433 stars 103 forks source link

Bump @codemirror/view from 6.20.2 to 6.22.3 #995

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Bumps @codemirror/view from 6.20.2 to 6.22.3.

Changelog

Sourced from @​codemirror/view's changelog.

6.22.3 (2023-12-13)

Bug fixes

Fix a bug that could cause tooltips to be unnecessarily be positioned absolutely.

Make sure that, when an editor creates tooltips immediately on initialization, the editor is attached to the document when their mount callback is called.

6.22.2 (2023-12-08)

Bug fixes

Fix an issue in the bidirectional motion that could cause the cursor to get stuck in a loop when a zero-width non-joiner char was placed on a direction boundary.

Fix a bug that corrupts the editor's internal view tree data structure on some types of edits, putting the editor in a broken state.

6.22.1 (2023-11-27)

Bug fixes

Call widget destroy methods when the entire editor is destroyed or reset.

Work around an issue on Safari on macOS Sonoma that made the native cursor visible even when drawSelection is enabled.

Fix an issue where, on some browsers, the screenreader announced text ended up in the printed document.

Fix a bug where a hover tooltip could stick around even though the pointer was no longer on the editor when it was moved out over the tooltip.

Fix an issue where hover tooltips could close when moving the mouse onto them due to mouse position rounding issues.

6.22.0 (2023-11-03)

Bug fixes

Exceptions raised by update listeners are now routed to the configured exception sink, if any.

Fix an issue where passing large scroll margins to scrollIntoView would cause the measure loop to fail to terminate.

Widgets that are draggable (and allow drag events through in their ignoreEvent implementation) can now use the editor's built-in drag/drop behavior.

New features

The new scrollTo option to EditorView allows an initial scroll position to be provided.

The new EditorView.scrollSnapshot method returns an effect that can be used to reset to a previous scroll position.

6.21.4 (2023-10-24)

Bug fixes

... (truncated)

Commits
  • fdb12c0 Mark version 6.22.3
  • f29c2ec Attach editor to DOM earlier
  • 9b9fd27 Remove broken optimization in tooltip transform detection
  • 013b143 Mark version 6.22.2
  • 5a2a1fa Avoid issue where active content views are inappropriately destroyed
  • d5a8035 Fix cursor motion loop on misplaced zero-width non-joiner
  • fc4446a Fix poor scrolling behavior due to miscomputed editor scale
  • 69cc0f1 Mark version 6.22.1
  • 105b491 Avoid calling destroy on nodes that get reused in replaceChildren
  • 281e949 Fix failing test
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
dependabot[bot] commented 8 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.