Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps hexo-renderer-stylus from 1.1.0 to 2.0.1.

Release notes

Sourced from hexo-renderer-stylus's releases.

2.0.1

Fix

  • fix: enable disableNunjucks to avoid rendering nunjucks tag #55
    • it's now safe to use:
    div::before
      content: "{{}}"
    

2.0.0

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.
Commits
  • 5af594e Merge pull request #57 from curbengh/v2.0.1
  • 3535bcc release: 2.0.1
  • 8ebabf5 Merge pull request #55 from curbengh/disable-nunjucks
  • 9898758 refactor(test): specify render engine
  • 7891c84 fix: enable disableNunjucks to avoid rendering nunjucks tag
  • 223c0fd Merge pull request #54 from curbengh/v2.0.0
  • 17b20c8 release: 2.0.0
  • 0f465c8 chore(deps): bump stylus from 0.54.5 to 0.54.8
  • 58f11d1 chore: requires Node 10.13+
  • 872ba9b ci(travis): add Windows
  • Additional commits viewable in compare view

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
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [hexo-renderer-stylus](https://github.com/hexojs/hexo-renderer-stylus) from 1.1.0 to 2.0.1.
- [Release notes](https://github.com/hexojs/hexo-renderer-stylus/releases)
- [Commits](hexojs/hexo-renderer-stylus@1.1.0...2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant