This repository was archived by the owner on May 3, 2024. It is now read-only.
chore(deps): update dependency @codemirror/state to v6 #67
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.19.1->6.4.1Release Notes
codemirror/state (@codemirror/state)
v6.4.1Compare 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.0Compare 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
eqmethods now support an optional argument that makes them also compare by cursor associativity.The
RangeSet.joinfunction can be used to join multiple range sets together.v6.3.3Compare Source
Bug fixes
Fix an issue where
Text.sliceandText.replacecould return objects with incorrectlengthwhen the givenfrom/tovalues were out of range for the text.v6.3.2Compare Source
Bug fixes
Make sure transactions cannot add multiple selections when
allowMultipleSelectionsis false.Fix a bug that caused
Text.iterLinesto not return empty lines at the end of the iterated ranges.v6.3.1Compare Source
Bug fixes
Give the tag property on
FacetReaderthe type of the output type parameter to force TypeScript to infer the proper type when converting fromFacettoFacetReader.v6.3.0Compare Source
New features
The new
FacetReadertype provides a way to export a read-only handle to aFacet.v6.2.1Compare Source
Bug fixes
Fix an issue that could cause
RangeSet.compareto miss changes in the set of active ranges around a point range.v6.2.0Compare Source
New features
EditorSelection.rangenow accepts an optional 4th argument to specify the bidi level of the range's head position.v6.1.4Compare Source
Bug fixes
Fix a bug that caused the
openStartvalue passed to span iterators to be incorrect around widgets in some circumstances.v6.1.3Compare Source
Bug fixes
Avoid unnecessary calls to computed facet getters when a state is reconfigured but no dependencies of the computed facet change.
Fix an infinite loop in
RangeSet.eqwhen thetoparameter isn't given.v6.1.2Compare Source
Bug fixes
Fix an issue where, when multiple transaction extenders took effect, only the highest-precedence one was actually included in the transaction.
v6.1.1Compare Source
Bug fixes
Fix a bug in range set span iteration that would cause decorations to be inappropriately split in some situations.
v6.1.0Compare Source
Bug fixes
Refine change mapping to preserve insertions made by concurrent changes.
New features
The
enablesoption toFacet.definemay now take a function, which will be called with the facet value to create the extensions.v6.0.1Compare Source
Bug fixes
Fix a problem that caused effects'
mapmethods to be called with an incorrect change set when filtering changes.v6.0.0Compare Source
Breaking changes
Update dependencies to 6.0.0
v0.20.1Compare Source
New features
EditorView.phrasenow accepts additional arguments, which it will interpolate into the phrase in the place of$markers.v0.20.0Compare Source
Breaking changes
The deprecated precedence names
fallback,extend, andoverridewere 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 now live in this package.
The exports from @codemirror/text now live in this package.
v0.19.9Compare Source
Bug fixes
Mapping a non-empty selection range now always puts any newly inserted text on the sides of the range outside of the mapped version.
v0.19.8Compare Source
Bug fixes
Fix a bug where facet values with computed inputs could incorrectly retain their old value on reconfiguration.
v0.19.7Compare Source
Bug fixes
Avoid recomputing facets on state reconfiguration if that facet's inputs stayed precisely the same.
Selection ranges created with
EditorSelection.rangewill now have an assoc pointing at their anchor, when non-empty.v0.19.6Compare Source
Bug fixes
Fix a bug that caused facet compare functions to be called with an invalid value in some situations.
Fix a bug that caused dynamic facet values to be incorrectly kept unchanged when reconfiguration changed one of their dependencies.
v0.19.5Compare Source
Bug fixes
Fix a bug that would cause dynamic facet values influenced by a state reconfiguration to not properly recompute.
v0.19.4Compare Source
Bug fixes
When reconfiguring a state, effects from the reconfiguring transaction can now be seen by newly added state fields.
v0.19.3Compare Source
New features
The precedence levels (under
Prec) now have more generic names, because their 'meaningful' names were entirely inappropriate in many situations.v0.19.2Compare Source
New features
The editor state now has a
readOnlyproperty with a matching facet to control its value.Configuration
📅 Schedule: Branch creation - "before 3am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.