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.
babel-deps
Advanced tools
Compiles javascript files and all their dependencies with babel.
This tool uses babel to compile a list of files. The main difference from just using babel directly is that this will automatically load and compile any files that weren't given in the input list but are imported as dependencies. The results contain all compiled files, including the extra dependencies.
var files = [
{
contents: fs.readFileSync(path1, 'utf8'),
options: {filename: path1}
},
{
contents: fs.readFileSync(path1, 'utf8'),
options: {filename: path1}
}
];
var results = babelDeps(files, babelOptions);
An array of files to be compiled with their dependencies. Each element of the array should be an object with the following keys:
contents
{string} The code to be compiled.options
{!Object} Options to be passed to babel when compiling this file. Note that the filename option is required.An object with babel options that should be used for all files. File specific options will be merged with this before the file is compiled, so they have higher priority.
FAQs
Compiles javascript files and all their dependencies with babel.
The npm package babel-deps receives a total of 32 weekly downloads. As such, babel-deps popularity was classified as not popular.
We found that babel-deps 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.
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.