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

fix(deps): update dependency hexo-renderer-stylus to v2 #67

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 16, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
hexo-renderer-stylus 1.1.0 -> 2.0.1 age adoption passing confidence

Release Notes

hexojs/hexo-renderer-stylus

v2.0.1

Compare Source

Fix

  • fix: enable disableNunjucks to avoid rendering nunjucks tag [#​55]

    • it's now safe to use:
    div::before
      content: "{{}}"
    

v2.0.0

Compare Source

Breaking change

Feature

  • feat: execute hexo filter with stylus context [#​45]
    hexo.extend.filter.register('stylus:renderer', function(style) {
      style
        // we may define a global variable by passing a `Node`
        .define('has-canvas', require('stylus').nodes.false);
        // stylus also casts JavaScript values to their Stylus equivalents when possible
        .define('families', ['Helvetica Neue', 'Helvetica', 'sans-serif'])
        // also allows you to provide a JavaScript-defined function to Stylus
        .define('get-list', function(){
          return ['foo', 'bar', 'baz'];
        });
    })

Misc

  • docs: setting variables [#​41]
    • This feature has been available since 0.3.1 but not documented until now.
    • Refer to our guide.

Configuration

📅 Schedule: 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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot requested a review from SukkaW August 16, 2020 01:42
@renovate renovate bot force-pushed the renovate/hexo-renderer-stylus-2.x branch from be390f8 to aa101d8 Compare October 27, 2020 08:51
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.

2 participants