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.
@vrbo/nimbuild-webpack
Advanced tools
Library that provides nimbuild webpack bundling at runtime
See nimbuild-corejs
npm install --save @vrbo/nimbuild-webpack
Import module and prime cache
const webpacknimbuild = require('@vrbo/nimbuild-webpack')({
webpackConfig: {...}, // customize webpack compiler
maxEntries: 100 // defaults to 0 for infinity
});
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
}
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
0.1.0
Intersection Observer
polyfill added to packages/nimbuild-corejsFAQs
Library that provides nimbuild webpack bundling at runtime
The npm package @vrbo/nimbuild-webpack receives a total of 1 weekly downloads. As such, @vrbo/nimbuild-webpack popularity was classified as not popular.
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.
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.