Skip to content

Commit

Permalink
chore: remove uuid dev dependency (#5022)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Nov 1, 2023
1 parent 1c96231 commit ee2b70e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@
"unexpected-sinon": "^10.11.2",
"update-notifier": "^4.1.0",
"uslug": "^1.0.4",
"uuid": "^8.3.0",
"webpack": "^5.67.0",
"webpack-cli": "^4.9.1"
},
Expand Down
4 changes: 2 additions & 2 deletions scripts/karma-rollup-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
const os = require('os');
const fs = require('fs');
const path = require('path');
const uuid = require('uuid');
const {randomUUID} = require('crypto');
const rollup = require('rollup');
const minimatch = require('minimatch');
const loadConfigFile = require('rollup/dist/loadConfigFile.js');
Expand All @@ -57,7 +57,7 @@ function framework(fileConfigs, pluginConfig, basePath, preprocessors) {
)
);

const bundleFilename = `${uuid.v4()}.rollup.js`;
const bundleFilename = `${randomUUID()}.rollup.js`;
let bundleLocation = path.resolve(
pluginConfig.bundleDirPath ? pluginConfig.bundleDirPath : os.tmpdir(),
bundleFilename
Expand Down

0 comments on commit ee2b70e

Please sign in to comment.