mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 05:32:01 +00:00
fix: update dev deps and minor version updates
This commit is contained in:
+17
-17
@@ -16,22 +16,22 @@
|
|||||||
"@fortawesome/free-regular-svg-icons": "^5.15.3",
|
"@fortawesome/free-regular-svg-icons": "^5.15.3",
|
||||||
"@fortawesome/free-solid-svg-icons": "^5.15.3",
|
"@fortawesome/free-solid-svg-icons": "^5.15.3",
|
||||||
"@fortawesome/react-fontawesome": "^0.1.14",
|
"@fortawesome/react-fontawesome": "^0.1.14",
|
||||||
"@headlessui/react": "^1.7.3",
|
"@headlessui/react": "^1.7.7",
|
||||||
"@tailwindcss/line-clamp": "^0.4.2",
|
"@tailwindcss/line-clamp": "^0.4.2",
|
||||||
"awesome-debounce-promise": "^2.1.0",
|
"awesome-debounce-promise": "^2.1.0",
|
||||||
"axios": "^1.1.2",
|
"axios": "^1.1.2",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"crypto-js": "^4.1.1",
|
"crypto-js": "^4.1.1",
|
||||||
"csstype": "^3.1.1",
|
"csstype": "^3.1.1",
|
||||||
"dayjs": "^1.11.5",
|
"dayjs": "^1.11.7",
|
||||||
"emoji-regex": "^10.2.1",
|
"emoji-regex": "^10.2.1",
|
||||||
"ioredis": "^5.2.3",
|
"ioredis": "^5.3.0",
|
||||||
"jszip": "^3.10.1",
|
"jszip": "^3.10.1",
|
||||||
"mpegts.js": "^1.6.10",
|
"mpegts.js": "^1.7.2",
|
||||||
"next": "^12.3.1",
|
"next": "^12.3.1",
|
||||||
"next-i18next": "^12.1.0",
|
"next-i18next": "^12.1.0",
|
||||||
"nextjs-progressbar": "^0.0.14",
|
"nextjs-progressbar": "^0.0.16",
|
||||||
"plyr-react": "^5.1.0",
|
"plyr-react": "^5.1.2",
|
||||||
"preview-office-docs": "^1.0.2",
|
"preview-office-docs": "^1.0.2",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-async-hook": "^4.0.0",
|
"react-async-hook": "^4.0.0",
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-hot-toast": "^2.4.0",
|
"react-hot-toast": "^2.4.0",
|
||||||
"react-hotkeys-hook": "^3.4.7",
|
"react-hotkeys-hook": "^3.4.7",
|
||||||
"react-markdown": "^8.0.3",
|
"react-markdown": "^8.0.5",
|
||||||
"react-reader": "^0.21.3",
|
"react-reader": "^0.21.3",
|
||||||
"react-syntax-highlighter": "^15.5.0",
|
"react-syntax-highlighter": "^15.5.0",
|
||||||
"react-use-system-theme": "^1.1.1",
|
"react-use-system-theme": "^1.1.1",
|
||||||
@@ -54,23 +54,23 @@
|
|||||||
"use-constant": "^1.1.1"
|
"use-constant": "^1.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/cors": "^2.8.12",
|
"@types/cors": "^2.8.13",
|
||||||
"@types/crypto-js": "^4.0.2",
|
"@types/crypto-js": "^4.0.2",
|
||||||
"@types/node": "18.8.3",
|
"@types/node": "18.8.3",
|
||||||
"@types/react": "18.0.21",
|
"@types/react": "18.0.21",
|
||||||
"@types/react-copy-to-clipboard": "^5.0.4",
|
"@types/react-copy-to-clipboard": "^5.0.4",
|
||||||
"@types/react-dom": "^18.0.6",
|
"@types/react-dom": "^18.0.6",
|
||||||
"@types/react-pdf": "^5.0.4",
|
"@types/react-pdf": "^5.0.4",
|
||||||
"@types/react-syntax-highlighter": "^15.5.5",
|
"@types/react-syntax-highlighter": "^15.5.6",
|
||||||
"autoprefixer": "^10.4.12",
|
"autoprefixer": "^10.4.13",
|
||||||
"eslint": "8.25.0",
|
"eslint": "8.32.0",
|
||||||
"eslint-config-next": "12.3.1",
|
"eslint-config-next": "12.3.1",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.6.0",
|
||||||
"i18next-parser": "^6.6.0",
|
"i18next-parser": "^6.6.0",
|
||||||
"postcss": "^8.4.17",
|
"postcss": "^8.4.21",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.8.3",
|
||||||
"prettier-plugin-tailwindcss": "^0.1.13",
|
"prettier-plugin-tailwindcss": "^0.2.2",
|
||||||
"tailwindcss": "^3.1.8",
|
"tailwindcss": "^3.2.4",
|
||||||
"typescript": "4.8.4"
|
"typescript": "4.9.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+348
-220
File diff suppressed because it is too large
Load Diff
@@ -97,11 +97,13 @@ const extensions = {
|
|||||||
* To stop TypeScript complaining about indexing the object with a non-existent key
|
* To stop TypeScript complaining about indexing the object with a non-existent key
|
||||||
* https://dev.to/mapleleaf/indexing-objects-in-typescript-1cgi
|
* https://dev.to/mapleleaf/indexing-objects-in-typescript-1cgi
|
||||||
*
|
*
|
||||||
|
* Fixed by ChatGPT with the upgrade of TypeScript 4.9
|
||||||
|
*
|
||||||
* @param obj Object with keys to index
|
* @param obj Object with keys to index
|
||||||
* @param key The index key
|
* @param key The index key
|
||||||
* @returns Whether or not the key exists inside the object
|
* @returns Whether or not the key exists inside the object
|
||||||
*/
|
*/
|
||||||
export function hasKey<O>(obj: O, key: PropertyKey): key is keyof O {
|
export function hasKey(obj: Record<string, any>, key: string): boolean {
|
||||||
return key in obj
|
return key in obj
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user