Skip to content

Commit 350a851

Browse files
deps: bump uuid from 11.1.0 to 14.0.0 (#482)
* deps: bump uuid from 11.1.0 to 14.0.0 Bumps [uuid](https://github.com/uuidjs/uuid) from 11.1.0 to 14.0.0. - [Release notes](https://github.com/uuidjs/uuid/releases) - [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md) - [Commits](uuidjs/uuid@v11.1.0...v14.0.0) --- updated-dependencies: - dependency-name: uuid dependency-version: 14.0.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * fix: uuid import in jest --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mikko Riippi <mikko.riippi@gofore.com>
1 parent 5481551 commit 350a851

3 files changed

Lines changed: 7 additions & 12 deletions

File tree

jest.config.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ process.env.TZ = 'Europe/Helsinki';
44
module.exports = {
55
testEnvironment: 'jest-fixed-jsdom',
66
transform: {
7-
'.*\\.(tsx?)$': [
7+
'.*\\.(tsx?|js)$': [
88
'@swc/jest',
99
{
1010
jsc: {
@@ -20,16 +20,11 @@ module.exports = {
2020
},
2121
transformIgnorePatterns: [
2222
// '/node_modules/',
23-
'node_modules/(?!(@city-of-helsinki/react-helsinki-headless-cms|@city-of-helsinki/react-helsinki-headless-cms/apollo|until-async|msw))/',
23+
'node_modules/(?!(@city-of-helsinki/react-helsinki-headless-cms|@city-of-helsinki/react-helsinki-headless-cms/apollo|until-async|msw|uuid))/',
2424
'^.+\\.module\\.(css|sass|scss)$',
2525
],
2626
moduleNameMapper: {
2727
'.+\\.(css|styl|less|sass|scss)$': 'identity-obj-proxy',
28-
// Force uuid package to use CommonJS version instead of ESM.
29-
// Needed at least with hds-react v3.12.0 which uses export keyword in
30-
// hds-react/node_modules/uuid/dist/esm-browser/index.js
31-
// and otherwise fails with "SyntaxError: Unexpected token 'export'".
32-
uuid: require.resolve('uuid'),
3328
// Mock Sentry - this will automatically use the manual mock
3429
'^@sentry/nextjs$': '<rootDir>/src/__mocks__/sentry.js',
3530
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"react-toastify": "^11.0.5",
105105
"react-use": "^17.6.0",
106106
"use-deep-compare-effect": "^1.8.1",
107-
"uuid": "^11.1.0",
107+
"uuid": "^14.0.0",
108108
"yup": "^1.6.1"
109109
},
110110
"devDependencies": {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11238,10 +11238,10 @@ util-deprecate@^1.0.1, util-deprecate@^1.0.2:
1123811238
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
1123911239
integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
1124011240

11241-
uuid@^11.1.0:
11242-
version "11.1.0"
11243-
resolved "https://registry.yarnpkg.com/uuid/-/uuid-11.1.0.tgz#9549028be1753bb934fc96e2bca09bb4105ae912"
11244-
integrity sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==
11241+
uuid@^14.0.0:
11242+
version "14.0.0"
11243+
resolved "https://registry.yarnpkg.com/uuid/-/uuid-14.0.0.tgz#0af883220163d264ffe0c084f6b8a89b9666966d"
11244+
integrity sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==
1124511245

1124611246
uuid@^9.0.0:
1124711247
version "9.0.1"

0 commit comments

Comments
 (0)