New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 1.0.0 to 1.0.1

12

dist/rollup-plugin-uglify.js
'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var uglifyJs = require('uglify-js');
var uglify = _interopDefault(require('uglify-js'));
function index (options, minifier) {
function uglify(options, minifier) {
if ( options === void 0 ) options = {};
if ( minifier === void 0 ) minifier = uglify.minify;
if ( minifier === void 0 ) minifier = uglifyJs.minify;
return {
name: 'uglify',
transformBundle: function transformBundle(code) {

@@ -35,2 +35,2 @@ options.fromString = true;

module.exports = index;
module.exports = uglify;
{
"name": "rollup-plugin-uglify",
"version": "1.0.0",
"version": "1.0.1",
"description": "Rollup plugin to minify generated bundle",

@@ -5,0 +5,0 @@ "main": "dist/rollup-plugin-uglify.js",

@@ -58,3 +58,3 @@ # rollup-plugin-uglify [![Travis Build Status][travis-img]][travis]

// multiline comment
return /@preserve|@license|@cc_on/i.test(test);
return /@preserve|@license|@cc_on/i.test(text);
}

@@ -61,0 +61,0 @@ }

Sorry, the diff of this file is not supported yet

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