Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rollup-plugin-uglify

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-uglify - npm Package Compare versions

Comparing version 6.0.2 to 6.0.3

18

index.js

@@ -10,10 +10,14 @@ const { codeFrameColumns } = require("@babel/code-frame");

const minifierOptions = serialize(
Object.assign({}, userOptions, {
sourceMap: userOptions.sourcemap !== false,
sourcemap: undefined,
numWorkers: undefined
})
);
const normalizedOptions = Object.assign({}, userOptions, {
sourceMap: userOptions.sourcemap !== false
});
["sourcemap"].forEach(key => {
if (normalizedOptions.hasOwnProperty(key)) {
delete normalizedOptions[key];
}
});
const minifierOptions = serialize(normalizedOptions);
return {

@@ -20,0 +24,0 @@ name: "uglify",

{
"name": "rollup-plugin-uglify",
"version": "6.0.2",
"version": "6.0.3",
"description": "Rollup plugin to minify generated bundle",

@@ -29,3 +29,3 @@ "main": "index.js",

"jest-worker": "^24.0.0",
"serialize-javascript": "^1.6.1",
"serialize-javascript": "^1.9.0",
"uglify-js": "^3.4.9"

@@ -32,0 +32,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc