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

[Snyk] Upgrade dustjs-helpers from 1.5.0 to 1.7.4 #9

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

Conversation

joh748
Copy link
Owner

@joh748 joh748 commented Nov 4, 2024

snyk-top-banner

Snyk has created this PR to upgrade dustjs-helpers from 1.5.0 to 1.7.4.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 9 versions ahead of your current version.

  • The recommended version was released on 7 years ago.

Release notes
Package name: dustjs-helpers
  • 1.7.4 - 2017-12-09

    Version 1.7.4

  • 1.7.3 - 2015-07-28

    Version 1.7.3

  • 1.7.2 - 2015-07-08

    Version 1.7.2

  • 1.7.1 - 2015-04-29

    Version 1.7.1

  • 1.7.0 - 2015-04-18

    Notable Changes

    {@ select}

    New behavior:

    • key is no longer required. If it is not provided, key must be present on individual truth tests inside the select block.
    • type can be attached to the select to apply it to all truth tests inside (and a truth test can override the type)
    • If a provided key is undefined and a type is provided, the undefined value will be cast to type.

    {@ default}

    {@ default} has been removed after being deprecated in 1.6.

    You can replace {@ default} with {@ none} in your templates without any change in functionality (but you can have more than one {@ none} block, and only one {@ default} was allowed.)

    {@ size}

    {@ size} will evaluate Dust template strings and provide the size of the result.

    Your name has {@ size key="{name}" /} letters.
    

    {@ math}

    {@ any} and {@ none} now work inside {@ math} blocks.

  • 1.6.3 - 2015-04-13

    Notable Changes

    • Fixes truth tests that were used with a context created from dust.makeBase in Dust <= 2.6.2 (most commonly seen if you use Adaro)
  • 1.6.2 - 2015-03-27

    Notable Changes

  • 1.6.1 - 2015-03-11

    Version 1.6.1

  • 1.6.0 - 2015-03-05

    The helpers can now be included as an AMD module alongside Dust 2.6.0 or newer.

    New helpers:

    • {@ any}, which executes if any truth test in a {@ select} block passes.
    • {@ none}, the opposite
    • {@ first}, executes on the first iteration of a loop
    • {@ last}... you get the idea

    Removed helpers: https://github.com/linkedin/dustjs-helpers/wiki/Deprecated-Features

    • {@ if} (use other truth test helpers or context helpers instead)
    • {@ idx} (use {$idx}, a Dust core built-in, instead
  • 1.5.0 - 2014-11-20
from dustjs-helpers GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade dustjs-helpers from 1.5.0 to 1.7.4.

See this package in npm:
dustjs-helpers

See this project in Snyk:
https://app.snyk.io/org/joh748/project/f16cf2a4-aaf1-40c9-90e5-17e738233017?utm_source=github&utm_medium=referral&page=upgrade-pr
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.

{@select}s with multiple keys break when used with {@any} / {@none}
2 participants