
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
broccoli-ember-hbs-template-compiler
Advanced tools
ember.js precompiler for projects that use broccoli
An opinionated filter for Broccoli that compiles handlebars templates for ember.js
npm install --save-dev broccoli-ember-hbs-template-compiler
module.exports = function (broccoli) {
var templateCompiler = require('broccoli-ember-hbs-template-compiler')
var pickFiles = require('broccoli-static-compiler')
function preprocess (tree) {
tree = templateCompiler(tree);
return tree
}
var sourceTree = broccoli.makeTree('js');
var templates = pickFiles(sourceTree, {
srcDir: '/templates',
destDir: '/templates'
})
var appTemplates = preprocess(templates);
return [appTemplates];
}
It's opinionated so you get both .hbs and .handlebars extensions out of the box
It requires the destination directory name be templates (as shown in the above example)
FAQs
ember.js precompiler for projects that use broccoli
The npm package broccoli-ember-hbs-template-compiler receives a total of 228 weekly downloads. As such, broccoli-ember-hbs-template-compiler popularity was classified as not popular.
We found that broccoli-ember-hbs-template-compiler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.