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

fly-uglify

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fly-uglify - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

7

index.js

@@ -0,10 +1,9 @@

const assign = require("object-assign")
module.exports = function () {
this.uglify = function (opts) {
opts = opts || {}
opts.fromString = true
return this
.filter((src) => require("uglify-js")
.minify(src, opts).code)
.notify("plugin_run", { plugin: "uglify" })
.minify(src, assign({ fromString: true }, opts)).code)
}
}
{
"name": "fly-uglify",
"version": "0.0.1",
"version": "0.0.2",
"description": "Fly plugin for Uglify",

@@ -13,5 +13,5 @@ "license": "MIT",

"dependencies": {
"uglify-js": "^2.4.23",
"fly": "0.0.1"
"object-assign": "^3.0.0",
"uglify-js": "^2.4.23"
}
}
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