advpng-bin
Advanced tools
Comparing version 4.0.0 to 5.0.0
'use strict'; | ||
const path = require('path'); | ||
const binBuild = require('bin-build'); | ||
@@ -7,8 +8,8 @@ const log = require('logalot'); | ||
(async () => { | ||
await bin.run(['--version']).catch(async err => { | ||
log.warn(err.message); | ||
await bin.run(['--version']).catch(async error => { | ||
log.warn(error.message); | ||
log.warn('advpng pre-build test failed'); | ||
log.info('compiling from source'); | ||
await binBuild.url('https://github.com/amadvance/advancecomp/releases/download/v2.1/advancecomp-2.1.tar.gz', [ | ||
await binBuild.file(path.resolve(__dirname, '../vendor/source/advancecomp-2.1.tar.gz'), [ | ||
'autoreconf -fiv', | ||
@@ -15,0 +16,0 @@ `./configure --prefix="${bin.dest()}" --bindir="${bin.dest()}"`, |
{ | ||
"name": "advpng-bin", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "AdvPNG bin-wrapper that makes it seamlessly available as a local dependency", | ||
@@ -32,7 +32,7 @@ "license": "MIT", | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
"postinstall": "node lib/install.js", | ||
"test": "xo && ava" | ||
"test": "xo && ava --timeout=60s" | ||
}, | ||
@@ -60,9 +60,9 @@ "files": [ | ||
"devDependencies": { | ||
"ava": "*", | ||
"ava": "^3.8.0", | ||
"bin-check": "^4.1.0", | ||
"compare-size": "^3.0.0", | ||
"execa": "^3.2.0", | ||
"tempy": "^0.3.0", | ||
"xo": "*" | ||
"execa": "^4.0.0", | ||
"tempy": "^0.5.0", | ||
"xo": "^0.30.0" | ||
} | ||
} |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4559
42
1