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

jpegtran-bin

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jpegtran-bin - npm Package Compare versions

Comparing version 3.0.6 to 3.1.0

2

cli.js
#!/usr/bin/env node
'use strict';
var spawn = require('child_process').spawn;
var jpegtran = require('./');
var input = process.argv.slice(2);

@@ -7,0 +7,0 @@

'use strict';
var path = require('path');
var BinWrapper = require('bin-wrapper');
var pkg = require('../package.json');
var url = 'https://raw.github.com/imagemin/jpegtran-bin/v' + pkg.version + '/vendor/';
module.exports = new BinWrapper()
.src(url + 'osx/jpegtran', 'darwin')
.src(url + 'macos/jpegtran', 'darwin')
.src(url + 'linux/x86/jpegtran', 'linux', 'x86')

@@ -11,0 +11,0 @@ .src(url + 'linux/x64/jpegtran', 'linux', 'x64')

'use strict';
var path = require('path');

@@ -7,2 +6,3 @@ var BinBuild = require('bin-build');

var bin = require('./');
var args = [

@@ -28,3 +28,3 @@ '-copy', 'none',

.cmd('touch configure.ac aclocal.m4 configure Makefile.am Makefile.in')
.src('https://downloads.sourceforge.net/project/libjpeg-turbo/1.4.2/libjpeg-turbo-1.4.2.tar.gz')
.src('https://downloads.sourceforge.net/project/libjpeg-turbo/1.5.0/libjpeg-turbo-1.5.0.tar.gz')
.cmd(cfg)

@@ -31,0 +31,0 @@ .cmd('make install');

{
"name": "jpegtran-bin",
"version": "3.0.6",
"version": "3.1.0",
"description": "jpegtran (part of libjpeg-turbo) bin-wrapper that makes it seamlessly available as a local dependency",

@@ -16,3 +16,7 @@ "license": "MIT",

"email": "kevinmartensson@gmail.com",
"url": "kevinmartensson.com"
"url": "github.com/kevva"
},
{
"name": "Shinnosuke Watanabe",
"url": "github.com/shinnn"
}

@@ -28,3 +32,3 @@ ],

"postinstall": "node lib/install.js",
"test": "mocha --timeout 100000"
"test": "xo && mocha --timeout 100000"
},

@@ -56,4 +60,5 @@ "files": [

"mocha": "^2.2.4",
"rimraf": "^2.3.2"
"rimraf": "^2.3.2",
"xo": "*"
}
}

@@ -1,2 +0,2 @@

# jpegtran-bin [![Build Status](http://img.shields.io/travis/imagemin/jpegtran-bin.svg?style=flat)](http://travis-ci.org/imagemin/jpegtran-bin)
# jpegtran-bin [![Build Status](https://travis-ci.org/imagemin/jpegtran-bin.svg?branch=master)](https://travis-ci.org/imagemin/jpegtran-bin)

@@ -3,0 +3,0 @@ > libjpeg-turbo is a derivative of libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and decompression on x86, x86-64, and ARM systems. On such systems, libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg, all else being equal.

@@ -1,4 +0,3 @@

/*global afterEach,beforeEach,it*/
'use strict';
/* eslint-env mocha */
var assert = require('assert');

@@ -13,2 +12,3 @@ var execFile = require('child_process').execFile;

var rimraf = require('rimraf');
var tmp = path.join(__dirname, 'tmp');

@@ -31,4 +31,3 @@

new BinBuild()
.src('https://downloads.sourceforge.net/project/libjpeg-turbo/1.4.2/libjpeg-turbo-1.4.2.tar.gz')
.cmd('touch configure.ac aclocal.m4 configure Makefile.am Makefile.in')
.src('https://downloads.sourceforge.net/project/libjpeg-turbo/1.5.0/libjpeg-turbo-1.5.0.tar.gz')
.cmd(cfg)

@@ -35,0 +34,0 @@ .cmd('make install')

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