frontend: resolve sockjs's uuid to 11.1.1 (#14)

sockjs 0.3.24 (webpack-dev-server) asks for uuid ^8.3.2, which falls in
GHSA-w5hq-g745-h8pq (missing buffer bounds check in v3/v5/v6, fixed only
in 11.1.1). sockjs calls nothing but require('uuid').v4() for session ids,
and 11.x still ships a CommonJS build, so the override is scoped to sockjs.
Dev server only; nothing reaches the production bundle.
This commit is contained in:
SatoshiQaziMuhammed authored and GitHub committed 2026-10-23 01:42:17 +04:00
1 parent f47de408f9
commit 0055494e8e
2 files changed
+18 -8

No files matched your search

+13 -8
View File
@@ -10218,12 +10218,17 @@
}
},
"node_modules/uuid": {
"version": "8.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
"version": "11.1.1",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz",
"integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==",
"dev": true,
"funding": [
"https://github.com/sponsors/broofa",
"https://github.com/sponsors/ctavan"
],
"license": "MIT",
"bin": {
"uuid": "dist/bin/uuid"
"uuid": "dist/esm/bin/uuid"
}
},
"node_modules/v8-to-istanbul": {
@@ -17654,7 +17659,7 @@
"dev": true,
"requires": {
"faye-websocket": "^0.11.3",
"uuid": "^8.3.2",
"uuid": "11.1.1",
"websocket-driver": "^0.7.4"
}
},
@@ -18116,9 +18121,9 @@
"dev": true
},
"uuid": {
"version": "8.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
"version": "11.1.1",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz",
"integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==",
"dev": true
},
"v8-to-istanbul": {
+5
View File
@@ -63,5 +63,10 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"overrides": {
"sockjs": {
"uuid": "11.1.1"
}
}
}