devcord / website

MIT License
8 stars 9 forks source link

[Security] Bump marked from 1.1.1 to 2.0.0 #176

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps marked from 1.1.1 to 2.0.0. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Regular Expression Denial of Service (REDoS) in Marked

Impact

What kind of vulnerability is it? Who is impacted?

Regular expression Denial of Service

A Denial of Service attack can affect anyone who runs user generated code through marked.

Patches

Has the problem been patched? What versions should users upgrade to?

patched in v2.0.0

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

None.

References

Are there any links users can visit to find out more?

... (truncated)

Affected versions: >= 1.1.1 < 2.0.0

Release notes

Sourced from marked's releases.

v2.0.0

2.0.0 (2021-02-07)

Bug Fixes

BREAKING CHANGES

  • em and strong tokenizers have been merged into one emStrong tokenizer.
  • code and text tokenizers do not get passed all tokens as a second parameter.
  • No longer supporting IE 11. IE 11 may still work but we are not committed to making sure it works with every update. We still provide an es5 version in lib/marked.js but some pollyfills may be needed for IE 11 in the future.

v1.2.9

1.2.9 (2021-02-03)

Bug Fixes

  • allow sublist to be single space in pedantic (#1924) (1e36afd)

v1.2.8

1.2.8 (2021-01-26)

Bug Fixes

v1.2.7

1.2.7 (2020-12-15)

Bug Fixes

  • Replace use of startsWith and endsWith with regex for IE11 (#1877) (4fdde20), closes #1876

v1.2.6

1.2.6 (2020-12-10)

Bug Fixes

  • fix atx heading and make regex safe (#1853) (70ee29c) possible breaking change: When using the block.heading rule the text provided in capture group 2 will not be trimmed of whitespace.

... (truncated)

Commits
  • 8a7502f chore(release): 2.0.0 [skip ci]
  • 9d3a781 🗜️ build [skip ci]
  • 7293251 fix: Total rework of Emphasis/Strong (#1864)
  • f848e77 fix: Join adjacent inlineText tokens (#1926)
  • f2535f1 chore(release): 1.2.9 [skip ci]
  • f0dc8a2 🗜️ build [skip ci]
  • 1e36afd fix: allow sublist to be single space in pedantic (#1924)
  • b97b802 chore(deps-dev): Bump rollup from 2.38.0 to 2.38.3 (#1922)
  • 409ef11 chore(deps-dev): Bump @rollup/plugin-babel from 5.2.2 to 5.2.3 (#1917)
  • f86549d chore(deps-dev): Bump rollup from 2.38.0 to 2.38.2 (#1916)
  • 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)