This repository has been 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.1
Release Notes
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
andText.replace
could return objects with incorrectlength
when the givenfrom
/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 fromFacet
toFacetReader
.v6.3.0
Compare Source
New features
The new
FacetReader
type provides a way to export a read-only handle to aFacet
.v6.2.1
Compare Source
Bug fixes
Fix an issue that could cause
RangeSet.compare
to miss changes in the set of active ranges around a point range.v6.2.0
Compare Source
New features
EditorSelection.range
now accepts an optional 4th argument to specify the bidi level of the range's head position.v6.1.4
Compare Source
Bug fixes
Fix a bug that caused the
openStart
value passed to span iterators to be incorrect around widgets in some circumstances.v6.1.3
Compare 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.eq
when theto
parameter isn't given.v6.1.2
Compare 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.1
Compare Source
Bug fixes
Fix a bug in range set span iteration that would cause decorations to be inappropriately split in some situations.
v6.1.0
Compare Source
Bug fixes
Refine change mapping to preserve insertions made by concurrent changes.
New features
The
enables
option toFacet.define
may now take a function, which will be called with the facet value to create the extensions.v6.0.1
Compare Source
Bug fixes
Fix a problem that caused effects'
map
methods to be called with an incorrect change set when filtering changes.v6.0.0
Compare Source
Breaking changes
Update dependencies to 6.0.0
v0.20.1
Compare Source
New features
EditorView.phrase
now accepts additional arguments, which it will interpolate into the phrase in the place of$
markers.v0.20.0
Compare Source
Breaking changes
The deprecated precedence names
fallback
,extend
, andoverride
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 now live in this package.
The exports from @codemirror/text now live in this package.
v0.19.9
Compare 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.8
Compare Source
Bug fixes
Fix a bug where facet values with computed inputs could incorrectly retain their old value on reconfiguration.
v0.19.7
Compare Source
Bug fixes
Avoid recomputing facets on state reconfiguration if that facet's inputs stayed precisely the same.
Selection ranges created with
EditorSelection.range
will now have an assoc pointing at their anchor, when non-empty.v0.19.6
Compare 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.5
Compare Source
Bug fixes
Fix a bug that would cause dynamic facet values influenced by a state reconfiguration to not properly recompute.
v0.19.4
Compare Source
Bug fixes
When reconfiguring a state, effects from the reconfiguring transaction can now be seen by newly added state fields.
v0.19.3
Compare 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.2
Compare Source
New features
The editor state now has a
readOnly
property 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.