Merge pull request #4035 from element-hq/johannes/knife-content-type

Remove deprecated @types/content-type dependency
This commit is contained in:
Johannes Marbach
2026-06-11 12:22:49 +02:00
committed by GitHub
3 changed files with 0 additions and 14 deletions

View File

@@ -24,11 +24,6 @@ export default {
"normalize.css",
// Used for its global type declarations
"@types/grecaptcha",
// Because we use matrix-js-sdk as a Git dependency rather than consuming
// the proper release artifacts, and also import directly from src/, we're
// forced to re-install some of the types that it depends on even though
// these look unused to Knip
"@types/content-type",
"@types/sdp-transform",
// We obviously use this, but if the package has been linked with pnpm link,
// then Knip will flag it as a false positive

View File

@@ -69,7 +69,6 @@
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/content-type": "^1.1.5",
"@types/grecaptcha": "^3.0.9",
"@types/jsdom": "^21.1.7",
"@types/lodash-es": "^4.17.12",

8
pnpm-lock.yaml generated
View File

@@ -105,9 +105,6 @@ importers:
'@testing-library/user-event':
specifier: ^14.5.1
version: 14.6.1(@testing-library/dom@10.4.1)
'@types/content-type':
specifier: ^1.1.5
version: 1.1.9
'@types/grecaptcha':
specifier: ^3.0.9
version: 3.0.9
@@ -3698,9 +3695,6 @@ packages:
'@types/chai@5.2.3':
resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}
'@types/content-type@1.1.9':
resolution: {integrity: sha512-Hq9IMnfekuOCsEmYl4QX2HBrT+XsfXiupfrLLY8Dcf3Puf4BkBOxSbWYTITSOQAhJoYPBez+b4MJRpIYL65z8A==}
'@types/deep-eql@4.0.2':
resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==}
@@ -10858,8 +10852,6 @@ snapshots:
'@types/deep-eql': 4.0.2
assertion-error: 2.0.1
'@types/content-type@1.1.9': {}
'@types/deep-eql@4.0.2': {}
'@types/doctrine@0.0.9': {}