Skip to content

Commit

Permalink
Update dependencies (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
1000ch committed May 2, 2022
1 parent afa7085 commit aabdd11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -36,11 +36,11 @@
"bin-wrapper": "^4.0.0"
},
"devDependencies": {
"ava": "^4.1.0",
"ava": "^4.2.0",
"bin-check": "^4.0.1",
"compare-size": "^3.0.0",
"execa": "^6.1.0",
"tempy": "^2.0.0",
"tempy": "^3.0.0",
"xo": "^0.48.0"
}
}
6 changes: 3 additions & 3 deletions test/test.js
Expand Up @@ -4,7 +4,7 @@ import process from 'node:process';
import {fileURLToPath} from 'node:url';
import test from 'ava';
import {execa} from 'execa';
import tempy from 'tempy';
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 optipng binaries', async t => {
return;
}

const temporary = tempy.directory();
const temporary = temporaryDirectory();
const source = fileURLToPath(new URL('../vendor/source/optipng.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 sourcePath = fileURLToPath(new URL('fixtures/test.png', import.meta.url));
const destinationPath = path.join(temporary, 'test.png');
const arguments_ = [
Expand Down

0 comments on commit aabdd11

Please sign in to comment.