toyai / python-playground

Interactive Playground for Python
https://python-playground.netlify.app
MIT License
12 stars 1 forks source link

chore(deps): update codemirror to v6 (major) #108

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@codemirror/autocomplete ^0.20.1 -> ^6.0.2 age adoption passing confidence
@codemirror/commands ^0.20.0 -> ^6.0.0 age adoption passing confidence
@codemirror/lang-python ^0.20.0 -> ^6.0.0 age adoption passing confidence
@codemirror/language ^0.20.2 -> ^6.1.0 age adoption passing confidence
@codemirror/search ^0.20.1 -> ^6.0.0 age adoption passing confidence
@codemirror/state ^0.20.0 -> ^6.0.1 age adoption passing confidence
@codemirror/view ^0.20.6 -> ^6.0.2 age adoption passing confidence

Release Notes

codemirror/autocomplete ### [`v6.0.2`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#​602-2022-06-15) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/6.0.1...6.0.2) ##### Bug fixes Declare package dependencies as peer dependencies as an attempt to avoid duplicated package issues. ### [`v6.0.1`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#​601-2022-06-09) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/6.0.0...6.0.1) ##### Bug fixes Support escaping `${` or `#{` in snippets. ### [`v6.0.0`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#​600-2022-06-08) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/0.20.3...6.0.0) ##### Bug fixes Scroll the cursor into view when inserting a snippet. ### [`v0.20.3`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#​0203-2022-05-30) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/0.20.2...0.20.3) ##### Bug fixes Add an aria-label to the completion listbox. Fix a regression that caused transactions generated for completion to not have a `userEvent` annotation. ### [`v0.20.2`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#​0202-2022-05-24) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/0.20.1...0.20.2) ##### New features The package now exports an `insertCompletionText` helper that implements the default behavior for applying a completion.
codemirror/commands ### [`v6.0.0`](https://togithub.com/codemirror/commands/blob/HEAD/CHANGELOG.md#​600-2022-06-08) [Compare Source](https://togithub.com/codemirror/commands/compare/0.20.0...6.0.0) ##### Bug fixes Fix a bug where by-page selection commands sometimes moved one line too far.
codemirror/lang-python ### [`v6.0.0`](https://togithub.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#​600-2022-06-08) [Compare Source](https://togithub.com/codemirror/lang-python/compare/0.20.0...6.0.0) ##### Breaking changes Update dependencies to 6.0.0
codemirror/language ### [`v6.1.0`](https://togithub.com/codemirror/language/blob/HEAD/CHANGELOG.md#​610-2022-06-20) [Compare Source](https://togithub.com/codemirror/language/compare/6.0.0...6.1.0) ##### New features The `foldState` field is now public, and can be used to serialize and deserialize the fold state. ### [`v6.0.0`](https://togithub.com/codemirror/language/blob/HEAD/CHANGELOG.md#​600-2022-06-08) [Compare Source](https://togithub.com/codemirror/language/compare/0.20.2...6.0.0) ##### New features The `foldingChanged` option to `foldGutter` can now be used to trigger a recomputation of the fold markers.
codemirror/search ### [`v6.0.0`](https://togithub.com/codemirror/search/blob/HEAD/CHANGELOG.md#​600-2022-06-08) [Compare Source](https://togithub.com/codemirror/search/compare/0.20.1...6.0.0) ##### Bug fixes Don't crash when a custom search panel doesn't have a field named 'search'. Make sure replacements are announced to screen readers.
codemirror/state ### [`v6.0.1`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#​601-2022-06-17) [Compare Source](https://togithub.com/codemirror/state/compare/6.0.0...6.0.1) ##### Bug fixes Fix a problem that caused effects' `map` methods to be called with an incorrect change set when filtering changes. ### [`v6.0.0`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#​600-2022-06-08) [Compare Source](https://togithub.com/codemirror/state/compare/0.20.1...6.0.0) ##### Breaking changes Update dependencies to 6.0.0 ### [`v0.20.1`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#​0201-2022-06-02) [Compare Source](https://togithub.com/codemirror/state/compare/0.20.0...0.20.1) ##### New features `EditorView.phrase` now accepts additional arguments, which it will interpolate into the phrase in the place of `$` markers.
codemirror/view ### [`v6.0.2`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#​602-2022-06-23) [Compare Source](https://togithub.com/codemirror/view/compare/6.0.1...6.0.2) ##### Bug fixes Fix a CSS issue that broke horizontal scroll width stabilization. Fix a bug where `defaultLineHeight` could get an incorrect value in very narrow editors. ### [`v6.0.1`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#​601-2022-06-17) [Compare Source](https://togithub.com/codemirror/view/compare/6.0.0...6.0.1) ##### Bug fixes Avoid DOM selection corruption when the editor doesn't have focus but has selection and updates its content. Fall back to dispatching by key code when a key event produces a non-ASCII character (so that Cyrillic and Arabic keyboards can still use bindings specified with Latin characters). ### [`v6.0.0`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#​600-2022-06-08) [Compare Source](https://togithub.com/codemirror/view/compare/0.20.7...6.0.0) ##### New features The new static `EditorView.findFromDOM` method can be used to retrieve an editor instance from its DOM structure. Instead of passing a constructed state to the `EditorView` constructor, it is now also possible to inline the configuration options to the state in the view config object. ### [`v0.20.7`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#​0207-2022-05-30) [Compare Source](https://togithub.com/codemirror/view/compare/0.20.6...0.20.7) ##### Bug fixes Fix an issue on Chrome Android where the DOM could fail to display the actual document after backspace. Avoid an issue on Chrome Android where DOM changes were sometimes inappropriately replace by a backspace key effect due to spurious beforeinput events. Fix a problem where the content element's width didn't cover the width of the actual content. Work around a bug in Chrome 102 which caused wheel scrolling of the editor to be interrupted every few lines.

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), 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.

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



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

netlify[bot] commented 2 years ago

Deploy Preview for python-playground ready!

Name Link
Latest commit 3ba4ef987e296e4baf2f0986a4e46cd2230c495c
Latest deploy log https://app.netlify.com/sites/python-playground/deploys/62b4fa414a64420009baa91a
Deploy Preview https://deploy-preview-108--python-playground.netlify.app/
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 settings.