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

gulp-mmtrix

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-mmtrix - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

11

index.js

@@ -49,4 +49,2 @@ var through = require('through2');

var reqOpt = {
// file: file.contents,
file: fs.createReadStream(file.path),
accesskey: accesskey,

@@ -82,3 +80,3 @@ md5: MD5_TOKEN,

function mmtrix(reqOpt, file, cb) {
request({
var r = request({
url: 'http://api.mmtrix.com/v1/imageoptimize/file',

@@ -105,5 +103,10 @@ method: 'POST',

}
})
});
var form = r.form();
form.append('file', file.contents, {filename: file.relative});
form.append('accesskey', reqOpt.accesskey)
form.append('md5', reqOpt.md5);
}
// Exporting the plugin main function
module.exports = gulpPrefixer;
{
"name": "gulp-mmtrix",
"version": "0.1.7",
"version": "0.1.8",
"description": "a gulp plugin for mmtrix who used to compress image",

@@ -5,0 +5,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