[Snyk] Upgrade codemirror from 5.41.0 to 5.54.0 #164
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.
Snyk has created this PR to upgrade codemirror from 5.41.0 to 5.54.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version fixes:
SNYK-JS-CODEMIRROR-569611
Release notes
Package name: codemirror
Version 5.54.0
Bug fixes
Improve support for having focus inside in-editor widgets in contenteditable-mode.
Fix issue where the scroll position could jump when clicking on a selection in Chrome.
python mode: Better format string support.
javascript mode: Improve parsing of private properties and class fields.
matchbrackets addon: Disable highlighting when the editor doesn't have focus.
New features
runmode addon: Properly support for cross-line lookahead.
vim bindings: Allow Ex-Commands with non-word names.
gfm mode: Add a
fencedCodeBlockDefaultMode
option.Version 5.53.2
Bug fixes
show-hint addon: Fix a regression that broke completion picking.
Version 5.53.0
Bug fixes
Fix a bug where the editor layout could remain confused after a call to
refresh
when line wrapping was enabled.dialog addon: Don't close dialogs when the document window loses focus.
merge addon: Compensate for editor top position when aligning lines.
vim bindings: Improve EOL handling.
emacs bindings: Include default keymap as a fallback.
julia mode: Fix an infinite loop bug.
show-hint addon: Scroll cursor into view when picking a completion.
New features
New option:
screenReaderLabel
to add a label to the editor.New mode: wast.
Version 5.52.2
Bug fixes
Fix selection management in contenteditable mode when the editor doesn't have focus.
Fix a bug that would cause the editor to get confused about the visible viewport in some situations in line-wrapping mode.
markdown mode: Don't treat single dashes as setext header markers.
zenburn theme: Make sure background styles take precedence over default styles.
css mode: Recognize a number of new properties.
Version 5.52.0
Bug fixes
Fix a bug in handling of bidi text with Arabic numbers in a right-to-left editor.
Fix a crash when combining file drop with a
"beforeChange"
filter.Prevent issue when passing negative coordinates to
scrollTo
.New features
lint and tern addons: Allow the tooltip to be appended to the editor wrapper element instead of the document body.
Version 5.51.0
Bug fixes
Fix the behavior of the home and end keys when
direction
is set to"rtl"
.When dropping multiple files, don't abort the drop of the valid files when there's an invalid or binary file among them.
Make sure
clearHistory
clears the history in all linked docs with a shared history.vim bindings: Fix behavior of
'
and`
marks, fixR
in visual mode.New features
vim bindings: Support
gi
, gI, and
gJ`.Version 5.50.2
Bug fixes
Fix bug that broke removal of line widgets.
Version 5.50.0
Bug fixes
Make Shift-Delete to cut work on Firefox.
closetag addon: Properly handle self-closing tags.
handlebars mode: Fix triple-brace support.
searchcursor addon: Support mathing
$
in reverse regexp search.panel addon: Don't get confused by changing panel sizes.
javascript-hint addon: Complete variables defined in outer scopes.
sublime bindings: Make by-subword motion more consistent with Sublime Text.
julia mode: Don't break on zero-prefixed integers.
elm mode: Sync with upstream version.
sql mode: Support Postgres-style backslash-escaped string literals.
New features
Add a
className
option toaddLineWidget
.foldcode addon: Allow fold widgets to be functions, to dynamically create fold markers.
New themes: ayu-dark and ayu-mirage.
Version 5.49.2
Bug fixes
sublime bindings: Make
selectNextOccurrence
stop doing something when all occurrences are selected.continuecomment addon: Respect
indentWithTabs
option.foldgutter addon: Optimize by reusing DOM when possible.
markdown mode: Don't reset inline styles at the start of a continued list item line.
clike mode: Add a configuration for Objective-C++.
Version 5.49.0
Bug fixes
octave mode: Don't mark common punctuation as error.
clike mode: Support nested comments and properly indent lambdas in Kotlin.
foldgutter and annotatescrollbar addons: Optimize use of
setTimeout
/clearTimeout
.New features
New themes: moxer, material-darker, material-palenight, material-ocean.
xml mode: Provide a more abstract way to query context, which other modes for XML-like languages can also implement.
Commit messages
Package name: codemirror
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs