
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
dustjs-brianmhunt
Advanced tools
Asynchronous Javascript templating for the browser and server. This fork is maintained by LinkedIn.
Important: We recommend that you lock your version of Dust to a specific minor version, instead of a major version. By default, NPM will add "dustjs-linkedin": "^2.x.y"
to your package.json, which will install new minor versions automatically.
npm install --save --production dustjs-linkedin
# If you want the dustc compiler available globally
npm install --global --production dustjs-linkedin
If you want to add the Dust helpers or secure filters:
npm install --save --production dustjs-helpers
npm install --save --production dustjs-filters-secure
bower install --save dustjs-linkedin
examples/
directory in the repo for simple examples to help you get started using Dust in a variety of ways.v2.7.2 (2015/06/08 20:41 +00:00)
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="<Hello>" filters="|s" /} {@return value="<Hello>"}{.} World{/return}
Closes #645 (@sethkinast)
Closes #663 (@sethkinast)
Closes #649 Closes #602 Closes #642 (@sethkinast)
Closes #659 (@sethkinast)
FAQs
Asynchronous templates for the browser and server (LinkedIn fork)
The npm package dustjs-brianmhunt receives a total of 0 weekly downloads. As such, dustjs-brianmhunt popularity was classified as not popular.
We found that dustjs-brianmhunt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.