chore(deps): bump dustjs-linkedin from 2.7.5 to 3.0.0 #99
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.
Bumps dustjs-linkedin from 2.7.5 to 3.0.0.
Release notes
Sourced from dustjs-linkedin's releases.
Changelog
Sourced from dustjs-linkedin's changelog.
Closes #674 (
@sethkinast
)Previously returning a primitive would crash rendering with no way to recover. You can still return a Chunk and do more complex work if you need to.
Helpers act like references or sections depending on if they have a body. When they have no body, they act like a reference and look in
params.filters
for filters to use. When they have a body, they act like a section. You can return thenables and streams normally.{
@return
value="" filters="|s" /} {@return
value=""}{.} World{/return}Closes #645 (
@sethkinast
)Closes #663 (
@sethkinast
)Closes #649 Closes #602 Closes #642 (
@sethkinast
)Closes #659 (
@sethkinast
)Calling the
onLoad
callback with a compiled template function will use this template to satisfy the load request. The template is not automatically registered under any name when passed to the callback, so theonLoad
function should handle registration as it needs.dust.cache
behavior has been changed slightly. Before, setting it to false would blow away the entire cache on every render. Now, setting it to false just prevents new templates from being added and cached templates from being used, but if it's set to true again previously-cached templates will be ready to use. (@sethkinast
)dust.render
anddust.stream
now accept a compiled template function in addition to a template name.dust.compile
no longer requires a template name, and will compile an anonymous template without one (so--name
is no longer required for dustc either)dust.load
is removed from the public APIdust.renderSource
is moved to the compiler, so it's only included in dust-full now (Fixes #412)dust.compileFn
is moved to the compiler, so it's only included in dust-full nowdust.isTemplateFn
dust.config.cache = true
, set tofalse
to disable caching and load templates again every time (Fixes #451)dust.config.cjs = false
, set totrue
to compile templates as CommonJS modules--cjs
flag todustc
dust.compiler
(but leave it exposed until 2.8) (@sethkinast
)... (truncated)
Commits
2e8795c
Release v3.0.06f98371
merge from 2.7db6d8b9
Merge pull request #805 from sumeetkakkar/fix/proto-pollutionddb6523
fix for prototype pollution vulnerabilitye0e25f7
Merge pull request #756 from danactive/mastereeb1c17
Decrease security vulnerabilities by upgrading cli dependency (#754 #748)d485a72
{?exists} and {^exists} resolve Promises and check if the result exists (#753)43c0831
place location provided by peg 0.9 onto the AST07b73b3
Merge pull request #744 from sethkinast/is-contextae69314
Don't use instanceof to determine if a Context is a ContextMaintainer changes
This version was pushed to npm by krakenjs, a new releaser for dustjs-linkedin since your current version.
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 languageYou can disable automated security fix PRs for this repo from the Security Alerts page.