🧹 chore: bump vite-plugin-pwa to ^0.20.5, and use overrides to address CVE-2024-47068 (#4226)

* chore: bump vite-plugin-pwa to `^0.20.5`, and use `overrides` to address CVE-2024-47068

* chore: bump data-provider version
This commit is contained in:
Danny Avila 2024-09-24 10:36:11 -04:00 committed by GitHub
parent ba1014a038
commit 9e371d6157
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 347 additions and 410 deletions

View file

@ -138,6 +138,6 @@
"typescript": "^5.0.4", "typescript": "^5.0.4",
"vite": "^5.1.1", "vite": "^5.1.1",
"vite-plugin-node-polyfills": "^0.17.0", "vite-plugin-node-polyfills": "^0.17.0",
"vite-plugin-pwa": "^0.19.8" "vite-plugin-pwa": "^0.20.5"
} }
} }

View file

@ -61,7 +61,7 @@ export default defineConfig({
}, },
workbox: { workbox: {
globPatterns: ['assets/**/*.{png,jpg,svg,ico}', '**/*.{js,css,html,ico,woff2}'], globPatterns: ['assets/**/*.{png,jpg,svg,ico}', '**/*.{js,css,html,ico,woff2}'],
maximumFileSizeToCacheInBytes: 3 * 1024 * 1024, maximumFileSizeToCacheInBytes: 4 * 1024 * 1024,
}, },
manifest: { manifest: {
name: 'LibreChat', name: 'LibreChat',

746
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -99,6 +99,11 @@
"prettier-eslint-cli": "^7.1.0", "prettier-eslint-cli": "^7.1.0",
"prettier-plugin-tailwindcss": "^0.2.2" "prettier-plugin-tailwindcss": "^0.2.2"
}, },
"overrides": {
"vite-plugin-pwa": {
"rollup": "^4.22.4"
}
},
"nodemonConfig": { "nodemonConfig": {
"ignore": [ "ignore": [
"api/data/", "api/data/",

View file

@ -1,6 +1,6 @@
{ {
"name": "librechat-data-provider", "name": "librechat-data-provider",
"version": "0.7.425", "version": "0.7.426",
"description": "data services for librechat apps", "description": "data services for librechat apps",
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist/index.es.js", "module": "dist/index.es.js",