thcolin / sensorr

🍿📼 Sensorr - Your Friendly Digital Video Recorder
GNU Lesser General Public License v3.0
98 stars 7 forks source link

[Security] Bump codemirror from 5.48.4 to 5.61.0 #261

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps codemirror from 5.48.4 to 5.61.0. This update includes a security fix.

Vulnerabilities fixed

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

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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #263.