Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

fix(deps): update codemirror - autoclosed #1046

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 4, 2024

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

Compare Source

New features

Completions may now provide 'commit characters' that, when typed, commit the completion before inserting the character.

v6.12.0

Compare Source

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

Compare Source

Bug fixes

Fix a bug that caused typing over closed brackets after pressing enter to still not work in many situations.

v6.11.0

Compare Source

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

Compare Source

Bug fixes

Fix a bug that caused updateSyncTime to always delay the initial population of the tooltip.

v6.10.1

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

Bug fixes

Fix an issue causing cursor motion commands to not dispatch a transaction when the change only affects cursor associativity.

v6.3.2

Compare Source

Bug fixes

Fix a regression that caused deleteCharBackward to sometimes delete a large chunk of text.

v6.3.1

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

Bug fixes

Allow StreamParser tokens get multiple highlighting tags.

codemirror/language-data (@​codemirror/language-data)

v6.4.1

Compare Source

Bug fixes

Include .mts and .cts as TypeScript file extensions.

v6.4.0

Compare Source

Bug fixes

Include .kts as an extension for Kotlin.

Use @​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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

Bug fixes

Fix a crash that happens when hover tooltips are active during changes, introduced in 6.24.0.

v6.24.0

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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.


  • If you want to rebase/retry this PR, check this box

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

Copy link

netlify bot commented Jan 4, 2024

Deploy Preview for staticjscms ready!

Name Link
🔨 Latest commit 4207532
🔍 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.

Copy link

netlify bot commented Jan 4, 2024

Deploy Preview for demo-staticjscms failed.

Name Link
🔨 Latest commit 4207532
🔍 Latest deploy log https://app.netlify.com/sites/demo-staticjscms/deploys/65e5cb88ded5340008712ac7

Copy link

codecov bot commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@           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           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/codemirror branch from 11e37aa to 61d233e Compare January 12, 2024 18:43
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 70218c7 to 511574b Compare January 24, 2024 13:05
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 7679fb9 to 25e89c6 Compare February 2, 2024 12:16
@renovate renovate bot force-pushed the renovate/codemirror branch 3 times, most recently from b3c6f78 to 4a7ec74 Compare February 9, 2024 22:41
@renovate renovate bot force-pushed the renovate/codemirror branch from 4a7ec74 to 3cabb3c Compare February 19, 2024 17:09
@renovate renovate bot force-pushed the renovate/codemirror branch from 3cabb3c to 6a4fb2b Compare February 29, 2024 07:35
@renovate renovate bot force-pushed the renovate/codemirror branch from 6a4fb2b to 4207532 Compare March 4, 2024 13:24
@renovate renovate bot changed the title fix(deps): update codemirror fix(deps): update codemirror - autoclosed Mar 5, 2024
@renovate renovate bot closed this Mar 5, 2024
@renovate renovate bot deleted the renovate/codemirror branch March 5, 2024 14:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants