Bump sanitize-html from 1.22.1 to 2.1.2 in /backend
Created by: dependabot-preview[bot]
Bumps sanitize-html from 1.22.1 to 2.1.2.
Changelog
Sourced from sanitize-html's changelog.
2.1.2 (2020-11-04):
- Fixes typos and inconsistencies in the README. Thanks to Eric Lefevre-Ardant for this contribution.
2.1.1 (2020-10-21):
- Fixes a bug when using
allowedClasseswith an'*'wildcard selector. Thanks to Clemens Damke for this contribution.- Updates mocha to 7.x to resolve security warnings.
2.1.0 (2020-10-07):
supadded to the default allowed tags list. Thanks to Julian Lam for the contribution.- Updates default
allowedTagsREADME documentation. Thanks to Marco Arduini for the contribution.2.0.0 (2020-09-23):
nestingLimitoption added.- Updates ESLint config package and fixes warnings.
- Upgrade
is-plain-objectpackage with named export. Thanks to Bogdan Chadkin for the contribution.- Upgrade
postcsspackage and drop Node 11 and Node 13 support (enforced by postcss).Backwards compatibility breaks:
- There is no build. You should no longer directly link to a sanitize-html file directly in the browser as it is using modern Javascript that is not fully supported by all major browsers (depending on your definition). You should now include sanitize-html in your project build for this purpose if you have one.
- On the server side, Node.js 10 or higher is required.
- The default
allowedTagsarray was updated significantly. This mostly added HTML tags to be more comprehensive by default. You should review your projects and consider theallowedTagsdefaults if you are not already overriding them.2.0.0-rc.2 (2020-09-09):
- Always use existing
hasfunction rather than duplicating it.2.0.0-rc.1 (2020-08-26):
- Upgrade
klonapackage. Thanks to Bogdan Chadkin for the contribution.2.0.0-beta.2:
- Add
filestopackage.jsonto prevent publishing unnecessary files to npm #392. Thanks to styfle for the contribution.- Removes
iframeandnlfrom default allowed tags. Adds most innocuous tags to the defaultallowedTagsarray.- Fixes a bug when using
transformTagswith outtextFilter. Thanks to Andrzej Porebski for the help with a failing test.2.0.0-beta:
- Moves the
index.jsfile to the project root and removes all build steps within the package. Going forward, it is up to the developer to include sanitize-html in their project builds as-needed. This removes major points of conflict with project code and frees this module to not worry about myriad build-related questions.- Replaces lodash with utility packages: klona, is-plain-object, deepmerge, escape-string-regexp.
- Makes custom tag transformations less error-prone by escaping frame
innerText. Thanks to Mike Samuel for the contribution. Prior to this patch, tag transformations which turned an attribute value into a text node could be vulnerable to code execution.- Updates code to use modern features including
const/letvariable assignment.- ESLint clean up.
- Updates
is-plain-objectto the 4.x major version.- Updates
srcsetto the 3.x major version.Thanks to Bogdan Chadkin for contributions to this major version update.
1.27.5 (2020-09-23):
- Updates README to include ES modules syntax.
1.27.4 (2020-08-26):
- Fixes an IE11 regression from using
Array.prototype.includes, replacing it withArray.prototype.indexOf.
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill 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)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)