
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
@bavary/webpack-loader
Advanced tools
Checkout related packages
Install via npm:
$ npm install -g @bavary/webpack-loader
Install via yarn:
$ yarn global add @bavary/webpack-loader
Create a new rule with @bavary/webpack-loader
as loader:
module.exports = {
// ...
module: {
rules: [
{
test: /\.bv$/,
use: '@bavary/webpack-loader'
}
]
}
// ...
};
Be sure to install the peer-dependency @bavary/core and optionally @bavary/bavary-lib if you want make use of the functions option.
const options = {
// Module type
esModule: false,
// Inject functions from @bavary/lib. Be sure to install @bavary/lib to use them
functions: ['count', ...],
...bavaryOptions
}
where bavaryOptions
are all options which can be used in the compiler configuration.
./index.bv
entry ['A' | 'B']
./app.js
import parse from './index.bv';
console.log(parse('A')); // Logs "A"
FAQs
Webpack Loader for bavary declaration files
The npm package @bavary/webpack-loader receives a total of 5 weekly downloads. As such, @bavary/webpack-loader popularity was classified as not popular.
We found that @bavary/webpack-loader 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.