Skip to content

Commit

Permalink
Update dependencies (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
1000ch authored May 2, 2022
1 parent b5e5841 commit 7d95545
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
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

0 comments on commit 7d95545

Please sign in to comment.