[Snyk(Unlimited)] Upgrade dustjs-helpers from 1.5.0 to 1.7.4 #2907
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 fixes:
SNYK-JS-MORGAN-72579
Release notes
Package name: dustjs-helpers
Version 1.7.4
Version 1.7.3
Version 1.7.2
Version 1.7.1
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)undefined
and atype
is provided, the undefined value will be cast totype
.{@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.{@math}
{@any}
and{@none}
now work inside{@math}
blocks.Notable Changes
dust.makeBase
in Dust <= 2.6.2 (most commonly seen if you use Adaro)Notable Changes
{@select}
state handling.Version 1.6.1
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 ideaRemoved 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, insteadNote: 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