RaoHai / react-ansi

A foldable and searchable ansi log viewer for React.
https://react-ansi.now.sh
44 stars 15 forks source link

build(deps): [security] bump codemirror from 5.49.2 to 5.62.2 #426

Closed dependabot-preview[bot] closed 2 years ago

dependabot-preview[bot] commented 3 years ago

Bumps codemirror from 5.49.2 to 5.62.2. 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.2

Version 5.62.2

Bug fixes

lint addon: Fix a regression that broke several addon options.

5.62.1

Version 5.62.1

Bug fixes

vim bindings: Make matching of upper-case characters more Unicode-aware.

lint addon: Prevent options passed to the addon itself from being given to the linter.

show-hint addon: Improve screen reader support.

search addon: Avoid using innerHTML.

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.

... (truncated)

Changelog

Sourced from codemirror's changelog.

5.62.2 (2021-07-21)

Bug fixes

lint addon: Fix a regression that broke several addon options.

5.62.1 (2021-07-20)

Bug fixes

vim bindings: Make matching of upper-case characters more Unicode-aware.

lint addon: Prevent options passed to the addon itself from being given to the linter.

show-hint addon: Improve screen reader support.

search addon: Avoid using innerHTML.

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.

... (truncated)

Commits
  • d270552 Mark version 5.62.2
  • 5180d1e [lint addon] Fix a regression that broke the getAnnotations option
  • 50aa8c0 Mark version 5.62.1
  • 10510ba [vim bindings] Make compatible with Trusted Types
  • 3362178 [search addon] Further simplify dialog building, fix bug in replace dialog
  • 68d3399 [search addon] Make compatible with Trusted Types
  • cf6cc38 [yaml-frontmatter mode] Treat the start of the document as being in the base ...
  • 1354f82 Add artcompiler sponsor link
  • f6934da Improve folding addon performance
  • 579e120 [show-hint addon] Set ARIA-related attributes for better screen reader support
  • 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)
vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/luchen/react-ansi/44HUYyEsQbaPvgcf3yHRzcJgWc9A
✅ Preview: https://react-ansi-git-dependabot-npmandyarncodemirror-5622-luchen.vercel.app