Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency hexo-util to v3 #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 20, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
hexo-util (source) 1.9.0 -> 3.3.0 age adoption passing confidence

Release Notes

hexojs/hexo-util (hexo-util)

v3.3.0

Compare Source

New Features

Fixes

Refactors

Dependencies

Miscs

Full Changelog: hexojs/hexo-util@v3.2.0...v3.3.0

v3.2.0

Compare Source

New Features

Fixed

Test

Dependencies

Chore

Full Changelog: hexojs/hexo-util@v3.1.0...v3.2.0

v3.1.0

Compare Source

Fixed

Performance

Refactor

Dependencies

Misc

New Contributors

Full Changelog

v3.0.1

Compare Source

Fixes

Full Changelog: hexojs/hexo-util@v3.0.0...v3.0.1

v3.0.0

Compare Source

Breaking Changes

Notable Changes

Refactors

Dependencies

Docs

CI/CD

New Contributors

Full Changelog: hexojs/hexo-util@2.7.0...v3.0.0

v2.7.0

Compare Source

Features

Dependencies

New Contributors

Full Changelog: hexojs/hexo-util@2.6.1...2.7.0

v2.6.1

Compare Source

Fixes

Refactor

Full Changelog: hexojs/hexo-util@2.6.0...2.6.1

v2.6.0

Compare Source

Breaking Changes

New features

Fixes

Refactors

Test

Dependencies

Misc

New Contributors

Full Changelog: hexojs/hexo-util@2.5.0...2.6.0

v2.5.0

Compare Source

Refactors

Dependencies

Misc

v2.4.0

Compare Source

Breaking change

  • fix(highlight): use <div> when wrap is disabled @​curbengh [#​229]
    • when wrap is disabled:

_config.yml

highlight:
wrap: false # defaults to true

* previously, caption is rendered as:
``` html
<pre>
<figcaption>caption</figcaption>
<code></code>
</pre>
  • it's now rendered as:
<pre>
<div class="caption">caption</div>
<code></code>
</pre>
  • you can style it by:
pre div.caption {
  font-size: 0.9em;
  color: #&#8203;888;
}

pre div.caption a {
  float: right;
}

Feature

  • feat(prism): caption @​curbengh [#​227]
    • caption is rendered as:
    <pre>
    <div class="caption">caption</div>
    <code></code>
    </pre>
    • you can style it by:
    pre div.caption {
      font-size: 0.9em;
      color: #&#8203;888;
    }
    
    pre div.caption a {
      float: right;
    }

v2.3.0

Compare Source

Changes

  • feat(highlight): support 'tab' & 'mark' when wrap is disabled @​curbengh [#​225]
    • Previously tab and mark options were only availble when wrap is enabled, now they are also available even when wrap is disabled.
    • Example:

_config.yml

highlight:
tab_replace: ' '
wrap: false


``` js
{% codeblock lang:js mark:2,5 %}
const input = [
  { name: 'lorem', item: 'ipsum' },
  { name: 'per', item: 'doming' },
  { name: 'dolor', item: 'lorem' },
  { name: 'usu', item: 'pericula' }
]
{% endcodeblock %}

v2.2.0

Compare Source

Features

  • perf(cache): Use faster Map instead of Object. @​SukkaW [#​209]
  • feat(cache): cache#dump & cache#size @​SukkaW [#​209]
    // Output number of key-value pairs
    cache.size();
    // 3
    
    // Outputs everything in cache
    cache.dump();
    /*
    {
      foo: 'bar',
      baz: 123,
      qux: 456
    }
    */

Fixes

  • Support string argument in spawn() @​curbengh [#​220]
    • Previously spawn() only supports array argument:
    spawn('cat', ['test.txt']).then((content) => {
      console.log(content);
    });
    • Now string argument is also valid:
    spawn('cat', 'test.txt').then((content) => {
      console.log(content);
    });
  • fix(highlight): support caption when wrap is disabled @​curbengh [#​210]

_config.yml

highlight:
wrap: false


<pre><code>```js caption
const hi = 'bob'
```</code></pre>

#### Housekeeping
- Drop Node 13 from CI @&#8203;curbengh [#&#8203;219]
- refactor(encode/decode_url): replace decodeURI with native [querystring.unescape](https://nodejs.org/api/querystring.html#querystring_querystring_unescape_str) @&#8203;curbengh [#&#8203;214]

#### Dependencies

- chore(deps-dev): bump mocha from 7.2.0 to 8.0.1 [#&#8203;211]
- chore(deps-dev): bump eslint from 6.8.0 to 7.0.0 [#&#8203;207]

v2.1.0

Compare Source

Breaking change

Refactor

v2.0.0

Compare Source

Breaking change

Fix

Misc

Dependencies

v1.9.1

Compare Source

Fix


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant