wooorm / refractor

Lightweight, robust, elegant virtual syntax highlighting using Prism
MIT License
722 stars 33 forks source link

Bump prismjs from 1.20.0 to 1.21.0 #31

Closed dependabot[bot] closed 4 years ago

dependabot[bot] commented 4 years ago

Bumps prismjs from 1.20.0 to 1.21.0.

Release notes

Sourced from prismjs's releases.

v1.21.0

Release 1.21.0

Changelog

Sourced from prismjs's changelog.

1.21.0 (2020-08-06)

New components

Updated components

Commits


Dependabot compatibility score

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/wooorm/refractor/network/alerts).
TyMick commented 4 years ago

It case it helps, it looks like another workaround for this cross-site scripting vulnerability would be disabling the easing preview on all code blocks, i.e. by adding an attribute of data-previewers="gradient angle color time" to each of them (or apparently any ancestor).

But upgrading to 1.21.0 probably would be easier—I just don't know if that would create other difficulties since Prism is the only dependency in package.json with a tilde range specified (~1.20.0).

wooorm commented 4 years ago

Thanks. This isn't a security vulnerability tho, as we don't support plugins.

dependabot[bot] commented 4 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.