Просмотр исходного кода

Remove unused celebrate dependency from project-history (#34604)

celebrate is declared in project-history's package.json but never imported
anywhere in the service. Dropping it removes one of the consumers pulling in
joi@17 and shrinks the dependency surface. docstore still uses celebrate, so
it remains in the lockfile.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
GitOrigin-RevId: 171c3e5435495d20256bd9b95158a275ec42f7e3
Lucie Germain 1 месяц назад
Родитель
Сommit
93a4f0c88a
2 измененных файлов с 0 добавлено и 2 удалено
  1. 0 1
      services/project-history/package.json
  2. 0 1
      yarn.lock

+ 0 - 1
services/project-history/package.json

@@ -29,7 +29,6 @@
     "async": "^3.2.5",
     "body-parser": "1.20.4",
     "bunyan": "^1.8.15",
-    "celebrate": "^15.0.3",
     "diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
     "express": "4.22.1",
     "lodash": "^4.18.1",

+ 0 - 1
yarn.lock

@@ -6955,7 +6955,6 @@ __metadata:
     async: "npm:^3.2.5"
     body-parser: "npm:1.20.4"
     bunyan: "npm:^1.8.15"
-    celebrate: "npm:^15.0.3"
     chai: "npm:^4.3.6"
     chai-as-promised: "npm:^7.1.1"
     diff-match-patch: "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688"