Skip to content

Commit 3e9700b

Browse files
Update dependency uuid to v10 (#167)
* Update dependency uuid to v10 * Change how uuid is handled by jest --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Stan Lemon <stanlemon@users.noreply.github.com>
1 parent a7eed59 commit 3e9700b

File tree

4 files changed

+62
-37
lines changed

4 files changed

+62
-37
lines changed

apps/react-pouchdb-example/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stanlemon/react-pouchdb-example",
3-
"version": "0.1.116",
3+
"version": "0.1.117",
44
"description": "A react app using pouchdb built in typescript",
55
"author": "Stan Lemon <stanlemon@users.noreply.github.com",
66
"license": "MIT",
@@ -29,14 +29,14 @@
2929
"pouchdb": "^9.0.0",
3030
"react": "^18.3.1",
3131
"react-dom": "^18.3.1",
32-
"uuid": "^9.0.1"
32+
"uuid": "^10.0.0"
3333
},
3434
"devDependencies": {
3535
"@testing-library/jest-dom": "^6.4.6",
3636
"@testing-library/react": "^16.0.0",
3737
"@types/node": "^20.14.10",
3838
"@types/pouchdb": "^6.4.2",
39-
"@types/uuid": "^9.0.8",
39+
"@types/uuid": "^10.0.0",
4040
"identity-obj-proxy": "^3.0.0",
4141
"pouchdb-adapter-memory": "^9.0.0"
4242
}

package-lock.json

Lines changed: 55 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/server-with-auth/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stanlemon/server-with-auth",
3-
"version": "0.3.14",
3+
"version": "0.3.15",
44
"description": "A basic express web server setup with authentication baked in.",
55
"author": "Stan Lemon <stanlemon@users.noreply.github.com>",
66
"license": "MIT",
@@ -29,7 +29,7 @@
2929
"passport": "^0.7.0",
3030
"passport-jwt": "^4.0.1",
3131
"passport-local": "^1.0.0",
32-
"uuid": "^9.0.1"
32+
"uuid": "^10.0.0"
3333
},
3434
"devDependencies": {
3535
"@stanlemon/eslint-config": "*",

packages/webdev/jest.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ module.exports = {
3131
moduleFileExtensions: ["js", "jsx", "ts", "tsx"],
3232
moduleNameMapper: {
3333
"\\.(css|less|sass|scss)$": "identity-obj-proxy",
34+
// Force module uuid to resolve with the CJS entry point, because Jest does not support package.json.exports. See https://github.com/uuidjs/uuid/issues/451
35+
uuid: require.resolve("uuid"),
3436
},
3537
testPathIgnorePatterns: ["/node_modules/", "/dist/"],
3638
coverageDirectory: "coverage",

0 commit comments

Comments
 (0)