Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 15, 2023

Bumps sanitize-html to 2.10.0 and updates ancestor dependency gatsby-transformer-remark. These dependencies need to be updated together.

Updates sanitize-html from 1.27.5 to 2.10.0

Changelog

Sourced from sanitize-html's changelog.

2.10.0 (2023-02-17)

  • Fix auto-adding escaped closing tags. In other words, do not add implied closing tags to disallowed tags when disallowedTagMode is set to any variant of escape -- just escape the disallowed tags that are present. This fixes [issue #464](apostrophecms/sanitize-html#464). Thanks to Daniel Liebner
  • Add tagAllowed() helper function which takes a tag name and checks it against options.allowedTags and returns true if the tag is allowed and false if it is not.

2.9.0 (2023-01-27)

2.8.1 (2022-12-21)

  • If the argument is a number, convert it to a string, for backwards compatibility. Thanks to Alexander Schranz.

2.8.0 (2022-12-12)

  • Upgrades htmlparser2 to new major version ^8.0.0. Thanks to Kedar Chandrayan for this contribution.

2.7.3 (2022-10-24)

  • If allowedTags is falsy but not exactly false, then do not assume that all tags are allowed. Rather, allow no tags in this case, to be on the safe side. This matches the existing documentation and fixes [issue #176](apostrophecms/sanitize-html#176). Thanks to Kedar Chandrayan for the fix.

2.7.2 (2022-09-15)

  • Closing tags must agree with opening tags. This fixes [issue #549](apostrophecms/sanitize-html#549), in which closing tags not associated with any permitted opening tag could be passed through. No known exploit exists, but it's better not to permit this. Thanks to Kedar Chandrayan for the report and the fix.

2.7.1 (2022-07-20)

  • Protocol-relative URLs are properly supported for script tags. Thanks to paweljq.
  • A denial-of-service vulnerability has been fixed by replacing global regular expression replacement logic for comment removal with a new implementation. Thanks to Nariyoshi Chida of NTT Security Japan for pointing out the issue.

2.7.0 (2022-02-04)

  • Allows a more sensible set of default attributes on <img /> tags. Thanks to Zade Viggers.

2.6.1 (2021-12-08)

2.6.0 (2021-11-23)

  • Support for regular expressions in the allowedClasses option. Thanks to Alex Rantos.

2.5.3 (2021-11-02):

  • Fixed bug introduced by klona 2.0.5, by removing klona entirely.

2.5.2 (2021-10-13):

... (truncated)

Commits

Updates gatsby-transformer-remark from 5.22.0 to 6.7.0

Changelog

Sourced from gatsby-transformer-remark's changelog.

6.7.0 (2023-02-21)

🧾 Release notes

Note: Version bump only for package gatsby-transformer-remark

6.6.0 (2023-02-07)

🧾 Release notes

Bug Fixes

6.5.0 (2023-01-24)

🧾 Release notes

Note: Version bump only for package gatsby-transformer-remark

6.4.0 (2023-01-10)

🧾 Release notes

Bug Fixes

Chores

6.3.2 (2022-12-20)

Bug Fixes

6.3.1 (2022-12-14)

Note: Version bump only for package gatsby-transformer-remark

6.3.0 (2022-12-13)

🧾 Release notes

Bug Fixes

  • update minor and patch dependencies for gatsby-transformer-remark #37164 (b7d1db7)

... (truncated)

Commits

You can trigger a rebase of this PR 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

You can disable automated security fix PRs for this repo from the Security Alerts page.

> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 15, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sanitize-html-and-gatsby-transformer-remark-2.10.0 branch from 90b07a9 to bd06b5f Compare March 15, 2023 22:22
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) to 2.10.0 and updates ancestor dependency [gatsby-transformer-remark](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-remark). These dependencies need to be updated together.


Updates `sanitize-html` from 1.27.5 to 2.10.0
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/commits/2.10.0)

Updates `gatsby-transformer-remark` from 5.22.0 to 6.7.0
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-transformer-remark/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-transformer-remark)

---
updated-dependencies:
- dependency-name: sanitize-html
  dependency-type: indirect
- dependency-name: gatsby-transformer-remark
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@holly-cummins holly-cummins force-pushed the main branch 2 times, most recently from 7450f9c to 88c37f5 Compare September 2, 2025 18:49
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant