From 0d44d52db64b20205057f62960de183a8d7b67b5 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Wed, 20 Sep 2023 12:53:37 -0400 Subject: [PATCH] switch to @mole-inc/bin-wrapper Fixes #147 --- lib/index.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index a7aa2e2..dd38e3b 100644 --- a/lib/index.js +++ b/lib/index.js @@ -2,6 +2,7 @@ import fs from 'node:fs'; import process from 'node:process'; import {fileURLToPath} from 'node:url'; import BinWrapper from 'bin-wrapper'; +import {BinWrapper} from '@mole-inc/bin-wrapper'; const pkg = JSON.parse(fs.readFileSync(new URL('../package.json', import.meta.url))); const url = `https://raw.githubusercontent.com/imagemin/gifsicle-bin/v${pkg.version}/vendor/`; diff --git a/package.json b/package.json index a33a24d..52d2891 100644 --- a/package.json +++ b/package.json @@ -36,8 +36,8 @@ "gifsicle" ], "dependencies": { + "@mole-inc/bin-wrapper": "8.0.1", "bin-build": "^3.0.0", - "bin-wrapper": "^4.0.0", "execa": "^6.1.0" }, "devDependencies": {