Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #28

Merged
merged 1 commit into from
May 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
"bin-wrapper": "^4.0.0"
},
"devDependencies": {
"ava": "^3.15.0",
"ava": "^4.2.0",
"bin-check": "^4.0.1",
"compare-size": "^3.0.0",
"execa": "^5.1.1",
"tempy": "^2.0.0",
"xo": "^0.45.0"
"execa": "^6.1.0",
"tempy": "^3.0.0",
"xo": "^0.48.0"
}
}
8 changes: 4 additions & 4 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import path from 'node:path';
import process from 'node:process';
import {fileURLToPath} from 'node:url';
import test from 'ava';
import execa from 'execa';
import tempy from 'tempy';
import {execa} from 'execa';
import {temporaryDirectory} from 'tempy';
import binCheck from 'bin-check';
import binBuild from 'bin-build';
import compareSize from 'compare-size';
Expand All @@ -17,7 +17,7 @@ test('rebuild the pngcrush binaries', async t => {
return;
}

const temporary = tempy.directory();
const temporary = temporaryDirectory();
const source = fileURLToPath(new URL('../vendor/source/pngcrush-1.8.13.tar.gz', import.meta.url));

await binBuild.file(source, [
Expand All @@ -33,7 +33,7 @@ test('return path to binary and verify that it is working', async t => {
});

test('minify a PNG', async t => {
const temporary = tempy.directory();
const temporary = temporaryDirectory();
const src = fileURLToPath(new URL('fixtures/test.png', import.meta.url));
const dest = path.join(temporary, 'test.png');
const args = [
Expand Down