-
Notifications
You must be signed in to change notification settings - Fork 999
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
chore(deps): bump markdown-to-jsx from 7.2.1 to 7.5.0 #11697
Merged
Josh-Walker-GM
merged 1 commit into
main
from
dependabot/npm_and_yarn/markdown-to-jsx-7.5.0
Oct 16, 2024
Merged
chore(deps): bump markdown-to-jsx from 7.2.1 to 7.5.0 #11697
Josh-Walker-GM
merged 1 commit into
main
from
dependabot/npm_and_yarn/markdown-to-jsx-7.5.0
Oct 16, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [markdown-to-jsx](https://github.com/quantizor/markdown-to-jsx) from 7.2.1 to 7.5.0. - [Release notes](https://github.com/quantizor/markdown-to-jsx/releases) - [Changelog](https://github.com/quantizor/markdown-to-jsx/blob/main/CHANGELOG.md) - [Commits](quantizor/markdown-to-jsx@v7.2.1...v7.5.0) --- updated-dependencies: - dependency-name: markdown-to-jsx dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
Josh-Walker-GM
added
release:chore
This PR is a chore (means nothing for users)
changesets-ok
Override the changesets check
labels
Oct 16, 2024
Josh-Walker-GM
deleted the
dependabot/npm_and_yarn/markdown-to-jsx-7.5.0
branch
October 16, 2024 16:51
Josh-Walker-GM
pushed a commit
that referenced
this pull request
Nov 14, 2024
Bumps [markdown-to-jsx](https://github.com/quantizor/markdown-to-jsx) from 7.2.1 to 7.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/quantizor/markdown-to-jsx/releases">markdown-to-jsx's releases</a>.</em></p> <blockquote> <h2>v7.5.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>62a16f3: Allow modifying HTML attribute sanitization when <code>options.sanitizer</code> is passed by the composer.</p> <p>By default a lightweight URL sanitizer function is provided to avoid common attack vectors that might be placed into the <code>href</code> of an anchor tag, for example. The sanitizer receives the input, the HTML tag being targeted, and the attribute name. The original function is available as a library export called <code>sanitizer</code>.</p> <p>This can be overridden and replaced with a custom sanitizer if desired via <code>options.sanitizer</code>:</p> <pre lang="jsx"><code>// sanitizer in this situation would receive: // ('javascript:alert("foo")', 'a', 'href') <p><Markdown options={{ sanitizer: (value, tag, attribute) => value }}> {<code>[foo](https://github.com/quantizor/markdown-to-jsx/blob/HEAD/javascript:alert(&quot;foo&quot;))</code>} </Markdown></p> <p>// or</p> <p>compiler('<a href="https://github.com/quantizor/markdown-to-jsx/blob/HEAD/javascript:alert(%22foo%22)">foo</a>', { sanitizer: (value, tag, attribute) => value, }) </code></pre></p> </li> </ul> <h3>Patch Changes</h3> <ul> <li>553a175: Replace RuleType enum with an object</li> </ul> <h2>v7.4.7</h2> <h3>Patch Changes</h3> <ul> <li>7603248: Fix parsing isolation of individual table cells.</li> <li>f9328cc: Improved block html detection regex to handle certain edge cases that cause extreme slowness. Thank you <a href="https://github.com/devbrains-com"><code>@devbrains-com</code></a> for the basis for this fix 🤝</li> </ul> <h2>v7.4.6</h2> <h3>Patch Changes</h3> <ul> <li> <p>a9e5276: Browsers assign element with <code>id</code> to the global scope using the value as the variable name. E.g.: <code><h1 id="analytics"></code> can be referenced via <code>window.analytics</code>. This can be a problem when a name conflict happens. For instance, pages that expect <code>analytics.push()</code> to be a function will stop working if the an element with an <code>id</code> of <code>analytics</code> exists in the page.</p> <p>In this change, we export the <code>slugify</code> function so that users can easily augment it. This can be used to avoid variable name conflicts by giving the element a different <code>id</code>.</p> <pre lang="js"><code>import { slugify } from 'markdown-to-jsx'; <p>options={{ slugify: str => { let result = slugify(str)</p> <p></code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/quantizor/markdown-to-jsx/blob/main/CHANGELOG.md">markdown-to-jsx's changelog</a>.</em></p> <blockquote> <h2>7.5.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>62a16f3: Allow modifying HTML attribute sanitization when <code>options.sanitizer</code> is passed by the composer.</p> <p>By default a lightweight URL sanitizer function is provided to avoid common attack vectors that might be placed into the <code>href</code> of an anchor tag, for example. The sanitizer receives the input, the HTML tag being targeted, and the attribute name. The original function is available as a library export called <code>sanitizer</code>.</p> <p>This can be overridden and replaced with a custom sanitizer if desired via <code>options.sanitizer</code>:</p> <pre lang="jsx"><code>// sanitizer in this situation would receive: // ('javascript:alert("foo")', 'a', 'href') <p>;<Markdown options={{ sanitizer: (value, tag, attribute) => value }}> {<code>[foo](https://github.com/quantizor/markdown-to-jsx/blob/main/javascript:alert(&quot;foo&quot;))</code>} </Markdown></p> <p>// or</p> <p>compiler('<a href="https://github.com/quantizor/markdown-to-jsx/blob/main/javascript:alert(%22foo%22)">foo</a>', { sanitizer: (value, tag, attribute) => value, }) </code></pre></p> </li> </ul> <h3>Patch Changes</h3> <ul> <li>553a175: Replace RuleType enum with an object</li> </ul> <h2>7.4.7</h2> <h3>Patch Changes</h3> <ul> <li>7603248: Fix parsing isolation of individual table cells.</li> <li>f9328cc: Improved block html detection regex to handle certain edge cases that cause extreme slowness. Thank you <a href="https://github.com/devbrains-com"><code>@devbrains-com</code></a> for the basis for this fix 🤝</li> </ul> <h2>7.4.6</h2> <h3>Patch Changes</h3> <ul> <li> <p>a9e5276: Browsers assign element with <code>id</code> to the global scope using the value as the variable name. E.g.: <code><h1 id="analytics"></code> can be referenced via <code>window.analytics</code>. This can be a problem when a name conflict happens. For instance, pages that expect <code>analytics.push()</code> to be a function will stop working if the an element with an <code>id</code> of <code>analytics</code> exists in the page.</p> <p>In this change, we export the <code>slugify</code> function so that users can easily augment it. This can be used to avoid variable name conflicts by giving the element a different <code>id</code>.</p> <pre lang="js"><code>import { slugify } from 'markdown-to-jsx'; <p>options={{ </code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/quantizor/markdown-to-jsx/commit/3a04b9ed86d67a3b72c59e605aac00aa3e8f59d5"><code>3a04b9e</code></a> Version Packages (<a href="https://redirect.github.com/quantizor/markdown-to-jsx/issues/600">#600</a>)</li> <li><a href="https://github.com/quantizor/markdown-to-jsx/commit/62a16f3e239069cf38de5da646618723dd1bbf8a"><code>62a16f3</code></a> feat: allow composer to adjust sanitization (<a href="https://redirect.github.com/quantizor/markdown-to-jsx/issues/564">#564</a>) (<a href="https://redirect.github.com/quantizor/markdown-to-jsx/issues/579">#579</a>)</li> <li><a href="https://github.com/quantizor/markdown-to-jsx/commit/553a17507f3e23edfe9ee28b24cdcd68588c0fe2"><code>553a175</code></a> refactor: replace RuleType enum with a const (<a href="https://redirect.github.com/quantizor/markdown-to-jsx/issues/539">#539</a>) (<a href="https://redirect.github.com/quantizor/markdown-to-jsx/issues/594">#594</a>)</li> <li><a href="https://github.com/quantizor/markdown-to-jsx/commit/acd970dc7be8f2390ed916fe1b1cf0874a8534f6"><code>acd970d</code></a> Version Packages (<a href="https://redirect.github.com/quantizor/markdown-to-jsx/issues/571">#571</a>)</li> <li><a href="https://github.com/quantizor/markdown-to-jsx/commit/a502174ece06fec06433fff6dc8bee92ba0c4c46"><code>a502174</code></a> fix: handle incomplete table-like syntax better</li> <li><a href="https://github.com/quantizor/markdown-to-jsx/commit/7603248ac2359e214aad20ec1188711242724f76"><code>7603248</code></a> fix: table cell parsing isolation</li> <li><a href="https://github.com/quantizor/markdown-to-jsx/commit/f9328cccd56002e00736c457963afdedc2231715"><code>f9328cc</code></a> fix: adjusted block html regex to avoid perf issues</li> <li><a href="https://github.com/quantizor/markdown-to-jsx/commit/dcc457ecbe8c7ab55862fdfffab94dc35fe38868"><code>dcc457e</code></a> chore: revert prettier</li> <li><a href="https://github.com/quantizor/markdown-to-jsx/commit/ede3cd83af6783daeba84adf468c9597c0365580"><code>ede3cd8</code></a> Version Packages (<a href="https://redirect.github.com/quantizor/markdown-to-jsx/issues/567">#567</a>)</li> <li><a href="https://github.com/quantizor/markdown-to-jsx/commit/a9e527655b788818d2edd49d6a230857cfc2730f"><code>a9e5276</code></a> Export <code>slugify</code> function (<a href="https://redirect.github.com/quantizor/markdown-to-jsx/issues/566">#566</a>)</li> <li>Additional commits viewable in <a href="https://github.com/quantizor/markdown-to-jsx/compare/v7.2.1...v7.5.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=markdown-to-jsx&package-manager=npm_and_yarn&previous-version=7.2.1&new-version=7.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/redwoodjs/redwood/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
changesets-ok
Override the changesets check
dependencies
Dependabot
release:chore
This PR is a chore (means nothing for users)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps markdown-to-jsx from 7.2.1 to 7.5.0.
Release notes
Sourced from markdown-to-jsx's releases.
... (truncated)
Changelog
Sourced from markdown-to-jsx's changelog.
... (truncated)
Commits
3a04b9e
Version Packages (#600)62a16f3
feat: allow composer to adjust sanitization (#564) (#579)553a175
refactor: replace RuleType enum with a const (#539) (#594)acd970d
Version Packages (#571)a502174
fix: handle incomplete table-like syntax better7603248
fix: table cell parsing isolationf9328cc
fix: adjusted block html regex to avoid perf issuesdcc457e
chore: revert prettierede3cd8
Version Packages (#567)a9e5276
Exportslugify
function (#566)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 show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@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)You can disable automated security fix PRs for this repo from the Security Alerts page.