From c203f47db36c2f534ac34657be75cdb43f288558 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sat, 1 Jun 2024 14:26:58 +0200 Subject: [PATCH] Added missing types --- pnpm-lock.yaml | 22 +++++++++++++++++++--- src/package.json | 8 +++++--- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5ea51b5d551..1f7cbcae72d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -221,9 +221,6 @@ importers: measured-core: specifier: ^2.0.0 version: 2.0.0 - mime-types: - specifier: ^2.1.35 - version: 2.1.35 oidc-provider: specifier: ^8.4.5 version: 8.4.6 @@ -300,6 +297,9 @@ importers: '@types/jsonwebtoken': specifier: ^9.0.6 version: 9.0.6 + '@types/mime-types': + specifier: ^2.1.4 + version: 2.1.4 '@types/mocha': specifier: ^10.0.6 version: 10.0.6 @@ -321,6 +321,9 @@ importers: '@types/underscore': specifier: ^1.11.15 version: 1.11.15 + '@types/wtfnode': + specifier: ^0.7.3 + version: 0.7.3 eslint: specifier: ^9.2.0 version: 9.3.0 @@ -330,6 +333,9 @@ importers: etherpad-cli-client: specifier: ^3.0.2 version: 3.0.2 + mime-types: + specifier: ^2.1.35 + version: 2.1.35 mocha: specifier: ^10.4.0 version: 10.4.0 @@ -1379,6 +1385,9 @@ packages: '@types/methods@1.1.4': resolution: {integrity: sha512-ymXWVrDiCxTBE3+RIrrP533E70eA+9qu7zdWoHuOmGujkYtzf4HQF96b8nwHLqhuf4ykX61IGRIB38CC6/sImQ==} + '@types/mime-types@2.1.4': + resolution: {integrity: sha512-lfU4b34HOri+kAY5UheuFMWPDOI+OPceBSHZKp69gEyTL/mmJ4cnU6Y/rlme3UL3GyOn6Y42hyIEw0/q8sWx5w==} + '@types/mime@1.3.5': resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} @@ -1451,6 +1460,9 @@ packages: '@types/web-bluetooth@0.0.20': resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} + '@types/wtfnode@0.7.3': + resolution: {integrity: sha512-UMkHpx+o2xRWLJ7PmT3bBzvIA9/0oFw80oPtY/xO4jfdq+Gznn4wP7K9B/JjMxyxy+wF+5oRPIykxeBbEDjwRg==} + '@typescript-eslint/eslint-plugin@7.11.0': resolution: {integrity: sha512-P+qEahbgeHW4JQ/87FuItjBj8O3MYv5gELDzr8QaQ7fsll1gSMTYb6j87MYyxwf3DtD7uGFB9ShwgmCJB5KmaQ==} engines: {node: ^18.18.0 || >=20.0.0} @@ -5326,6 +5338,8 @@ snapshots: '@types/methods@1.1.4': {} + '@types/mime-types@2.1.4': {} + '@types/mime@1.3.5': {} '@types/mocha@10.0.6': {} @@ -5406,6 +5420,8 @@ snapshots: '@types/web-bluetooth@0.0.20': {} + '@types/wtfnode@0.7.3': {} + '@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5)': dependencies: '@eslint-community/regexpp': 4.10.0 diff --git a/src/package.json b/src/package.json index fc0652c3bf4..f703707880d 100644 --- a/src/package.json +++ b/src/package.json @@ -55,8 +55,8 @@ "live-plugin-manager": "^1.0.0", "lodash.clonedeep": "4.5.0", "log4js": "^6.9.1", + "lru-cache": "^10.2.0", "measured-core": "^2.0.0", - "mime-types": "^2.1.35", "oidc-provider": "^8.4.5", "openapi-backend": "^5.10.6", "proxy-addr": "^2.0.7", @@ -74,8 +74,7 @@ "ueberdb2": "^4.2.63", "underscore": "1.13.6", "unorm": "1.6.0", - "wtfnode": "^0.9.2", - "lru-cache": "^10.2.0" + "wtfnode": "^0.9.2" }, "bin": { "etherpad-healthcheck": "../bin/etherpad-healthcheck", @@ -89,6 +88,7 @@ "@types/http-errors": "^2.0.4", "@types/jsdom": "^21.1.7", "@types/jsonwebtoken": "^9.0.6", + "@types/mime-types": "^2.1.4", "@types/mocha": "^10.0.6", "@types/node": "^20.12.13", "@types/oidc-provider": "^8.4.4", @@ -96,9 +96,11 @@ "@types/sinon": "^17.0.3", "@types/supertest": "^6.0.2", "@types/underscore": "^1.11.15", + "@types/wtfnode": "^0.7.3", "eslint": "^9.2.0", "eslint-config-etherpad": "^4.0.4", "etherpad-cli-client": "^3.0.2", + "mime-types": "^2.1.35", "mocha": "^10.4.0", "mocha-froth": "^0.2.10", "nodeify": "^1.0.1",