Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 22, 2024

Bumps sanitize-html to 2.13.0 and updates ancestor dependency bitgo. These dependencies need to be updated together.

Updates sanitize-html from 1.27.5 to 2.13.0

Changelog

Sourced from sanitize-html's changelog.

2.13.0 (2024-03-20)

  • Documentation update regarding minimum supported TypeScript version.

  • Added disallowedTagsMode: completelyDiscard option to remove the content also in HTML. Thanks to Gauav Kumar for this addition.

2.12.1 (2024-02-22)

  • Do not parse sourcemaps in post-css. This fixes a vulnerability in which information about the existence or non-existence of files on a server could be disclosed via properly crafted HTML input when the style attribute is allowed by the configuration. Thanks to the Snyk Security team for the disclosure and to Dylan Armstrong for the fix.

2.12.0 (2024-02-21)

  • Introduced the allowedEmptyAttributes option, enabling explicit specification of empty string values for select attributes, with the default attribute set to alt. Thanks to Na for the contribution.

  • Clarified the use of SVGs with a new test and changes to documentation. Thanks to Gauav Kumar for the contribution.

  • Do not process source maps when processing style tags with PostCSS.

2.11.0 (2023-06-21)

  • Fix to allow false in allowedClasses attributes. Thanks to Kevin Jiang for this fix!
  • Upgrade mocha version
  • Apply small linter fixes in tests
  • Add .idea temp files to .gitignore
  • Thanks to Vitalii Shpital for the updates!
  • Show parseStyleAttributes warning in browser only. Thanks to mog422 for this update!
  • Remove empty non-boolean attributes via an exhaustive, configurable list of known non-boolean attributes. Thanks to Dylan Armstrong for this update!

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)

... (truncated)

Commits

Updates bitgo from 12.0.0 to 38.2.0

Changelog

Sourced from bitgo's changelog.

38.2.0 (2024-04-22)

Features

  • abstract-utxo: support trustless change outputs from explaintx (445ed53)

38.1.0 (2024-04-17)

Features

  • statics: add ofc token to represent Erc20 token on arbitrun chain (32ccf68)
  • statics: remove test on addressCoin (c5356b9)

38.0.5 (2024-04-12)

Bug Fixes

  • pending approvals for txRequestLite should not use multiSig flow (7802998)

38.0.4 (2024-04-10)

Note: Version bump only for package bitgo

38.0.3 (2024-04-09)

Note: Version bump only for package bitgo

38.0.2 (2024-04-08)

Note: Version bump only for package bitgo

38.0.1 (2024-04-05)

Note: Version bump only for package bitgo

38.0.0 (2024-03-28)

Bug Fixes

  • sdk-core: remove onToken validation when creating address (75f7fb7)

Features

  • root: deprecate node 16 (d3ec624)

BREAKING CHANGES

  • root: Node 16 is no longer supported in bitgojs. TICKET: WP-1100

... (truncated)

Commits
  • ac8f000 chore(root): publish modules
  • e35b14c Merge pull request #4454 from BitGo/BTC-1112-change-outputs
  • 5868e80 Revert "feat(sdk-core): modify accept share method"
  • 445ed53 feat(abstract-utxo): support trustless change outputs from explaintx
  • 0438bc9 feat(sdk-core): modify accept share method
  • 29470bf chore(root): publish modules
  • da2212c Merge pull request #4437 from BitGo/rel/latest
  • c5356b9 feat(statics): remove test on addressCoin
  • 32ccf68 feat(statics): add ofc token to represent Erc20 token on arbitrun chain
  • 19fa76a chore(root): publish modules
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by pengyuc_bitgo, a new releaser for bitgo since your current version.


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.

Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) to 2.13.0 and updates ancestor dependency [bitgo](https://github.com/BitGo/BitGoJS/tree/HEAD/modules/bitgo). These dependencies need to be updated together.


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

Updates `bitgo` from 12.0.0 to 38.2.0
- [Release notes](https://github.com/BitGo/BitGoJS/releases)
- [Changelog](https://github.com/BitGo/BitGoJS/blob/[email protected]/modules/bitgo/CHANGELOG.md)
- [Commits](https://github.com/BitGo/BitGoJS/commits/[email protected]/modules/bitgo)

---
updated-dependencies:
- dependency-name: sanitize-html
  dependency-type: indirect
- dependency-name: bitgo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Used by dependabot for dependency updates label Apr 22, 2024
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] Transitive: environment, eval, filesystem, network, unsafe +157 187 MB alebusse

🚮 Removed packages: npm/[email protected]

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
Protestware/Troll package npm/[email protected]
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Used by dependabot for dependency updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants