diff --git a/docs/package.json b/docs/package.json index 4120e70e07b..182af71f99d 100644 --- a/docs/package.json +++ b/docs/package.json @@ -15,10 +15,10 @@ "@vuepress/plugin-docsearch": "2.0.0-rc.39", "@vuepress/plugin-redirect": "2.0.0-rc.39", "@waline/client": "workspace:*", - "marked": "13.0.3", + "marked": "14.1.1", "mathjax-full": "3.2.2", "vidstack": "1.11.29", - "vue": "3.4.35", + "vue": "3.5.3", "vuepress": "2.0.0-rc.14", "vuepress-shared": "2.0.0-rc.52", "vuepress-theme-hope": "2.0.0-rc.52" diff --git a/docs/src/en/reference/server/api.md b/docs/src/en/reference/server/api.md index 51a63afba1c..3c0f4125e50 100644 --- a/docs/src/en/reference/server/api.md +++ b/docs/src/en/reference/server/api.md @@ -81,9 +81,10 @@ GET /api/article ``` **Parameters**: -| Parameter | Type | Description | + +| Parameter | Type | Description | | --------- | ------ | ------------------------------------------------------------------- | -| path | string | Article id for comment,multiple ids should be spliced with commas. | +| path | string | Article id for comment,multiple ids should be spliced with commas. | ### Update reading statistics diff --git a/package.json b/package.json index 86aa3c085d0..b7877208653 100644 --- a/package.json +++ b/package.json @@ -41,48 +41,48 @@ }, "devDependencies": { "@babel/core": "7.25.2", - "@babel/plugin-transform-runtime": "7.24.7", - "@babel/preset-env": "7.25.3", + "@babel/plugin-transform-runtime": "7.25.4", + "@babel/preset-env": "7.25.4", "@babel/preset-react": "7.24.7", - "@babel/runtime": "7.25.0", - "@commitlint/cli": "19.3.0", - "@commitlint/config-conventional": "19.2.2", + "@babel/runtime": "7.25.6", + "@commitlint/cli": "19.4.1", + "@commitlint/config-conventional": "19.4.1", "@rollup/plugin-commonjs": "26.0.1", "@rollup/plugin-node-resolve": "15.2.3", "@rollup/plugin-replace": "5.0.7", - "@types/node": "22.1.0", + "@types/node": "22.5.4", "@vitejs/plugin-react": "4.3.1", "apidoc": "1.2.0", "commitizen": "4.3.0", "cross-env": "7.0.3", "cz-conventional-changelog": "3.3.0", - "eslint": "9.8.0", - "eslint-config-mister-hope": "0.2.2", - "eslint-plugin-react": "7.35.0", - "eslint-plugin-vue": "9.27.0", - "husky": "9.1.4", - "markdownlint-cli2": "0.13.0", + "eslint": "9.10.0", + "eslint-config-mister-hope": "0.2.3", + "eslint-plugin-react": "7.35.2", + "eslint-plugin-vue": "9.28.0", + "husky": "9.1.5", + "markdownlint-cli2": "0.14.0", "nano-staged": "0.8.0", - "postcss": "8.4.40", + "postcss": "8.4.45", "prettier": "3.3.3", "rimraf": "6.0.1", - "rollup": "4.20.0", + "rollup": "4.21.2", "rollup-plugin-dts": "6.1.1", "rollup-plugin-esbuild": "6.1.1", "rollup-plugin-ts": "3.4.5", - "sass": "1.77.8", - "sort-package-json": "2.10.0", - "stylelint": "16.8.1", + "sass": "1.78.0", + "sort-package-json": "2.10.1", + "stylelint": "16.9.0", "stylelint-config-hope": "7.0.2", - "tslib": "2.6.3", + "tslib": "2.7.0", "typescript": "5.5.4", - "vercel": "35.2.3", - "vite": "5.3.5", + "vercel": "37.4.0", + "vite": "5.4.3", "vite-plugin-css-injected-by-js": "3.5.1", "vite-plugin-svgr": "4.2.0", "vitest": "2.0.5" }, - "packageManager": "pnpm@9.6.0", + "packageManager": "pnpm@9.9.0", "apidoc": { "title": "Waline API Documentation" } diff --git a/packages/admin/package.json b/packages/admin/package.json index f14a7a74ce8..575fdd8b523 100644 --- a/packages/admin/package.json +++ b/packages/admin/package.json @@ -50,15 +50,15 @@ "@rematch/core": "2.2.0", "base-icon": "2.3.2", "classnames": "2.5.1", - "i18next": "23.12.2", + "i18next": "23.14.0", "i18next-browser-languagedetector": "8.0.0", "md5": "2.3.0", - "qrcode.react": "3.1.0", + "qrcode.react": "4.0.1", "react": "18.3.1", "react-dom": "18.3.1", - "react-i18next": "15.0.0", + "react-i18next": "15.0.1", "react-redux": "9.1.2", - "react-router-dom": "6.26.0", + "react-router-dom": "6.26.1", "redux": "5.0.1", "typescript": "5.5.4" }, diff --git a/packages/admin/src/pages/profile/twoFactorAuth.jsx b/packages/admin/src/pages/profile/twoFactorAuth.jsx index eef1d85199f..320d2f16c77 100644 --- a/packages/admin/src/pages/profile/twoFactorAuth.jsx +++ b/packages/admin/src/pages/profile/twoFactorAuth.jsx @@ -1,4 +1,4 @@ -import QRCode from 'qrcode.react'; +import { QRCodeSVG } from 'qrcode.react'; import React, { useEffect, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { useSelector } from 'react-redux'; @@ -60,7 +60,7 @@ export default function () { {user['2fa'] ? (

{t('enable 2fa')}

- +