stencila / designa

📐 Stencila's design system
https://stencila.github.io/designa
Apache License 2.0
11 stars 1 forks source link

fix(dependencies): update codemirror editor packages to ^0.20.0 #323

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@codemirror/autocomplete ^0.19.3 -> ^0.20.0 age adoption passing confidence
@codemirror/commands ^0.19.4 -> ^0.20.0 age adoption passing confidence
@codemirror/lang-javascript ^0.19.0 -> ^0.20.0 age adoption passing confidence
@codemirror/lang-json ^0.19.0 -> ^0.20.0 age adoption passing confidence
@codemirror/lang-markdown ^0.19.0 -> ^0.20.0 age adoption passing confidence
@codemirror/lang-python ^0.19.0 -> ^0.20.0 age adoption passing confidence
@codemirror/lang-xml ^0.19.0 -> ^0.20.0 age adoption passing confidence
@codemirror/legacy-modes ^0.19.0 -> ^0.20.0 age adoption passing confidence
@codemirror/search ^0.19.1 -> ^0.20.0 age adoption passing confidence
@codemirror/state ^0.19.2 -> ^0.20.0 age adoption passing confidence
@codemirror/view ^0.19.7 -> ^0.20.0 age adoption passing confidence

Release Notes

codemirror/autocomplete ### [`v0.20.0`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#​0200-2022-04-20) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/0.19.15...0.20.0) ##### Breaking changes `CompletionResult.span` has been renamed to `validFor`, and may now hold a function as well as a regular expression. ##### Bug fixes Remove code that dropped any options beyond the 300th one when matching and sorting option lists. Completion will now apply to all cursors when there are multiple cursors. ##### New features `CompletionResult.update` can now be used to implement quick autocompletion updates in a synchronous way. The [@​codemirror/closebrackets](https://togithub.com/codemirror/closebrackets) package was merged into this one.
codemirror/commands ### [`v0.20.0`](https://togithub.com/codemirror/commands/blob/HEAD/CHANGELOG.md#​0200-2022-04-20) [Compare Source](https://togithub.com/codemirror/commands/compare/0.19.8...0.20.0) ##### Breaking changes There is no longer a separate `commentKeymap`. Those bindings are now part of `defaultKeymap`. ##### Bug fixes Make `cursorPageUp` and `cursorPageDown` move by window height when the editor is higher than the window. Make sure the default behavior of Home/End is prevented, since it could produce unexpected results on macOS. ##### New features The exports from [@​codemirror/comment](https://togithub.com/codemirror/comment) are now available in this package. The exports from the [@​codemirror/history](https://togithub.com/codemirror/history) package are now available from this package.
codemirror/lang-javascript ### [`v0.20.0`](https://togithub.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#​0200-2022-04-20) [Compare Source](https://togithub.com/codemirror/lang-javascript/compare/0.19.7...0.20.0) ##### New features The new `autoCloseTags` extension (included by default in the `javascript` language extension when `jsx` is configured) finishes JSX closing tags when you type a `>` or `/` character.
codemirror/lang-json ### [`v0.20.0`](https://togithub.com/codemirror/lang-json/blob/HEAD/CHANGELOG.md#​0200-2022-04-20) [Compare Source](https://togithub.com/codemirror/lang-json/compare/0.19.2...0.20.0) ##### Breaking changes Update dependencies to 0.20.0
codemirror/lang-markdown ### [`v0.20.0`](https://togithub.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#​0200-2022-04-20) [Compare Source](https://togithub.com/codemirror/lang-markdown/compare/0.19.6...0.20.0) ##### New features `insertNewlineContinueMarkup` can now continue task lists. Move highlighting information into [@​lezer/markdown](https://togithub.com/lezer/markdown)
codemirror/lang-python ### [`v0.20.0`](https://togithub.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#​0200-2022-04-20) [Compare Source](https://togithub.com/codemirror/lang-python/compare/0.19.5...0.20.0) ##### Bug fixes Add folding information for set and tuple expressions. ### [`v0.19.5`](https://togithub.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#​0195-2022-04-06) [Compare Source](https://togithub.com/codemirror/lang-python/compare/0.19.4...0.19.5) ##### Bug fixes Make sure \* and \*\* modifiers are highlighted as such, add modifier tag for FormatSpec nodes.
codemirror/lang-xml ### [`v0.20.0`](https://togithub.com/codemirror/lang-xml/blob/HEAD/CHANGELOG.md#​0200-2022-04-20) [Compare Source](https://togithub.com/codemirror/lang-xml/compare/0.19.2...0.20.0) ##### Breaking changes Update dependencies to 0.20.0
codemirror/legacy-modes ### [`v0.20.0`](https://togithub.com/codemirror/legacy-modes/blob/HEAD/CHANGELOG.md#​0200-2022-04-20) [Compare Source](https://togithub.com/codemirror/legacy-modes/compare/0.19.1...0.20.0) ##### Breaking changes Update dependencies to 0.20.0
codemirror/search ### [`v0.20.1`](https://togithub.com/codemirror/search/blob/HEAD/CHANGELOG.md#​0201-2022-04-22) [Compare Source](https://togithub.com/codemirror/search/compare/0.20.0...0.20.1) ##### New features It is now possible to disable backslash escapes in search queries with the `literal` option. ### [`v0.20.0`](https://togithub.com/codemirror/search/blob/HEAD/CHANGELOG.md#​0200-2022-04-20) [Compare Source](https://togithub.com/codemirror/search/compare/0.19.10...0.20.0) ##### Bug fixes Make the `wholeWords` option to `highlightSelectionMatches` default to false, as intended. ### [`v0.19.10`](https://togithub.com/codemirror/search/blob/HEAD/CHANGELOG.md#​01910-2022-04-04) [Compare Source](https://togithub.com/codemirror/search/compare/0.19.9...0.19.10) ##### Bug fixes Make sure search matches are highlighted when scrolling new content into view.
codemirror/state ### [`v0.20.0`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#​0200-2022-04-20) [Compare Source](https://togithub.com/codemirror/state/compare/0.19.9...0.20.0) ##### Breaking changes The deprecated precedence names `fallback`, `extend`, and `override` were removed from the library. ##### Bug fixes Fix a bug where, if an extension value occurs multiple times, its lowest, rather than highest precedence is used. Fix an issue where facets with computed inputs would unneccesarily have their outputs recreated on state reconfiguration. Fix a bug in the order in which new values for state fields and facets were computed, which could cause dynamic facets to hold the wrong value in some situations. ##### New features The exports from [@​codemirror/rangeset](https://togithub.com/codemirror/rangeset) now live in this package. The exports from [@​codemirror/text](https://togithub.com/codemirror/text) now live in this package.
codemirror/view ### [`v0.20.2`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#​0202-2022-04-22) [Compare Source](https://togithub.com/codemirror/view/compare/0.20.1...0.20.2) ##### New features The new `hideOn` option to `hoverTooltip` allows more fine-grained control over when the tooltip should hide. ### [`v0.20.1`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#​0201-2022-04-20) [Compare Source](https://togithub.com/codemirror/view/compare/0.20.0...0.20.1) ##### Bug fixes Remove debug statements that accidentally made it into 0.20.0. Fix a regression in `moveVertically`. ### [`v0.20.0`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#​0200-2022-04-20) [Compare Source](https://togithub.com/codemirror/view/compare/0.19.48...0.20.0) ##### Breaking changes The deprecated interfaces `blockAtHeight`, `visualLineAtHeight`, `viewportLines`, `visualLineAt`, `scrollPosIntoView`, `scrollTo`, and `centerOn` were removed from the library. All decorations are now provided through `EditorView.decorations`, and are part of a single precedence ordering. Decoration sources that need access to the view are provided as functions. Atomic ranges are now specified through a facet (`EditorView.atomicRanges`). Scroll margins are now specified through a facet (`EditorView.scrollMargins`). Plugin fields no longer exist in the library (and are replaced by facets holding function values). This package no longer re-exports the Range type from [@​codemirror/state](https://togithub.com/codemirror/state). ##### Bug fixes Fix a bug where zero-length block widgets could cause `viewportLineBlocks` to contain overlapping ranges. ##### New features The new `perLineTextDirection` facet configures whether the editor reads text direction per line, or uses a single direction for the entire editor. `EditorView.textDirectionAt` returns the direction around a given position. `rectangularSelection` and `crosshairCursor` from [@​codemirror/rectangular-selection](https://togithub.com/codemirror/rectangular-selection) were merged into this package. This package now exports the tooltip functionality that used to live in [@​codemirror/tooltip](https://togithub.com/codemirror/tooltip). The exports from the old [@​codemirror/panel](https://togithub.com/codemirror/panel) package are now available from this package. The exports from the old [@​codemirror/gutter](https://togithub.com/codemirror/gutter) package are now available from this package. ### [`v0.19.48`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#​01948-2022-03-30) [Compare Source](https://togithub.com/codemirror/view/compare/0.19.47...0.19.48) ##### Bug fixes Fix an issue where DOM syncing could crash when a DOM node was moved from a parent to a child node (via widgets reusing existing nodes). To avoid interfering with things like a vim mode too much, the editor will now only activate the tab-to-move-focus escape hatch after an escape press that wasn't handled by an event handler. Make sure the view measures itself before the page is printed. Tweak types of view plugin defining functions to avoid TypeScript errors when the plugin value doesn't have any of the interface's properties.

Configuration

📅 Schedule: "before 12pm on Wednesday" in timezone UTC.

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



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