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 #290

Closed
wants to merge 1 commit into from

Conversation

snyk-io[bot]
Copy link

@snyk-io snyk-io bot commented Jun 18, 2024

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

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:

Copy link
Author

snyk-io bot commented Jun 18, 2024

Snyk has found 114 issues.

Icon Severity Issues
Critical 3
High 54
Medium 50
Low 7

security/snyk check is completed. Snyk found 113 issues. (View Details)

license/snyk check is completed. Snyk found 1 issues. (View Details)

@zolamk zolamk closed this Jun 20, 2024
@zolamk zolamk deleted the snyk-upgrade-f5937d1e8db9d34eb3739ce7277ed683 branch June 20, 2024 13:25
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}
1 participant