Installations
npm install pro-uglifyjs-webpack-plugin
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
7.7.4
NPM Version
4.1.2
Score
71.6
Supply Chain
86.9
Quality
75.1
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
MichaelHu
Download Statistics
Total Downloads
1,658
Last Day
1
Last Week
6
Last Month
25
Last Year
96
GitHub Statistics
1 Stars
8 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Jun 29, 2017
Bundle Size
5.38 kB
Minified
2.22 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.1.1
Package Id
pro-uglifyjs-webpack-plugin@1.1.1
Size
4.32 kB
NPM Version
4.1.2
Node Version
7.7.4
Total Downloads
Cumulative downloads
Total Downloads
1,658
Last Day
0%
1
Compared to previous day
Last Week
0%
6
Compared to previous week
Last Month
316.7%
25
Compared to previous month
Last Year
-23.2%
96
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads

No dependencies detected.
pro-uglifyjs-webpack-plugin
It's essentially a uglifyjs webpack plugin, but extended with extra option.
Overview
You can replace webpack.optimize.UglifyJsPlugin
with this plugin. Besides common usage of uglifyjs,
the new-added option wrapCatch
enables you:
wrap eval
:
...
eval( 'var a = 5; console.log( a )' );
...
=>
...
try {
eval( 'var a = 5; console.log( a )' );
}
catch ( e ) {
throw Error( e );
}
...
wrap function body
:
function a() {
// function body goes here
}
=>
function a() {
try {
// function body goes here
}
catch ( e ) {
throw Error( e );
}
}
you should only set the tryCatch
option to true.
Installation
npm install --save pro-uglifyjs-webpack-plugin
Usage
in
webpack.config.js
var proUglify = require( 'pro-uglifyjs-webpack-plugin' );
config.plugins = config.plugins.concat( [
new proUglify( {
wrapTry: true,
compress: { ... },
mangle: false,
output: {
comments: true
}
} )
] );

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
Found 0/8 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.6
/10
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More