Update dependency hexo to v6 [SECURITY] #103
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.2.0->6.0.0GitHub Vulnerability Alerts
CVE-2021-25987
Hexo versions 0.0.1 to 5.4.0 are vulnerable against stored XSS. The post “body” and “tags” don’t sanitize malicious javascript during web page generation. Local unprivileged attacker can inject arbitrary code.
Release Notes
hexojs/hexo (hexo)
v6.0.0Compare Source
Breaking Changes
Security
Please see more detail: Announcement: About CVE-2021-25987
New features
og:imageandtwitter:image@KentarouTakeda [#4748]Performance
Fixes
Refactor
Array.flat()@curbengh [#4806]Docs
Dependencies
New Contributors
Full Changelog: hexojs/hexo@5.4.0...6.0.0
v5.4.2Compare Source
Fixes
js-yamlfromv4.xtov3.14.xby @yoshinorin in #4932Full Changelog: hexojs/hexo@5.4.1...5.4.2
v5.4.1Compare Source
Fixes
Full Changelog: hexojs/hexo@5.4.0...5.4.1
v5.4.0Compare Source
New features
Breaking change
Fixes
languagein front-matter @stevenjoezhang [#4614]Misc
Dependencies
v5.3.0Compare Source
New features
escape_htmlhelper method for string manipulation to templates @awwong1 [#4581]Fixes
Refactor
process.mainModulewithrequire.main@stevenjoezhang [#4583]Docs
v5.2.0Compare Source
Changes
http(s)://over//{{ title }}) with special characters no longer result in double-quote wrapconfig.urlshould starts with "http://" or "https://"hexo generate --baildisableNunjucksoption should now works reliably with synchronous rendererHousekeeping
v5.1.1Compare Source
Changes
{ }are escaped&#​123; &#​125;mistakenly in the backtick_code_block.js filter. The fix is to avoid running that filter when code highlight is disabled.v5.1.0Compare Source
Features
feat(highlight): parse 'caption' option to prismHighlight @curbengh [#4476]
captionis now available in prismjs:(class attributes are omitted for brevity)
codeblockandinclude_codetag plugins.fix: refactor post escape @SukkaW [#4472]
Remove plugins option in config @stevenjoezhang [#4475]
pluginsoption has been deprecated long ago and it's now completely droppedscripts/folder or installed via npmpackage.json.Performance
v5.0.2Compare Source
Changes
hexo clean.v5.0.1Compare Source
Changes
Injectorexternal_linkfilter now pre-match external links, instead of solely rely onisExternalLinkv5.0.0Compare Source
Breaking change
refactor(external_link): migrate config during load_config @SukkaW [#4414] [#4371]
external_linkfor truthy value, since it's now automatically converted to object, it will be always truthy:refactor(box): remove Bluebird.asCallback @SukkaW [#4379]
Boxis never documented nor utilized in Hexo's internal.feat: bring up config.updated_option @SukkaW [#4278]
Updated:only when it's set in the article's front-matter.feat(open_graph): drop 'keywords' option from front-matter @curbengh [#4174]
keywords.fix(#3464): override permalink use the front-matter @SukkaW [#4359]
http://yourhexo.com/breaking-news/.htmlor/Remove lodash from global variable @SukkaW [#4266]
_is no longer available on Hexo API.HelperAPIchore/ci: drop Node.js 8 and add Node.js 14 @SukkaW [#4255]
refactor: remove site config from theme config @SukkaW [#4145]
hexo.theme.configis merged intohexo.config, they are now separated to avoid possible conflict in configuration.New feature
public/folder.:secondattribute option for post permalink @kkocdko [#4185]_config.[name].yml, e.g._config.landscape.ymlfor hexo-theme-landscape._config.yml._after_html_renderfilter @jiangtj [#4051]after_render:htmlas alias of_after_html_render@curbengh [#4073]after_render:htmlfilter plugins automatically benefit from this improvement.<ul>,<li>,<a>,<span>for list_tags plugin.Performance
hexo clean, nothexo calias.Fix
Writing database to ${dbPath}/db.jsonmessage shouldn't show up inhexo cleanandhexo version.highlight.wrapoption in user config is now properly passed to thecodeblocktag plugin<meta>with different order @SukkaW [#4017]<!--more--><!-- more--><!--more --><!-- more -->Refactor
Dependencies
Misc
Test
v4.2.1Compare Source
Fix
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.