Skip to content

Commit fc69038

Browse files
Downgrade UUID in client to version 9 to align it with the version of server client depends on (#24353)
## Description This is a partial revert of #24321 (for the client portion) to avoid duplicating the UUID package while we sort out either updating client's use of server ( #24330 ) or removing use of the uuid package ( #24342 )
1 parent 3cb16fd commit fc69038

File tree

50 files changed

+344
-163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+344
-163
lines changed

azure/packages/azure-service-utils/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"dependencies": {
9090
"@fluidframework/driver-definitions": "workspace:~",
9191
"jsrsasign": "^11.0.0",
92-
"uuid": "^11.1.0"
92+
"uuid": "^9.0.0"
9393
},
9494
"devDependencies": {
9595
"@arethetypeswrong/cli": "^0.17.1",
@@ -101,6 +101,7 @@
101101
"@fluidframework/eslint-config-fluid": "^5.7.3",
102102
"@microsoft/api-extractor": "7.50.1",
103103
"@types/jsrsasign": "^10.5.12",
104+
"@types/uuid": "^9.0.2",
104105
"concurrently": "^8.2.1",
105106
"copyfiles": "^2.4.1",
106107
"eslint": "~8.55.0",

examples/apps/ai-collab/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"@mui/material": "^6.2.1",
5555
"@types/react": "^18.3.11",
5656
"@types/react-dom": "^18.3.0",
57+
"@types/uuid": "^9.0.2",
5758
"eslint": "~8.55.0",
5859
"fluid-framework": "workspace:~",
5960
"mui": "^0.0.1",
@@ -66,7 +67,7 @@
6667
"tinylicious": "^5.0.0",
6768
"typechat": "^0.1.1",
6869
"typescript": "~5.4.5",
69-
"uuid": "^11.1.0"
70+
"uuid": "^9.0.0"
7071
},
7172
"typeValidation": {
7273
"disabled": true,

examples/apps/blobs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@fluidframework/tinylicious-driver": "workspace:~",
5858
"react": "^18.3.1",
5959
"react-dom": "^18.3.1",
60-
"uuid": "^11.1.0"
60+
"uuid": "^9.0.0"
6161
},
6262
"devDependencies": {
6363
"@biomejs/biome": "~1.9.3",

examples/apps/contact-collection/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"react": "^18.3.1",
4646
"react-dom": "^18.3.1",
4747
"style-loader": "^4.0.0",
48-
"uuid": "^11.1.0"
48+
"uuid": "^9.0.0"
4949
},
5050
"devDependencies": {
5151
"@biomejs/biome": "~1.9.3",
@@ -59,6 +59,7 @@
5959
"@types/node": "^18.19.0",
6060
"@types/react": "^18.3.11",
6161
"@types/react-dom": "^18.3.0",
62+
"@types/uuid": "^9.0.2",
6263
"cross-env": "^7.0.3",
6364
"eslint": "~8.55.0",
6465
"expect-puppeteer": "^9.0.2",

examples/apps/data-object-grid/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"react-dom": "^18.3.1",
6060
"react-grid-layout": "^1.4.4",
6161
"scheduler": "^0.20.0",
62-
"uuid": "^11.1.0"
62+
"uuid": "^9.0.0"
6363
},
6464
"devDependencies": {
6565
"@biomejs/biome": "~1.9.3",
@@ -74,6 +74,7 @@
7474
"@types/prop-types": "^15",
7575
"@types/react": "^18.3.11",
7676
"@types/react-dom": "^18.3.0",
77+
"@types/uuid": "^9.0.2",
7778
"copyfiles": "^2.4.1",
7879
"cross-env": "^7.0.3",
7980
"css-loader": "^7.1.2",

examples/apps/staging/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@fluidframework/tinylicious-driver": "workspace:~",
5454
"react": "^18.3.1",
5555
"react-dom": "^18.3.1",
56-
"uuid": "^11.1.0"
56+
"uuid": "^9.0.0"
5757
},
5858
"devDependencies": {
5959
"@biomejs/biome": "~1.9.3",
@@ -67,6 +67,7 @@
6767
"@types/node": "^18.19.0",
6868
"@types/react": "^18.3.11",
6969
"@types/react-dom": "^18.3.0",
70+
"@types/uuid": "^9.0.2",
7071
"cross-env": "^7.0.3",
7172
"css-loader": "^7.1.2",
7273
"eslint": "~8.55.0",

examples/apps/tree-comparison/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"react": "^18.3.1",
5555
"react-dom": "^18.3.1",
5656
"tiny-typed-emitter": "^2.1.0",
57-
"uuid": "^11.1.0"
57+
"uuid": "^9.0.0"
5858
},
5959
"devDependencies": {
6060
"@biomejs/biome": "~1.9.3",
@@ -68,6 +68,7 @@
6868
"@types/node": "^18.19.0",
6969
"@types/react": "^18.3.11",
7070
"@types/react-dom": "^18.3.0",
71+
"@types/uuid": "^9.0.2",
7172
"cross-env": "^7.0.3",
7273
"css-loader": "^7.1.2",
7374
"eslint": "~8.55.0",

examples/data-objects/todo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@fluidframework/tree": "workspace:~",
5050
"react": "^18.3.1",
5151
"react-dom": "^18.3.1",
52-
"uuid": "^11.1.0"
52+
"uuid": "^9.0.0"
5353
},
5454
"devDependencies": {
5555
"@biomejs/biome": "~1.9.3",
@@ -64,6 +64,7 @@
6464
"@types/node": "^18.19.0",
6565
"@types/react": "^18.3.11",
6666
"@types/react-dom": "^18.3.0",
67+
"@types/uuid": "^9.0.2",
6768
"cross-env": "^7.0.3",
6869
"css-loader": "^7.1.2",
6970
"eslint": "~8.55.0",

examples/service-clients/azure-client/external-controller/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"axios": "^1.8.4",
5050
"events_pkg": "npm:events@^3.1.0",
5151
"fluid-framework": "workspace:~",
52-
"uuid": "^11.1.0"
52+
"uuid": "^9.0.0"
5353
},
5454
"devDependencies": {
5555
"@biomejs/biome": "~1.9.3",
@@ -68,6 +68,7 @@
6868
"@types/jest": "29.5.3",
6969
"@types/jest-environment-puppeteer": "workspace:~",
7070
"@types/node": "^18.19.0",
71+
"@types/uuid": "^9.0.2",
7172
"cross-env": "^7.0.3",
7273
"eslint": "~8.55.0",
7374
"expect-puppeteer": "^9.0.2",

examples/utils/bundle-size-tests/webpack.config.cjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,7 @@ module.exports = {
117117
* We try to avoid duplicate packages, but sometimes we have to allow them since the duplication is coming from a third party library we do not control
118118
* IMPORTANT: Do not add any new exceptions to this list without first doing a deep investigation on why a PR adds a new duplication, this hides a bundle size issue
119119
*/
120-
exclude: (instance) =>
121-
// @fluidframework/server-services-client pulls in uuid 9.0.1, and thus bundles using it get this package duplicated until the version of server used in client gets updated.
122-
// This should not impact size sensitive application as they typically don't include a copy of the server.
123-
instance.name === "uuid",
120+
exclude: (instance) => false,
124121
}),
125122
new BundleAnalyzerPlugin({
126123
analyzerMode: "static",

0 commit comments

Comments
 (0)