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.2 to 0.0.3

10

index.js
const assign = require("object-assign")
const minify = require("uglify-js").minify
module.exports = function () {
this.uglify = function (opts) {
return this
.filter((src) => require("uglify-js")
.minify(src, assign({ fromString: true }, opts)).code)
}
this.filter("uglify", (src, opts) => {
try { return minify(src, assign({ fromString: true }, opts)).code }
catch (e) { throw e }
})
}
{
"name": "fly-uglify",
"version": "0.0.2",
"version": "0.0.3",
"description": "Fly plugin for Uglify",

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

@@ -33,3 +33,3 @@ <div align="center">

[MIT](http://opensource.org/licenses/MIT) © [Jorge Bucaran][author] [et all](https://github.com/bucaran/fly-uglify/graphs/contributors)
[MIT](http://opensource.org/licenses/MIT) © [Jorge Bucaran][author] et [al](https://github.com/bucaran/fly-uglify/graphs/contributors)

@@ -42,3 +42,3 @@

[fly]: https://www.github.com/bucaran/fly
[fly]: https://www.github.com/flyjs/fly

@@ -45,0 +45,0 @@ [fly-badge]: https://img.shields.io/badge/fly-JS-05B3E1.svg?style=flat-square

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