Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
broccoli-es6modules
Advanced tools
#broccoli-es6modules This is a broccoli filter that transpiles every file in its input tree from ES6 to AMD, CommonJS, or UMD.
In combination with broccoli-funnel (for choosing which files you want) and broccoli-sourcemap-concat, we can build a flexible pipeline for distributing ES6 sourcecode to the browser.
//By default compiles to AMD
var transpileES6 = require('broccoli-es6modules');
var tree = transpileES6(originalTree);
//Compile to CommonJS or UMD
var transpileES6 = require('broccoli-es6modules');
var cjsTree = transpileES6(originalTree, {
format: 'cjs'
});
var umdTree = transpileES6(originalTree, {
format: 'umd'
});
FAQs
An es6 module transpiler & concatenator for broccoli.
The npm package broccoli-es6modules receives a total of 1,382 weekly downloads. As such, broccoli-es6modules popularity was classified as popular.
We found that broccoli-es6modules demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.