Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
browserify-jade
Advanced tools
jade transform for browserify v2. Sourcemaps generation included.
If you are using browserify-jade programatically, you can pass options to the Jade compiler by
calling jade()
on the browserify-jade transform:
var b = browserify();
b.transform(require('browserify-jade').jade({
pretty: false
}));
If you are using browserify-jade in a command line build, you can pass parameters by adding a "browserify-jade" section to your package.json. You can either include parameters directly:
"browserify-jade": {
"pretty": false
}
or for more complicated cases you can reference a .js file:
"browserify-jade": "./assets/browserify-jade-config.js"
And then in browserify-jade-config.js:
module.exports = {
pretty: (process.env.NODE_ENV == 'production')?true:false
};
FAQs
browserify v2 plugin for jade with sourcemaps support
We found that browserify-jade 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.