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

chore: remove uuid dev dependency #5022

Merged
merged 1 commit into from
Nov 1, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
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