New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

minifyify

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minifyify - npm Package Compare versions

Comparing version 3.0.0-beta1 to 3.0.0-beta2

2

package.json

@@ -21,3 +21,3 @@ {

],
"version": "3.0.0-beta1",
"version": "3.0.0-beta2",
"repository": {

@@ -24,0 +24,0 @@ "type": "git",

@@ -7,3 +7,3 @@ Minifyify

*Now with browserify 4 support*
*Now with Browserify 4 & CoffeeScript support*

@@ -27,2 +27,10 @@ Before, browserify made you choose between sane debugging and sane load times. Now, you can have both.

// Your other transforms
bundle.transform(require('coffeeify'));
bundle.transform(require('hbsfy'));
// Minifies code while tracking sourcemaps
// {global: true} lets us also minify browser shims
bundle.transform({global: true}, minifier.transform);
bundle('entry.js')

@@ -32,6 +40,2 @@ // Debug must be true for minifyify to work

// This transform minifies code and tracks sourcemaps
// {global: true} lets you also minify shims
.pipe({global: true}, minifier.transform)
// Consume pulls the source map out of src and transforms the mappings

@@ -38,0 +42,0 @@ .pipe(minifier.consume(function (err, src, map) {

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