
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
A browserify plugin that writes the error message of a failed build to the output file.
After adding the plugin to your browserify
instance, errorify
prevents bundle()
from emitting error
's. All errors are trapped, including: invalid syntax in the source, a missing dependency, a failed transform, etc. When the error message is written to the output file, it is wrapped in an alert
(or console.error
if alert
isn't available), so loading the file notifies you immediately that the build failed and why.
Only the bundle()
stream is rewritten. If you pass in a callback, it'll get the expected err
and body
arguments.
errorify
is meant to be used with something like watchify. It saves you a trip to the terminal to see why a build failed.
Keep in mind that since errors are no longer emitted, all builds appear "successful". Careful not to deploy broken code.
Note: Only tested with Browserify 9+
var browserify = require('browserify');
var errorify = require('errorify');
var b = browserify({ /* stuff */ });
b.plugin(errorify);
FAQs
Browserify plugin to write failed build error messages to the output file
The npm package errorify receives a total of 737 weekly downloads. As such, errorify popularity was classified as not popular.
We found that errorify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.