StaticJsCMS / static-cms

A Git-based CMS for Static Site Generators
https://staticjscms.netlify.app/
MIT License
591 stars 53 forks source link

fix(deps): update codemirror - autoclosed #1046

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 9 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@codemirror/autocomplete 6.9.1 -> 6.13.0 age adoption passing confidence
@codemirror/commands 6.3.0 -> 6.3.3 age adoption passing confidence
@codemirror/language 6.9.1 -> 6.10.1 age adoption passing confidence
@codemirror/language-data 6.3.1 -> 6.4.1 age adoption passing confidence
@codemirror/lint 6.4.2 -> 6.5.0 age adoption passing confidence
@codemirror/search 6.5.4 -> 6.5.6 age adoption passing confidence
@codemirror/state 6.2.1 -> 6.4.1 age adoption passing confidence
@codemirror/view 6.21.2 -> 6.25.0 age adoption passing confidence

Release Notes

codemirror/autocomplete (@​codemirror/autocomplete) ### [`v6.13.0`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6130-2024-02-29) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/6.12.0...6.13.0) ##### New features Completions may now provide 'commit characters' that, when typed, commit the completion before inserting the character. ### [`v6.12.0`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6120-2024-01-12) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/6.11.1...6.12.0) ##### Bug fixes Make sure snippet completions also set `userEvent` to `input.complete`. Fix a crash when the editor lost focus during an update and autocompletion was active. Fix a crash when using a snippet that has only one field, but multiple instances of that field. ##### New features The new `activateOnTypingDelay` option allows control over the debounce time before the completions are queried when the user types. ### [`v6.11.1`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6111-2023-11-27) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/6.11.0...6.11.1) ##### Bug fixes Fix a bug that caused typing over closed brackets after pressing enter to still not work in many situations. ### [`v6.11.0`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6110-2023-11-09) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/6.10.2...6.11.0) ##### Bug fixes Fix an issue that would prevent typing over closed brackets after starting a new line with enter. ##### New features Additional elements rendered in completion options with `addToOptions` are now given access to the editor view. ### [`v6.10.2`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6102-2023-10-13) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/6.10.1...6.10.2) ##### Bug fixes Fix a bug that caused `updateSyncTime` to always delay the initial population of the tooltip. ### [`v6.10.1`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6101-2023-10-11) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/6.10.0...6.10.1) ##### Bug fixes Fix a bug where picking a selection with the mouse could use the wrong completion if the completion list was updated after being opened. ### [`v6.10.0`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6100-2023-10-11) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/6.9.2...6.10.0) ##### New features The new autocompletion configuration option `updateSyncTime` allows control over how long fast sources are held back waiting for slower completion sources. ### [`v6.9.2`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#692-2023-10-06) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/6.9.1...6.9.2) ##### Bug fixes Fix a bug in `completeAnyWord` that could cause it to generate invalid regular expressions and crash.
codemirror/commands (@​codemirror/commands) ### [`v6.3.3`](https://togithub.com/codemirror/commands/blob/HEAD/CHANGELOG.md#633-2023-12-28) [Compare Source](https://togithub.com/codemirror/commands/compare/6.3.2...6.3.3) ##### Bug fixes Fix an issue causing cursor motion commands to not dispatch a transaction when the change only affects cursor associativity. ### [`v6.3.2`](https://togithub.com/codemirror/commands/blob/HEAD/CHANGELOG.md#632-2023-11-28) [Compare Source](https://togithub.com/codemirror/commands/compare/6.3.1...6.3.2) ##### Bug fixes Fix a regression that caused `deleteCharBackward` to sometimes delete a large chunk of text. ### [`v6.3.1`](https://togithub.com/codemirror/commands/blob/HEAD/CHANGELOG.md#631-2023-11-27) [Compare Source](https://togithub.com/codemirror/commands/compare/6.3.0...6.3.1) ##### Bug fixes When undoing, store the selection after the undone change with the redo event, so that redoing restores it. `deleteCharBackward` will no longer delete variant selector characters as separate characters.
codemirror/language (@​codemirror/language) ### [`v6.10.1`](https://togithub.com/codemirror/language/blob/HEAD/CHANGELOG.md#6101-2024-02-02) [Compare Source](https://togithub.com/codemirror/language/compare/6.10.0...6.10.1) ##### Bug fixes Fix an issue where, when a lot of code is visible in the initial editor, the bottom bit of code is shown without highlighting for one frame. ### [`v6.10.0`](https://togithub.com/codemirror/language/blob/HEAD/CHANGELOG.md#6100-2023-12-28) [Compare Source](https://togithub.com/codemirror/language/compare/6.9.3...6.10.0) ##### New features The new `bidiIsolates` extension can be used to wrap syntactic elements where this is appropriate in an element that isolates their text direction, avoiding weird ordering of neutral characters on direction boundaries. ### [`v6.9.3`](https://togithub.com/codemirror/language/blob/HEAD/CHANGELOG.md#693-2023-11-27) [Compare Source](https://togithub.com/codemirror/language/compare/6.9.2...6.9.3) ##### Bug fixes Fix an issue in `StreamLanguage` where it ran out of node type ids if you repeatedly redefined a language with the same token table. ### [`v6.9.2`](https://togithub.com/codemirror/language/blob/HEAD/CHANGELOG.md#692-2023-10-24) [Compare Source](https://togithub.com/codemirror/language/compare/6.9.1...6.9.2) ##### Bug fixes Allow `StreamParser` tokens get multiple highlighting tags.
codemirror/language-data (@​codemirror/language-data) ### [`v6.4.1`](https://togithub.com/codemirror/language-data/blob/HEAD/CHANGELOG.md#641-2024-02-09) [Compare Source](https://togithub.com/codemirror/language-data/compare/6.4.0...6.4.1) ##### Bug fixes Include .mts and .cts as TypeScript file extensions. ### [`v6.4.0`](https://togithub.com/codemirror/language-data/blob/HEAD/CHANGELOG.md#640-2024-01-22) [Compare Source](https://togithub.com/codemirror/language-data/compare/6.3.1...6.4.0) ##### Bug fixes Include .kts as an extension for Kotlin. Use [@​codemirror/lang-yaml](https://togithub.com/codemirror/lang-yaml) instead of the legacy mode for YAML content. ##### New features Add an entry for Liquid templates.
codemirror/lint (@​codemirror/lint) ### [`v6.5.0`](https://togithub.com/codemirror/lint/blob/HEAD/CHANGELOG.md#650-2024-01-30) [Compare Source](https://togithub.com/codemirror/lint/compare/6.4.2...6.5.0) ##### Bug fixes Make lint mark decorations inclusive, so that they are applied even if the marked content is replaced by a widget decoration. ##### New features `linter` can now be called with null as source to only provide a configuration. `markerFilter` and `tooltipFilter` function now get passed the current editor state.
codemirror/search (@​codemirror/search) ### [`v6.5.6`](https://togithub.com/codemirror/search/blob/HEAD/CHANGELOG.md#656-2024-02-07) [Compare Source](https://togithub.com/codemirror/search/compare/6.5.5...6.5.6) ##### Bug fixes Make `highlightSelectionMatches` include whitespace in the selection in its matches. Fix a bug that caused `SearchCursor` to return invalid ranges when matching astral chars that the the normalizer normalized to single-code-unit chars. ### [`v6.5.5`](https://togithub.com/codemirror/search/blob/HEAD/CHANGELOG.md#655-2023-11-27) [Compare Source](https://togithub.com/codemirror/search/compare/6.5.4...6.5.5) ##### Bug fixes Fix a bug that caused codes like `\n` to be unescaped in strings inserted via replace placeholders like `$&`. Use the keybinding Mod-Alt-g for `gotoLine` to the search keymap, to make it usable for people whose keyboard layout uses Alt/Option-g to type some character.
codemirror/state (@​codemirror/state) ### [`v6.4.1`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#641-2024-02-19) [Compare Source](https://togithub.com/codemirror/state/compare/6.4.0...6.4.1) ##### Bug fixes Fix an issue that caused widgets at the end of a mark decoration to be rendered in their own separate mark DOM element. ### [`v6.4.0`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#640-2023-12-28) [Compare Source](https://togithub.com/codemirror/state/compare/6.3.3...6.4.0) ##### Bug fixes When multiple ranges in a single range set overlap, put the smaller ones inside the bigger ones, so that overlapping decorations don't break up each other's elements when coming from the same source. ##### New features Selection and selection range `eq` methods now support an optional argument that makes them also compare by cursor associativity. The `RangeSet.join` function can be used to join multiple range sets together. ### [`v6.3.3`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#633-2023-12-06) [Compare Source](https://togithub.com/codemirror/state/compare/6.3.2...6.3.3) ##### Bug fixes Fix an issue where `Text.slice` and `Text.replace` could return objects with incorrect `length` when the given `from`/`to` values were out of range for the text. ### [`v6.3.2`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#632-2023-11-27) [Compare Source](https://togithub.com/codemirror/state/compare/6.3.1...6.3.2) ##### Bug fixes Make sure transactions cannot add multiple selections when `allowMultipleSelections` is false. Fix a bug that caused `Text.iterLines` to not return empty lines at the end of the iterated ranges. ### [`v6.3.1`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#631-2023-10-18) [Compare Source](https://togithub.com/codemirror/state/compare/6.3.0...6.3.1) ##### Bug fixes Give the tag property on `FacetReader` the type of the output type parameter to force TypeScript to infer the proper type when converting from `Facet` to `FacetReader`. ### [`v6.3.0`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#630-2023-10-12) [Compare Source](https://togithub.com/codemirror/state/compare/6.2.1...6.3.0) ##### New features The new `FacetReader` type provides a way to export a read-only handle to a `Facet`.
codemirror/view (@​codemirror/view) ### [`v6.25.0`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6250-2024-03-04) [Compare Source](https://togithub.com/codemirror/view/compare/6.24.1...6.25.0) ##### Bug fixes Properly recognize Android GBoard enter presses that strip a space at the end of the line as enter. Fix a bug that caused the gutter to have the wrong height when the editor was scaled after construction. When starting a composition after a non-inclusive mark decoration, temporarily insert a widget that prevents the composed text from inheriting that mark's styles. Make sure the selection is repositioned when a transaction changes decorations without changing the document. ##### New features View plugins can now provide a `docViewUpdate` method that is called whenever the document view is updated. Layers now take a `updateOnDocUpdate` option that controls whether they are automatically updated when the document view changes. ### [`v6.24.1`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6241-2024-02-19) [Compare Source](https://togithub.com/codemirror/view/compare/6.24.0...6.24.1) ##### Bug fixes Fix a crash that happens when hover tooltips are active during changes, introduced in 6.24.0. ### [`v6.24.0`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6240-2024-02-09) [Compare Source](https://togithub.com/codemirror/view/compare/6.23.1...6.24.0) ##### Bug fixes Fix an issue that broke context-menu select-all on Chrome when the viewport didn't cover the whole document. Make sure tooltips are ordered by extension precedence in the DOM. ##### New features Hover tooltip sources may now return multiple tooltips. ### [`v6.23.1`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6231-2024-01-24) [Compare Source](https://togithub.com/codemirror/view/compare/6.23.0...6.23.1) ##### Bug fixes Fix a bug that caused `Tooltip.above` to not take effect for tooltips that were already present when the tooltip plugin is initialized. Automatically reposition tooltips when their size changes. ### [`v6.23.0`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6230-2023-12-28) [Compare Source](https://togithub.com/codemirror/view/compare/6.22.3...6.23.0) ##### Bug fixes Work around odd iOS Safari behavior when doing select all. Fix a composition interruption when an widget is inserted next to the cursor. Fix a crash in bidirectional cursor motion. Simplify visual motion through bidirectional text, fix several corner cases where it would work badly. Fix a bug that broke some bidi isolates not on the first line of the document. ##### New features `EditorView.bidiIsolatedRanges` now supports automatically determining the direction of the range if not provided by the decoration. `EditorView.visualLineSide` can be used to find the visual end or start of a line with bidirectional text. The new `EditorView.outerDecorations` facet can be used to provide decorations that should always be at the bottom of the precedence stack. ### [`v6.22.3`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6223-2023-12-13) [Compare Source](https://togithub.com/codemirror/view/compare/6.22.2...6.22.3) ##### 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. ### [`v6.22.2`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6222-2023-12-08) [Compare Source](https://togithub.com/codemirror/view/compare/6.22.1...6.22.2) ##### 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. ### [`v6.22.1`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6221-2023-11-27) [Compare Source](https://togithub.com/codemirror/view/compare/6.22.0...6.22.1) ##### 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. ### [`v6.22.0`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6220-2023-11-03) [Compare Source](https://togithub.com/codemirror/view/compare/6.21.4...6.22.0) ##### 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. ### [`v6.21.4`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6214-2023-10-24) [Compare Source](https://togithub.com/codemirror/view/compare/6.21.3...6.21.4) ##### Bug fixes Support the `offset`, `getCoords`, `overlap`, and `resize` properties on hover tooltips, as long as they aren't given conflicting values when there are multiple active hover tooltips. Fix a bug that caused tooltips in the default configuration to be positioned incorrectly on Chrome when the editor was transformed. ### [`v6.21.3`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6213-2023-10-06) [Compare Source](https://togithub.com/codemirror/view/compare/6.21.2...6.21.3) ##### Bug fixes Fix an issue that caused `coordsForChar` to return the wrong rectangle for characters after a line wrap in Safari. Make the context menu work when clicking below the content in a fixed-height editor. Tooltips that have been put below/above their target position because there is no room on their default side now stay there on further updates.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



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

netlify[bot] commented 9 months ago

Deploy Preview for staticjscms ready!

Name Link
Latest commit 42075322a4326247e6eccabda6163417cc7eb40c
Latest deploy log https://app.netlify.com/sites/staticjscms/deploys/65e5cb88f742aa0008966ee2
Deploy Preview https://deploy-preview-1046.staticcms.org
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 9 months ago

Deploy Preview for demo-staticjscms failed.

Name Link
Latest commit 42075322a4326247e6eccabda6163417cc7eb40c
Latest deploy log https://app.netlify.com/sites/demo-staticjscms/deploys/65e5cb88ded5340008712ac7
codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.82%. Comparing base (9379d3c) to head (4207532).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1046 +/- ## ======================================= Coverage 55.82% 55.82% ======================================= Files 259 259 Lines 12360 12360 Branches 3108 3108 ======================================= Hits 6900 6900 Misses 5048 5048 Partials 412 412 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.