Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

[Security] Bump codemirror from 5.52.0 to 5.61.1 #1295

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

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jun 11, 2021

⚠️ Dependabot Preview has been deactivated ⚠️

This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to dependabot commands nor will it be automatically closed if a new version is found.

If you close this pull request, Dependabot will re-create it the next time it checks for updates and everything will work as expected.


Bumps codemirror from 5.52.0 to 5.61.1. 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.1

Version 5.61.1

Bug fixes

Fix a bug where changing the editor's document could confuse text-direction management.

Fix a bug in horizontally scrolling the cursor into view.

Optimize adding lots of marks in a single transaction.

simple mode addon: Support regexps with a unicode flag.

javascript mode: Add support for TypeScript template string types, improve integration with JSX mode.

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.

... (truncated)

Changelog

Sourced from codemirror's changelog.

5.61.1 (2021-05-20)

Bug fixes

Fix a bug where changing the editor's document could confuse text-direction management.

Fix a bug in horizontally scrolling the cursor into view.

Optimize adding lots of marks in a single transaction.

simple mode addon: Support regexps with a unicode flag.

javascript mode: Add support for TypeScript template string types, improve integration with JSX mode.

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.

... (truncated)

Commits
  • 9b57f4b Mark version 5.61.1
  • 4cc111c [mustache demo] Fix link to mustache documentation url
  • 72579dd Remove quadratic complexity of adding lots of marks to a single line
  • 687b6dd Fix bug in scrolling the cursor into view
  • c7aeed9 [javascript mode] Properly handle exclamation marks in class fields
  • 472b458 [javascript mode] Add support for template string types
  • e2d0b28 [crystal mode] Fix % highlight
  • 3207e3c [abbott.vim theme] Fix -moz-selection syntax error
  • 90ee74f Add primo sponsor link
  • 3694fe2 [abbott.vim theme] Add
  • 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)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.52.0 to 5.61.1. **This update includes a security fix.**
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](codemirror/codemirror5@5.52.0...5.61.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Jun 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants