build(deps): bump sanitize-html from 1.22.1 to 1.27.2 in /backend
Created by: Tirokk
Authored by dependabot-preview[bot] Closed
Bumps sanitize-html from 1.22.1 to 1.27.2.
Changelog
Sourced from sanitize-html's changelog.
1.27.2 (2020-07-29):
- Fixes CHANGELOG links. Thanks to Alex Mayer for the contribution.
- Replaces
srcset
withparse-srcset
. Thanks to Massimiliano Mirra for the contribution.1.27.1 (2020-07-15):
- Removes the unused chalk dependency.
- Adds configuration for a Github stale bot.
- Replace
xtend
package with nativeObject.assign
.1.27.0:
- Adds the
allowedIframeDomains
option. This works similar toallowedIframeHostnames
, where you would set it to an array of web domains. It would then permit any hostname on those domains to be used in iframesrc
attributes. Thanks to Stanislav Kravchenko for the contribution.1.26.0:
- Adds the
option
element to the defaultnonTextTagsArray
of tags with contents that aren't meant to be displayed visually as text. This can be overridden with thenonTextTags
option.1.25.0:
- Adds
enforceHtmlBoundary
option to process code bounded by thehtml
tag, discarding any code outside of those tags.- Migrates to the main lodash package from the per method packages since they are deprecated and cause code duplication. Thanks to Merceyz for the contribution.
- Adds a warning when
style
andscript
tags are allowed, as they are inherently vulnerable to being used in XSS attacks. That warning can be disabled by including the optionallowVulnerableTags: true
so this choice is knowing and explicit.1.24.0:
- Fixes a bug where self-closing tags resulted in deletion with
disallowedTagsMode: 'escape'
set. Thanks to Thiago Negri for the contribution.- Adds
abbr
to the defaultallowedTags
for better accessibility support. Thanks to Will Farrell for the contribution.- Adds a
mediaChildren
property to theframe
object in custom filters. This allows you to check for links or other parent tags that contain self-contained media to prevent collapse, regardless of whether there is also text inside. Thanks to axdg for the initial implementation and Marco Arduini for a failing test contribution.1.23.0:
- Adds eslint configuration and adds eslint to test script.
- Sets
sideEffects: false
on package.json to allow module bundlers like webpack tree-shake this module and all the dependencies from client build. Thanks to Egor Voronov for the contribution.- Adds the
tagName
(HTML element name) as a second parameter passed totextFilter
. Thanks to Slava for the contribution.
Commits
- See full diff in compare view
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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)