pngquant-bin
Advanced tools
Comparing version 4.0.0 to 5.0.0
'use strict'; | ||
const path = require('path'); | ||
const binBuild = require('bin-build'); | ||
@@ -14,3 +15,3 @@ const logalot = require('logalot'); | ||
binBuild.url('http://pngquant.org/pngquant-2.10.1-src.tar.gz', [ | ||
binBuild.file(path.resolve(__dirname, '../vendor/source/pngquant.tar.gz'), [ | ||
'rm ./INSTALL', | ||
@@ -17,0 +18,0 @@ `./configure --prefix="${bin.dest()}"`, |
{ | ||
"name": "pngquant-bin", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "`pngquant` wrapper that makes it seamlessly available as a local dependency", | ||
@@ -27,3 +27,3 @@ "license": "MIT", | ||
"engines": { | ||
"node": ">=4" | ||
"node": ">=6" | ||
}, | ||
@@ -37,3 +37,4 @@ "scripts": { | ||
"index.js", | ||
"lib" | ||
"lib", | ||
"vendor/source" | ||
], | ||
@@ -40,0 +41,0 @@ "keywords": [ |
@@ -38,4 +38,13 @@ # pngquant-bin [![Build Status](https://travis-ci.org/imagemin/pngquant-bin.svg?branch=master)](https://travis-ci.org/imagemin/pngquant-bin) | ||
## Updating pre-compiled binaries | ||
The Linux binaries are statically linked so they should work on all Linux distributions. To recompile them: | ||
1. `sudo apt-get install libpng-dev` | ||
2. `./configure CFLAGS=-static && make && cp pngquant pngquant-64` | ||
3. Repeat the above commands, but in a 32-bin docker container started with: docker run -ti -v `pwd`:/source i386/debian:9.3 bash | ||
## License | ||
MIT © [Imagemin](https://github.com/imagemin) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
153621
9
48
50
1