Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
af-webpack
Advanced tools
Unique webpack wrapper for ant financial.
TODO
See ./Configuration.md.
Get webpack config with opts.
const webpackConfig = getConfig(opts);
// use webpackConfig to dev or build
Run webpack-dev-server more gracefully with react-dev-utils.
dev({
webpackConfig,
extraMiddlewares,
beforeServer,
afterServer,
onCompileDone,
onCompileInvalid,
proxy,
});
webpackConfig is required, other optional.
Options:
webpackConfig
: The webpack configextraMiddlewares
: Extra middlewares for webpack-dev-server, based on expressbeforeServer
: The function to execute before dev server is startedafterServer
: The function to execute after dev server is startedonCompileDone
onCompileInvalid
proxy
: The proxy config which will pass through to webpack-dev-serverRun webpack compilation.
build({
webpackConfig,
success,
});
webpackConfig is required, other optional.
Options:
webpackConfig
: the webpack configsuccess
: the function to execute after build is done successfullyThe APIs related to react-dev-utils.
The webpack, useful to register extra webpack plugins.
Register babel for extra files.
MIT
FAQs
Unique webpack wrapper for ant financial.
The npm package af-webpack receives a total of 856 weekly downloads. As such, af-webpack popularity was classified as not popular.
We found that af-webpack 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.