
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@vrbo/nimbuild-webpack
Advanced tools
Library that provides nimbuild webpack bundling at runtime
Library that provides nimbuild webpack bundling at runtime
npm install --save @vrbo/nimbuild-webpack
Import module and instantiate new class instance:
const webpacknimbuild = require('@vrbo/nimbuild-webpack')({
webpackConfig: {...}, // customize webpack compiler
maxEntries: 100 // defaults to 0 for infinity
});
Get bundle string:
async function getBundleString() {
const response = await webpacknimbuild.run({
entry: ['react', 'react-dom'],
minify: true,
modifyScript: (script) => {
// Optionally wrap response
return `!function (undefined) { 'use strict'; ${script} }();`;
}
});
return response.script; // contains string value of bundle
}
Getting / Setting Cache:
// Get serialized cache
const serializedData = webpacknimbuild.serializeCache();
// Set cache from serialized data
webpacknimbuild.deserializeCache(serializedData);
Configure nimbuild-webpack
to handle ES6+ source code
const webpacknimbuild = require('@vrbo/nimbuild-webpack')({
webpackConfig: {
module: {
rules: [
{
test: /\.js$/,
loader: 'babel-loader'
}
]
}
}
});
npm start
This projects supports auto-formatting of source code! Simply find your favorite IDE from the list in the following list: https://prettier.io/docs/en/editors.html
For VSCode support, perform the following steps:
ext install esbenp.prettier-vscode
1.0.0
initializeSupported()
to define desired support polyfillsFAQs
Library that provides nimbuild webpack bundling at runtime
We found that @vrbo/nimbuild-webpack demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.