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

gulp-uglify

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-uglify - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

9

index.js
var es = require('event-stream'),
uglify = require('uglify-js');
uglify = require('uglify-js'),
clone = require('clone');

@@ -7,6 +8,4 @@ module.exports = function() {

function minify(file, callback) {
var newFile = {
path: file.path,
contents: new Buffer(uglify.minify(String(file.contents), {fromString: true}).code)
};
var newFile = clone(file);
newFile.contents = new Buffer(uglify.minify(String(file.contents), {fromString: true}).code);

@@ -13,0 +12,0 @@ callback(null, newFile);

{
"name": "gulp-uglify",
"version": "0.0.3",
"version": "0.0.4",
"description": "Minify files with UglifyJS.",

@@ -13,3 +13,4 @@ "keywords": [

"event-stream": "~3.0.15",
"uglify-js": "~2.3.6"
"uglify-js": "~2.3.6",
"clone": "~0.1.9"
},

@@ -16,0 +17,0 @@ "main": "index.js",

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