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

mozjpeg

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mozjpeg - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

27

index.js

@@ -8,2 +8,3 @@ 'use strict';

var path = require('path');
var pkg = require('./package.json');

@@ -33,15 +34,25 @@ /**

if (!exists) {
var builder = new BinBuild()
.src('https://github.com/mozilla/mozjpeg/archive/v' + BIN_VERSION + '.tar.gz')
.cfg('autoreconf -fiv && ./configure --prefix="' + bin.dest() + '" --bindir="' + bin.dest() + '" --libdir="' + bin.dest() + '"')
.make('make && make install');
return builder.build(function (err) {
}
bin.run(['--version'], function (err) {
if (err) {
console.log(logSymbols.error, err);
console.log(logSymbols.warning + ' pre-build test failed, compiling from source...');
var builder = new BinBuild()
.src('https://github.com/mozilla/mozjpeg/archive/v' + BIN_VERSION + '.tar.gz')
.cfg('autoreconf -fiv && ./configure --prefix="' + bin.dest() + '" --bindir="' + bin.dest() + '" --libdir="' + bin.dest() + '"')
.make('make && make install');
return builder.build(function (err) {
if (err) {
console.log(logSymbols.error, err);
}
console.log(logSymbols.success + ' mozjpeg built successfully!');
});
}
console.log(logSymbols.success + ' mozjpeg built successfully!');
console.log(logSymbols.success + ' pre-build test passed successfully!');
});
}
});

@@ -48,0 +59,0 @@

{
"name": "mozjpeg",
"version": "0.1.6",
"version": "0.1.7",
"description": "mozjpeg wrapper that makes it seamlessly available as a local dependency",

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

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