Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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 299 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.