next-theme / hexo-filter-mathjax

💯 Server side MathJax renderer plugin for Hexo.
https://www.npmjs.com/package/hexo-filter-mathjax
MIT License
104 stars 6 forks source link

Update dependency hexo to v4.2.0 #8

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
hexo (source) devDependencies minor 4.1.1 -> 4.2.0

Release Notes

hexojs/hexo ### [`v4.2.0`](https://togithub.com/hexojs/hexo/releases/4.2.0) [Compare Source](https://togithub.com/hexojs/hexo/compare/4.1.1...4.2.0) ##### Features - Caching is disabled by default in hexo-server [#​3963] - It's disabled so that any changes (particularly to the theme's layout) can be previewed in real-time. - If you use hexo-server in production environment to serve your website, it can be enabled by, ```yml _config.yml server: cache: true ``` - Add `min_depth:` option to [`toc()`](https://hexo.io/docs/helpers#toc) helper [#​3997] - Example usage: ```js <%- toc(page.content, { min_depth: 2 }) %> // table of content would only include

,

and above ``` ##### Fixes - Merges similar theme configs in main config and theme's config [#​3967] - For example: ```yml _config.yml theme_config: a: b: 'foo' ``` - Plus, ```yml _config.yml of theme a: c: 'bar' ``` - [`theme`](https://hexo.io/docs/variables#Global-Variables) variable should have, a: { b: 'foo', c: 'bar' } - Fixes some caching issue [#​3985] - [Open Graph](https://hexo.io/docs/helpers#open-graph) now applies all [`pretty_urls`](https://hexo.io/docs/configuration#URL) options to `og:url` tag [#​3983] ##### Refactor - No longer uses lodash [#​3969], [#​3987], [#​3753] - Lodash `_` is still available as a [global variable](https://hexo.io/docs/variables#Global-Variables), usually utilized in theme layout. - However, we plan to completely drop it in the coming Hexo 5.0.0 - This [project page](https://togithub.com/orgs/hexojs/projects/5#card-27533837) includes all the relevant pull requests which you may find useful - Completely drops cheerio [#​3850], [#​3677] - This means Hexo no longer includes cheerio as part of its production dependencies (it's still a development dependency) - This also means the following initialization methods no longer work, ```js const cheerio = require('./node_modules/hexo/node_modules/cheerio/index') const cheerio = require('./node_modules/cheerio/index') ``` - To use cheerio, ```sh $ npm install --save cheerio ``` ```js const cheerio = require('cheerio') ```


Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.