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.45.0 to 5.62.0 #366

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps codemirror from 5.45.0 to 5.62.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.62.0

Version 5.62.0

Bug fixes

Improve support for vim-style cursors in a number of themes.

New features

lint addon: Add support for highlighting lines with errors or warnings.

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

... (truncated)

Changelog

Sourced from codemirror's changelog.

5.62.0 (2021-06-21)

Bug fixes

Improve support for vim-style cursors in a number of themes.

New features

lint addon: Add support for highlighting lines with errors or warnings.

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.

... (truncated)

Commits
  • 434d3e8 Mark release 5.62.0
  • 4c6759e [themes] Make sure fat cursor backgrounds are specialized for .cm-fat-cursor
  • bac5a2d [themes] Add styling for vim-style cursors to more themes
  • 9b81d0f Delete trailing whitespace
  • 81ff51f [soy mode] Add support for {extern and {export extern
  • 676b510 [soy mode] Add velog tag
  • f347fb3 Adjust ci script
  • 8581f70 Add github actions CI script
  • 6b290a4 [manual] Augment eachLine doc
  • b69f9d9 [lint addon] And an arrow function
  • 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.45.0 to 5.62.0. **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.45.0...5.62.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code security Pull requests that address a security vulnerability labels Jun 21, 2021
@github-actions
Copy link

Unit Test Results

    1 files  ±0      1 suites  ±0   38s ⏱️ -1s
140 tests ±0  140 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 841f33e. ± Comparison against base commit a808e47.

@dependabot-preview
Copy link
Contributor Author

Superseded by #367.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/codemirror-5.62.0 branch July 21, 2021 11:15
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
0 participants