Skip to content

Commit

Permalink
Upgrade UUID package (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
mquevill authored Sep 23, 2021
1 parent 8b045bb commit a51f0fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/samples.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require('path');
const fs = require('fs');
const pify = require('pify');
const cpFile = require('cp-file');
const uuid = require('uuid/v4');
const {v4: uuidv4} = require('uuid');

const fixtureDir = path.join(__dirname, '../mock/fixtures');

Expand All @@ -12,7 +12,7 @@ const setup = async numFiles => {
const files = [];

while (files.length < numFiles) {
const filename = `${uuid()}.zip`;
const filename = `${uuidv4()}.zip`;
promises.push(cpFile(path.join(fixtureDir, 'electron-master.zip'), path.join(fixtureDir, filename)));
files.push(filename);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"pify": "^4.0.1",
"spectron": "^9.0.0",
"tsd": "^0.17.0",
"uuid": "^3.3.2",
"uuid": "^8.3.2",
"xo": "^0.25.3"
},
"xo": {
Expand Down

0 comments on commit a51f0fd

Please sign in to comment.