mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
🍂 chore: Prune Deprecated Packages From the Dependency Tree (#14483)
Some checks are pending
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Waiting to run
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Waiting to run
GitNexus Index / index (push) Waiting to run
GitNexus Index / post-index (push) Blocked by required conditions
Some checks are pending
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Waiting to run
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Waiting to run
GitNexus Index / index (push) Waiting to run
GitNexus Index / post-index (push) Blocked by required conditions
Removes three of the eight deprecation warnings emitted on `npm install`.
- Drop `@types/winston` from `packages/api` and `packages/data-provider`.
The published tarball ships no type declarations at all, so `winston`'s own
types were already being used. Declare `winston` as a devDependency instead,
since both packages `import type { Logger } from 'winston'` and were relying
on hoisting to resolve it.
- Drop `rollup-plugin-postcss` from `packages/client`. It is unreferenced since
the package moved to tsdown, and pulled in `cssnano -> postcss-svgo -> svgo@2`,
which is the only consumer of the deprecated `stable`.
- Override `test-exclude` to ^8 so `babel-plugin-istanbul` stops resolving
`test-exclude@6`, which pins the deprecated `glob@7`.
The remaining five warnings (`ldapjs`, `whatwg-encoding`, `node-domexception`,
and workbox-build's `glob`/`source-map`) are transitive with no non-deprecated
version available upstream.
This commit is contained in:
parent
324584552c
commit
9c95bf445f
5 changed files with 104 additions and 1202 deletions
1298
package-lock.json
generated
1298
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -188,6 +188,7 @@
|
|||
"dompurify": "3.4.12"
|
||||
},
|
||||
"svgo": "^2.8.2",
|
||||
"test-exclude": "^8.0.0",
|
||||
"js-yaml": "^4.2.0",
|
||||
"ws": "^8.21.0",
|
||||
"@opentelemetry/core": "^2.9.0",
|
||||
|
|
|
|||
|
|
@ -75,7 +75,6 @@
|
|||
"@types/react": "^18.2.18",
|
||||
"@types/sanitize-html": "^2.13.0",
|
||||
"@types/supertest": "^7.2.0",
|
||||
"@types/winston": "^2.4.4",
|
||||
"@types/yauzl": "^2.10.3",
|
||||
"aws-sdk-client-mock": "^4.1.0",
|
||||
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
||||
|
|
@ -97,6 +96,7 @@
|
|||
"ts-node": "^10.9.2",
|
||||
"tsdown": "^0.22.2",
|
||||
"typescript": "^5.9.3",
|
||||
"winston": "^3.17.0",
|
||||
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
|
||||
"yauzl": "^3.2.1"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -119,7 +119,6 @@
|
|||
"rimraf": "^6.1.3",
|
||||
"rollup": "^4.34.9",
|
||||
"rollup-plugin-peer-deps-external": "^2.2.4",
|
||||
"rollup-plugin-postcss": "^4.0.2",
|
||||
"rollup-plugin-typescript2": "^0.37.0",
|
||||
"tailwindcss-radix": "^2.8.0",
|
||||
"tsdown": "^0.22.2",
|
||||
|
|
|
|||
|
|
@ -61,14 +61,14 @@
|
|||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/node": "^24.12.4",
|
||||
"@types/react": "^18.2.18",
|
||||
"@types/winston": "^2.4.4",
|
||||
"jest": "^30.2.0",
|
||||
"jest-junit": "^17.0.0",
|
||||
"openapi-types": "^12.1.3",
|
||||
"rimraf": "^6.1.3",
|
||||
"rollup": "^4.34.9",
|
||||
"tsdown": "^0.22.2",
|
||||
"typescript": "^5.9.3"
|
||||
"typescript": "^5.9.3",
|
||||
"winston": "^3.17.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tanstack/react-query": "^4.28.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue