Comparing version 6.1.1 to 6.1.2
'use strict'; | ||
const binBuild = require('bin-build'); | ||
const log = require('logalot'); | ||
const path = require('path'); | ||
@@ -8,7 +7,7 @@ const bin = require('.'); | ||
bin.run(['-version']).then(() => { | ||
log.success('cwebp pre-build test passed successfully'); | ||
console.log('cwebp pre-build test passed successfully'); | ||
}).catch(error => { | ||
log.warn(error.message); | ||
log.warn('cwebp pre-build test failed'); | ||
log.info('compiling from source'); | ||
console.warn(error.message); | ||
console.warn('cwebp pre-build test failed'); | ||
console.info('compiling from source'); | ||
@@ -19,5 +18,5 @@ binBuild.file(path.resolve(__dirname, '../vendor/source/libwebp-1.1.0.tar.gz'), [ | ||
]).then(() => { // eslint-disable-line promise/prefer-await-to-then | ||
log.success('cwebp built successfully'); | ||
console.log('cwebp built successfully'); | ||
}).catch(error => { | ||
log.error(error.stack); | ||
console.error(error.stack); | ||
@@ -24,0 +23,0 @@ // eslint-disable-next-line unicorn/no-process-exit |
{ | ||
"name": "cwebp-bin", | ||
"version": "6.1.1", | ||
"version": "6.1.2", | ||
"description": "cwebp wrapper that makes it seamlessly available as a local dependency", | ||
@@ -38,4 +38,3 @@ "license": "MIT", | ||
"bin-build": "^3.0.0", | ||
"bin-wrapper": "^4.0.1", | ||
"logalot": "^2.1.0" | ||
"bin-wrapper": "^4.0.1" | ||
}, | ||
@@ -42,0 +41,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
# cwebp-bin [![Build Status](https://travis-ci.org/imagemin/cwebp-bin.svg?branch=master)](https://travis-ci.org/imagemin/cwebp-bin) | ||
# cwebp-bin ![GitHub Actions Status](https://github.com/imagemin/cwebp-bin/workflows/test/badge.svg) | ||
@@ -3,0 +3,0 @@ > [WebP](https://developers.google.com/speed/webp/) is a new image format that provides lossless and lossy compression for images on the web. WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller in size compared to JPEG images at equivalent SSIM index. |
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
2
4038258
41
- Removedlogalot@^2.1.0
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedarray-find-index@1.0.2(transitive)
- Removedcamelcase@2.1.1(transitive)
- Removedcamelcase-keys@2.1.0(transitive)
- Removedchalk@1.1.3(transitive)
- Removedconsole-stream@0.1.1(transitive)
- Removedcurrently-unhandled@0.4.1(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedfigures@1.7.0(transitive)
- Removedfind-up@1.1.2(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-stdin@4.0.1(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhosted-git-info@2.8.9(transitive)
- Removedindent-string@2.1.0(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedis-finite@1.1.0(transitive)
- Removedis-utf8@0.2.1(transitive)
- Removedload-json-file@1.1.0(transitive)
- Removedlogalot@2.1.0(transitive)
- Removedlongest@1.0.1(transitive)
- Removedloud-rejection@1.6.0(transitive)
- Removedlpad-align@1.1.2(transitive)
- Removedmap-obj@1.0.1(transitive)
- Removedmeow@3.7.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removednormalize-package-data@2.5.0(transitive)
- Removedparse-json@2.2.0(transitive)
- Removedpath-exists@2.1.0(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpath-type@1.1.0(transitive)
- Removedread-pkg@1.1.0(transitive)
- Removedread-pkg-up@1.0.1(transitive)
- Removedredent@1.0.0(transitive)
- Removedrepeating@2.0.1(transitive)
- Removedresolve@1.22.8(transitive)
- Removedspdx-correct@3.2.0(transitive)
- Removedspdx-exceptions@2.5.0(transitive)
- Removedspdx-expression-parse@3.0.1(transitive)
- Removedspdx-license-ids@3.0.20(transitive)
- Removedsqueak@1.3.0(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedstrip-bom@2.0.0(transitive)
- Removedstrip-indent@1.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedtrim-newlines@1.0.0(transitive)
- Removedvalidate-npm-package-license@3.0.4(transitive)