Skip to content
New issue

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

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

Already on GitHub? # to your account

[Snyk(Unlimited)] Upgrade dustjs-helpers from 1.5.0 to 1.7.4 #3504

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

Conversation

snyk-bot
Copy link

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 2 years ago, on 2017-12-09.

The recommended version fixes:

Severity Issue Exploit Maturity
Arbitrary Code Injection
SNYK-JS-MORGAN-72579
Proof of Concept
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

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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

# for free to join this conversation on GitHub. Already have an account? # 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}
1 participant