Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security] Bump codemirror from 5.51.0 to 5.61.0 in /assets #413

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps codemirror from 5.51.0 to 5.61.0.

Release notes

Sourced from codemirror's releases.

5.61.0

Version 5.61.0

Bug fixes

Improve support for being in a shadow DOM in contenteditable mode.

Prevent line number from being read by screen readers.

show-hint addon: Fix a crash caused by a race condition.

javascript mode: Improve scope tracking.

New features

The library now emits an "updateGutter" event when the gutter width changes.

emacs bindings: Provide named commands for all bindings.

5.60.0

Version 5.60.0

Bug fixes

Fix autofocus feature in contenteditable mode.

simple mode addon: Fix a null-dereference crash.

multiplex addon: Make it possible to use parseDelimiters when both delimiters are the same.

julia mode: Fix a lockup bug.

New features

setSelections now allows ranges to omit the head property when it is equal to anchor.

sublime bindings: Add support for reverse line sorting.

5.59.4

Version 5.59.4

Bug fixes

Give the scrollbar corner filler a background again, to prevent content from peeping through between the scrollbars.

5.59.3

... (truncated)

Changelog

Sourced from codemirror's changelog.

5.61.0 (2021-04-20)

Bug fixes

Improve support for being in a shadow DOM in contenteditable mode.

Prevent line number from being read by screen readers.

show-hint addon: Fix a crash caused by a race condition.

javascript mode: Improve scope tracking.

New features

The library now emits an "updateGutter" event when the gutter width changes.

emacs bindings: Provide named commands for all bindings.

5.60.0 (2021-03-20)

Bug fixes

Fix autofocus feature in contenteditable mode.

simple mode addon: Fix a null-dereference crash.

multiplex addon: Make it possible to use parseDelimiters when both delimiters are the same.

julia mode: Fix a lockup bug.

New features

setSelections now allows ranges to omit the head property when it is equal to anchor.

sublime bindings: Add support for reverse line sorting.

5.59.4 (2021-02-24)

Bug fixes

Give the scrollbar corner filler a background again, to prevent content from peeping through between the scrollbars.

5.59.3 (2021-02-20)

Bug fixes

Don't override the way zero-with non-joiners are rendered.

Fix an issue where resetting the history cleared the undoDepth option's value.

... (truncated)

Commits
  • eac70bb Mark version 5.61.0
  • 97ee575 [emacs bindings] Define named commands for the key bindings
  • 86af2dc [show-hint addon] Fix race condition in scroll measurement
  • f3033a2 Send new "updateGutter" signal on gutter resize
  • a8f5286 [runmode] Export countColumn on the minimal CodeMirror
  • 123c670 [anywordhint demo] Update to show current code
  • 2997167 Prevent line numbers from being voiced by screen readers
  • 770433e Use shadow DOM aware activeElement in contenteditable mode
  • 8abe468 [r mode] Tweak regex for dots
  • 7b9f8a6 [r mode] Remove extra test with more appropriate regexp
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 22, 2021
@dependabot-preview
Copy link
Contributor Author

We've just been alerted that this update fixes a security vulnerability:

Sourced from The GitHub Security Advisory Database.

Regular expression denial of service in codemirror

This affects the package codemirror before 5.58.2; the package org.apache.marmotta.webjars:codemirror before 5.58.2. The vulnerable regular expression is located in https://github.com/codemirror/CodeMirror/blob/cdb228ac736369c685865b122b736cd0d397836c/mode/javascript/javascript.jsL129. The ReDOS vulnerability of the regex is mainly due to the sub-pattern (s|/.?/)

Affected versions: ["< 5.58.2"]

@dependabot-preview dependabot-preview bot changed the title Bump codemirror from 5.51.0 to 5.61.0 in /assets [Security] Bump codemirror from 5.51.0 to 5.61.0 in /assets May 10, 2021
@dependabot-preview dependabot-preview bot added the security Pull requests that address a security vulnerability label May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants