swimlane / DocSPA

A documentation SPA in Angular.
https://swimlane.github.io/DocSPA/
MIT License
46 stars 10 forks source link

Bump @braintree/sanitize-url and mermaid in /projects/swimlane/docspa-remark-preset #100

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Bumps @braintree/sanitize-url and mermaid. These dependencies needed to be updated together. Updates @braintree/sanitize-url from 3.1.0 to 6.0.0

Changelog

Sourced from @​braintree/sanitize-url's changelog.

6.0.0

Breaking Changes

  • Decode HTML characters automatically that would result in an XSS vulnerability when rendering links via a server rendered HTML file
// decodes to javacript:alert('XSS')
const vulnerableUrl =
  "&[#0000106](https://github.com/braintree/sanitize-url/issues/0000106)&[#0000097](https://github.com/braintree/sanitize-url/issues/0000097)&[#0000118](https://github.com/braintree/sanitize-url/issues/0000118)&[#0000097](https://github.com/braintree/sanitize-url/issues/0000097)&[#0000115](https://github.com/braintree/sanitize-url/issues/0000115)&[#0000099](https://github.com/braintree/sanitize-url/issues/0000099)&[#0000114](https://github.com/braintree/sanitize-url/issues/0000114)&[#0000105](https://github.com/braintree/sanitize-url/issues/0000105)&[#0000112](https://github.com/braintree/sanitize-url/issues/0000112)&[#0000116](https://github.com/braintree/sanitize-url/issues/0000116)&[#0000058](https://github.com/braintree/sanitize-url/issues/0000058)&[#0000097](https://github.com/braintree/sanitize-url/issues/0000097)&[#0000108](https://github.com/braintree/sanitize-url/issues/0000108)&[#0000101](https://github.com/braintree/sanitize-url/issues/0000101)&[#0000114](https://github.com/braintree/sanitize-url/issues/0000114)&[#0000116](https://github.com/braintree/sanitize-url/issues/0000116)&[#0000040](https://github.com/braintree/sanitize-url/issues/0000040)&[#0000039](https://github.com/braintree/sanitize-url/issues/0000039)&[#0000088](https://github.com/braintree/sanitize-url/issues/0000088)&[#0000083](https://github.com/braintree/sanitize-url/issues/0000083)&[#0000083](https://github.com/braintree/sanitize-url/issues/0000083)&[#0000039](https://github.com/braintree/sanitize-url/issues/0000039)&[#0000041](https://github.com/braintree/sanitize-url/issues/0000041)";

sanitizeUrl(vulnerableUrl); // 'about:blank'

const okUrl = "https://example.com/" + vulnerableUrl;

// since the javascript bit is in the path instead of the protocol // this is successfully sanitized sanitizeUrl(okUrl); // 'https://example.com/javascript:alert('XSS');

5.0.2

  • Fix issue where certain invisible white space characters were not being sanitized (#35)

5.0.1

  • Fix issue where certain safe characters were being filtered out (#31 thanks @​akirchmyer)

5.0.0

Breaking Changes

4.1.1

  • Fixup path to type declaration (closes #25)

4.1.0

  • Add typescript types

4.0.1

  • Fix issue where urls with accented characters were incorrectly sanitized

4.0.0

Breaking Changes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by braintree, a new releaser for @​braintree/sanitize-url since your current version.


Updates mermaid from 8.13.10 to 9.1.5

Release notes

Sourced from mermaid's releases.

9.1.5

Release Notes

Bugfixes

  • Fix for unintended update to structure of thrown error from init (#3314) @​knsv
  • fix(Diagram): fix persisted data due to db not being cleared before parsing (#3310) @​hrgui

Documentation updates

Dependency updates

🎉 Thanks to all contributors helping with this release! 🎉

8.14.0

Release Notes

Main feature

  • Adding new more secure security level 'sandbox' where all rendering happens in a sandboxed iframe. The returned element in this mode is also an iframe with the svg as a base64 encoded url. (#2654)

Documentation updates

Dependecy updates

... (truncated)

Commits
  • af8a5cb Version 9.1.5
  • cb4b60e Merge pull request #3310 from hrgui/fix/3305-subsequent-diagrams-issue
  • 2cc88df Merge pull request #3314 from mermaid-js/3313_error_handling_init
  • dce8957 Merge pull request #3300 from mermaid-js/dependabot/npm_and_yarn/parse-url-6.0.5
  • 1512d81 Merge pull request #3294 from namgivu/patch-1
  • ac41a98 Merge pull request #3293 from simonplattner/develop
  • bf42721 #3313 Packaging the thrown error in reconised structure
  • 6e5eeb7 fix(Diagram): C4C diagram does not have a db.clear method
  • a5aef9e fix(Diagram): fix persisted data due to db not being cleared before parsing
  • 48fe013 chore(deps-dev): bump eslint-plugin-jest from 26.7.0 to 26.8.0 (#3299)
  • Additional commits viewable 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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/swimlane/DocSPA/network/alerts).
dependabot[bot] commented 1 year ago

Superseded by #112.