
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
webpack-fail-plugin
Advanced tools
Webpack plugin that makes the process return an error code on failure
If you're using Webpack 2+ then you shouldn't need this plugin anymore. Under normal circumstances Webpack should already exit with a proper exit code. As such, this plugin does not officially support Webpack 2+.
If you don't get the correct exit code with Webpack 2+ then this is most likely a bug in a plugin you're using, or you're running into a Webpack bug. In either case I strongly recommend to isolate the problem and file issues at the appropriate repositories. In the mean time you could try to use this plugin as a temporary workaround.
Webpack plugin that will make the process return status code 1 when it finishes with errors in single-run mode.
npm install webpack-fail-plugin --save-dev
var failPlugin = require('webpack-fail-plugin');
module.exports = {
//config
plugins: [
failPlugin
]
}
Credits to @happypoulp.
FAQs
Webpack plugin that makes the process return an error code on failure
The npm package webpack-fail-plugin receives a total of 752 weekly downloads. As such, webpack-fail-plugin popularity was classified as not popular.
We found that webpack-fail-plugin 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.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.