diff --git a/package.json b/package.json index 2e0c2542..393b30be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vocechat-web", - "version": "0.3.8", + "version": "0.3.9", "private": true, "homepage": "https://voce.chat", "dependencies": { @@ -8,20 +8,20 @@ "@metamask/onboarding": "^1.0.1", "@microsoft/fetch-event-source": "^2.0.1", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7", - "@react-oauth/google": "^0.2.6", + "@react-oauth/google": "^0.2.8", "@reduxjs/toolkit": "^1.8.5", "@svgr/webpack": "^6.3.1", "@tippyjs/react": "^4.2.6", "@toast-ui/editor": "^3.2.0", "@toast-ui/editor-plugin-code-syntax-highlight": "^3.1.0", "@toast-ui/react-editor": "^3.2.0", - "@types/node": "^18.7.18", - "@types/react": "^18.0.20", + "@types/node": "^18.7.23", + "@types/react": "^18.0.21", "@types/react-dom": "^18.0.6", "@udecode/plate": "16.8", "@uiball/loaders": "^1.2.6", "bfj": "^7.0.2", - "browserslist": "^4.21.3", + "browserslist": "^4.21.4", "case-sensitive-paths-webpack-plugin": "^2.4.0", "copy-image-clipboard": "^2.1.2", "css-loader": "^6.7.1", @@ -30,9 +30,9 @@ "dotenv": "^16.0.2", "dotenv-expand": "^9.0.0", "emoji-mart": "3.0.1", - "eslint": "^8.23.1", + "eslint": "^8.24.0", "file-loader": "^6.2.0", - "firebase": "^9.9.4", + "firebase": "^9.10.0", "fs-extra": "^10.1.0", "html-webpack-plugin": "^5.5.0", "linkify-it": "3.0.3", @@ -54,28 +54,28 @@ "react-icons": "^4.4.0", "react-linkify": "^1.0.0-alpha", "react-pdf": "^5.7.2", - "react-redux": "^8.0.2", + "react-redux": "^8.0.4", "react-refresh": "0.14.0", - "react-router-dom": "^6.4.0", + "react-router-dom": "^6.4.1", "react-scripts": "^5.0.1", "react-string-replace": "^1.1.0", "react-textarea-autosize": "^8.3.4", "resolve": "^1.22.1", - "rooks": "^7.1.2", + "rooks": "^7.4.0", "semver": "^7.3.7", "slate": "^0.82.1", "slate-history": "^0.66.0", - "slate-react": "^0.82.2", + "slate-react": "^0.83.0", "source-map-loader": "^4.0.0", "style-loader": "^3.3.1", "styled-components": "^5.3.5", "styled-reset": "^4.4.2", - "swiper": "^8.4.0", + "swiper": "^8.4.2", "terser-webpack-plugin": "^5.3.6", "tippy.js": "^6.3.7", "typescript": "^4.8.3", "webpack": "^5.74.0", - "webpack-dev-server": "^4.11.0", + "webpack-dev-server": "^4.11.1", "webpack-manifest-plugin": "^5.0.0", "workbox-background-sync": "^6.5.4", "workbox-broadcast-update": "^6.5.4", @@ -129,8 +129,8 @@ "@types/react-helmet": "^6.1.5", "@types/react-linkify": "^1.0.1", "@types/styled-components": "^5.1.26", - "@typescript-eslint/eslint-plugin": "^5.37.0", - "@typescript-eslint/parser": "^5.37.0", + "@typescript-eslint/eslint-plugin": "^5.38.1", + "@typescript-eslint/parser": "^5.38.1", "@welldone-software/why-did-you-render": "^7.0.1", "babel-loader": "^8.2.5", "babel-plugin-named-asset-import": "^0.3.8", diff --git a/src/app/config.ts b/src/app/config.ts index 434d558a..8cd8b5de 100644 --- a/src/app/config.ts +++ b/src/app/config.ts @@ -3,7 +3,7 @@ const BASE_URL = process.env.REACT_APP_RELEASE ? `${location.origin}/api` : `https://dev.voce.chat/api`; -export const LicensePriceList = [ +let prices = [ { title: "VoceChat Pro", limit: 100, @@ -16,14 +16,19 @@ export const LicensePriceList = [ pid: "price_1Lkgc7GGoUDRyc3j49Lqtncs", desc: "User Limit: No Limit" } - // { - // title: "VoceChat Enterprise", - // limit: 500, - // // pid: "price_1LkJNsGGoUDRyc3jkVNf4VPE", - // pid: "price_1LkQGpGGoUDRyc3jGTh3GYHw", - // desc: "User Limit: 500" - // } ]; +export const LicensePriceList = + process.env.NODE_ENV === "development" + ? [ + ...prices, + { + title: "VoceChat Enterprise", + limit: 99999, + pid: "price_1LkQGpGGoUDRyc3jGTh3GYHw", + desc: "test price" + } + ] + : prices; export const PAYMENT_URL_PREFIX = process.env.NODE_ENV === "production" ? `https://vera.nicegoodthings.com` diff --git a/src/common/hook/useLicense.ts b/src/common/hook/useLicense.ts index c700f7b8..7a45a09c 100644 --- a/src/common/hook/useLicense.ts +++ b/src/common/hook/useLicense.ts @@ -7,8 +7,13 @@ import { import { useAppSelector } from "../../app/store"; const useLicense = () => { - const userCount = useAppSelector((store) => store.users.ids.length); - const { data: license } = useGetLicenseQuery(undefined, { refetchOnMountOrArgChange: true }); + const { userCount, isGuest } = useAppSelector((store) => { + return { userCount: store.users.ids.length, isGuest: store.authData.guest }; + }); + const { data: license } = useGetLicenseQuery(undefined, { + refetchOnMountOrArgChange: true, + skip: isGuest + }); const [check, { isLoading: isChecking, isSuccess: checked }] = useCheckLicenseMutation(); const [upsert, { isSuccess: upserted, isLoading: upserting }] = useUpsertLicenseMutation(); const checkLicense = (l: string) => { @@ -24,7 +29,7 @@ const useLicense = () => { } }; console.log("uuu", userCount, license); - const lUserLimit = license?.user_limit ?? 0; + const lUserLimit = license?.user_limit ?? Number.MAX_SAFE_INTEGER; return { reachLimit: userCount >= lUserLimit, license, diff --git a/src/routes/home/styled.tsx b/src/routes/home/styled.tsx index 7baa107c..253cea80 100644 --- a/src/routes/home/styled.tsx +++ b/src/routes/home/styled.tsx @@ -3,7 +3,10 @@ const StyledWrapper = styled.div` display: flex; width: 100vw; height: 100vh; - background-color: var(---navs-bg); + background: var(---navs-bg); + &.guest { + background: none; + } > .col { height: 100%; display: flex; diff --git a/yarn.lock b/yarn.lock index bf64bcea..be817079 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1834,6 +1834,15 @@ debug "^4.1.1" minimatch "^3.0.4" +"@humanwhocodes/config-array@^0.10.5": + version "0.10.5" + resolved "https://mirrors.cloud.tencent.com/npm/@humanwhocodes%2fconfig-array/-/config-array-0.10.5.tgz#bb679745224745fff1e9a41961c1d45a49f81c04" + integrity sha512-XVVDtp+dVvRxMoxSiSfasYaG02VEe1qH5cKgMQJWhol6HwzbcqoCMJi8dAGoYAO57jhUyhI6cWuRiTcRaDaYug== + dependencies: + "@humanwhocodes/object-schema" "^1.2.1" + debug "^4.1.1" + minimatch "^3.0.4" + "@humanwhocodes/gitignore-to-minimatch@^1.0.2": version "1.0.2" resolved "https://mirrors.cloud.tencent.com/npm/@humanwhocodes%2fgitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz#316b0a63b91c10e53f242efb4ace5c3b34e8728d" @@ -2284,7 +2293,7 @@ resolved "https://mirrors.cloud.tencent.com/npm/@react-hook%2fmerged-ref/-/merged-ref-1.3.2.tgz#919b387a5f79ed67f2578f2015ab7b7d337787d2" integrity sha512-cQ9Y8m4zlrw/qotReo33E+3Sy9FVqMZb5JwUlb3wj3IJJ1cNJtxcgfWF6rS2NZQrfBJ2nAnckUdPJjMyIJTNZg== -"@react-oauth/google@^0.2.6": +"@react-oauth/google@^0.2.8": version "0.2.8" resolved "https://mirrors.cloud.tencent.com/npm/@react-oauth%2fgoogle/-/google-0.2.8.tgz#68ebce792c6c5e4123c7485d1c60ae562a894924" integrity sha512-W3sRcU6kSZMGUOk10Vy5kPZPzvsi7+UpM2MxnT6fMVp+whDMKCVope5R01gwRydK9OI+0rozAARCD2NgrbkV7w== @@ -2299,10 +2308,10 @@ redux-thunk "^2.4.1" reselect "^4.1.5" -"@remix-run/router@1.0.0": - version "1.0.0" - resolved "https://mirrors.cloud.tencent.com/npm/@remix-run%2frouter/-/router-1.0.0.tgz#a2189335a5f6428aa904ccc291988567018b6e01" - integrity sha512-SCR1cxRSMNKjaVYptCzBApPDqGwa3FGdjVHc+rOToocNPHQdIYLZBfv/3f+KvYuXDkUGVIW9IAzmPNZDRL1I4A== +"@remix-run/router@1.0.1": + version "1.0.1" + resolved "https://mirrors.cloud.tencent.com/npm/@remix-run%2frouter/-/router-1.0.1.tgz#88d7ac31811ab0cef14aaaeae2a0474923b278bc" + integrity sha512-eBV5rvW4dRFOU1eajN7FmYxjAIVz/mRHgUE9En9mBn6m3mulK3WTR5C3iQhL9MZ14rWAq+xOlEaCkDiW0/heOg== "@rollup/plugin-babel@^5.2.0": version "5.3.1" @@ -2879,7 +2888,7 @@ resolved "https://mirrors.cloud.tencent.com/npm/@types%2fminimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== -"@types/node@*", "@types/node@>=12.12.47", "@types/node@>=13.7.0", "@types/node@^18.7.18": +"@types/node@*", "@types/node@>=12.12.47", "@types/node@>=13.7.0": version "18.7.18" resolved "https://mirrors.cloud.tencent.com/npm/@types%2fnode/-/node-18.7.18.tgz#633184f55c322e4fb08612307c274ee6d5ed3154" integrity sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg== @@ -2889,6 +2898,11 @@ resolved "https://mirrors.cloud.tencent.com/npm/@types%2fnode/-/node-14.18.29.tgz#a0c58d67a42f8953c13d32f0acda47ed26dfce40" integrity sha512-LhF+9fbIX4iPzhsRLpK5H7iPdvW8L4IwGciXQIOEcuF62+9nw/VQVsOViAOOGxY3OlOKGLFv0sWwJXdwQeTn6A== +"@types/node@^18.7.23": + version "18.7.23" + resolved "https://mirrors.cloud.tencent.com/npm/@types%2fnode/-/node-18.7.23.tgz#75c580983846181ebe5f4abc40fe9dfb2d65665f" + integrity sha512-DWNcCHolDq0ZKGizjx2DZjR/PqsYwAcYUJmfMWqtVU2MBMG5Mo+xFZrhGId5r/O5HOuMPyQEcM6KUBp5lBZZBg== + "@types/normalize-package-data@^2.4.0": version "2.4.1" resolved "https://mirrors.cloud.tencent.com/npm/@types%2fnormalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" @@ -2945,7 +2959,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^18.0.20": +"@types/react@*": version "18.0.20" resolved "https://mirrors.cloud.tencent.com/npm/@types%2freact/-/react-18.0.20.tgz#e4c36be3a55eb5b456ecf501bd4a00fd4fd0c9ab" integrity sha512-MWul1teSPxujEHVwZl4a5HxQ9vVNsjTchVA+xRqv/VYGCuKGAU6UhfrTdF5aBefwD1BHUD8i/zq+O/vyCm/FrA== @@ -2954,6 +2968,15 @@ "@types/scheduler" "*" csstype "^3.0.2" +"@types/react@^18.0.21": + version "18.0.21" + resolved "https://mirrors.cloud.tencent.com/npm/@types%2freact/-/react-18.0.21.tgz#b8209e9626bb00a34c76f55482697edd2b43cc67" + integrity sha512-7QUCOxvFgnD5Jk8ZKlUAhVcRj7GuJRjnjjiY/IUBWKgOlnvDvTMLD4RTF7NPyVmbRhNrbomZiOepg7M/2Kj1mA== + dependencies: + "@types/prop-types" "*" + "@types/scheduler" "*" + csstype "^3.0.2" + "@types/resolve@1.17.1": version "1.17.1" resolved "https://mirrors.cloud.tencent.com/npm/@types%2fresolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" @@ -3053,7 +3076,21 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^5.37.0", "@typescript-eslint/eslint-plugin@^5.5.0": +"@typescript-eslint/eslint-plugin@^5.38.1": + version "5.38.1" + resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2feslint-plugin/-/eslint-plugin-5.38.1.tgz#9f05d42fa8fb9f62304cc2f5c2805e03c01c2620" + integrity sha512-ky7EFzPhqz3XlhS7vPOoMDaQnQMn+9o5ICR9CPr/6bw8HrFkzhMSxuA3gRfiJVvs7geYrSeawGJjZoZQKCOglQ== + dependencies: + "@typescript-eslint/scope-manager" "5.38.1" + "@typescript-eslint/type-utils" "5.38.1" + "@typescript-eslint/utils" "5.38.1" + debug "^4.3.4" + ignore "^5.2.0" + regexpp "^3.2.0" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/eslint-plugin@^5.5.0": version "5.37.0" resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2feslint-plugin/-/eslint-plugin-5.37.0.tgz#5ccdd5d9004120f28fc6e717fb4b5c9bddcfbc04" integrity sha512-Fde6W0IafXktz1UlnhGkrrmnnGpAo1kyX7dnyHHVrmwJOn72Oqm3eYtddrpOwwel2W8PAK9F3pIL5S+lfoM0og== @@ -3075,7 +3112,17 @@ dependencies: "@typescript-eslint/utils" "5.37.0" -"@typescript-eslint/parser@^5.37.0", "@typescript-eslint/parser@^5.5.0": +"@typescript-eslint/parser@^5.38.1": + version "5.38.1" + resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2fparser/-/parser-5.38.1.tgz#c577f429f2c32071b92dff4af4f5fbbbd2414bd0" + integrity sha512-LDqxZBVFFQnQRz9rUZJhLmox+Ep5kdUmLatLQnCRR6523YV+XhRjfYzStQ4MheFA8kMAfUlclHSbu+RKdRwQKw== + dependencies: + "@typescript-eslint/scope-manager" "5.38.1" + "@typescript-eslint/types" "5.38.1" + "@typescript-eslint/typescript-estree" "5.38.1" + debug "^4.3.4" + +"@typescript-eslint/parser@^5.5.0": version "5.37.0" resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2fparser/-/parser-5.37.0.tgz#c382077973f3a4ede7453fb14cadcad3970cbf3b" integrity sha512-01VzI/ipYKuaG5PkE5+qyJ6m02fVALmMPY3Qq5BHflDx3y4VobbLdHQkSMg9VPRS4KdNt4oYTMaomFoHonBGAw== @@ -3093,6 +3140,14 @@ "@typescript-eslint/types" "5.37.0" "@typescript-eslint/visitor-keys" "5.37.0" +"@typescript-eslint/scope-manager@5.38.1": + version "5.38.1" + resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2fscope-manager/-/scope-manager-5.38.1.tgz#f87b289ef8819b47189351814ad183e8801d5764" + integrity sha512-BfRDq5RidVU3RbqApKmS7RFMtkyWMM50qWnDAkKgQiezRtLKsoyRKIvz1Ok5ilRWeD9IuHvaidaLxvGx/2eqTQ== + dependencies: + "@typescript-eslint/types" "5.38.1" + "@typescript-eslint/visitor-keys" "5.38.1" + "@typescript-eslint/type-utils@5.37.0": version "5.37.0" resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2ftype-utils/-/type-utils-5.37.0.tgz#43ed2f567ada49d7e33a6e4b6f9babd060445fe5" @@ -3103,11 +3158,26 @@ debug "^4.3.4" tsutils "^3.21.0" +"@typescript-eslint/type-utils@5.38.1": + version "5.38.1" + resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2ftype-utils/-/type-utils-5.38.1.tgz#7f038fcfcc4ade4ea76c7c69b2aa25e6b261f4c1" + integrity sha512-UU3j43TM66gYtzo15ivK2ZFoDFKKP0k03MItzLdq0zV92CeGCXRfXlfQX5ILdd4/DSpHkSjIgLLLh1NtkOJOAw== + dependencies: + "@typescript-eslint/typescript-estree" "5.38.1" + "@typescript-eslint/utils" "5.38.1" + debug "^4.3.4" + tsutils "^3.21.0" + "@typescript-eslint/types@5.37.0": version "5.37.0" resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2ftypes/-/types-5.37.0.tgz#09e4870a5f3af7af3f84e08d792644a87d232261" integrity sha512-3frIJiTa5+tCb2iqR/bf7XwU20lnU05r/sgPJnRpwvfZaqCJBrl8Q/mw9vr3NrNdB/XtVyMA0eppRMMBqdJ1bA== +"@typescript-eslint/types@5.38.1": + version "5.38.1" + resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2ftypes/-/types-5.38.1.tgz#74f9d6dcb8dc7c58c51e9fbc6653ded39e2e225c" + integrity sha512-QTW1iHq1Tffp9lNfbfPm4WJabbvpyaehQ0SrvVK2yfV79SytD9XDVxqiPvdrv2LK7DGSFo91TB2FgWanbJAZXg== + "@typescript-eslint/typescript-estree@5.37.0": version "5.37.0" resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2ftypescript-estree/-/typescript-estree-5.37.0.tgz#956dcf5c98363bcb97bdd5463a0a86072ff79355" @@ -3121,6 +3191,19 @@ semver "^7.3.7" tsutils "^3.21.0" +"@typescript-eslint/typescript-estree@5.38.1": + version "5.38.1" + resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2ftypescript-estree/-/typescript-estree-5.38.1.tgz#657d858d5d6087f96b638ee383ee1cff52605a1e" + integrity sha512-99b5e/Enoe8fKMLdSuwrfH/C0EIbpUWmeEKHmQlGZb8msY33qn1KlkFww0z26o5Omx7EVjzVDCWEfrfCDHfE7g== + dependencies: + "@typescript-eslint/types" "5.38.1" + "@typescript-eslint/visitor-keys" "5.38.1" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + "@typescript-eslint/utils@5.37.0", "@typescript-eslint/utils@^5.13.0": version "5.37.0" resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2futils/-/utils-5.37.0.tgz#7784cb8e91390c4f90ccaffd24a0cf9874df81b2" @@ -3133,6 +3216,18 @@ eslint-scope "^5.1.1" eslint-utils "^3.0.0" +"@typescript-eslint/utils@5.38.1": + version "5.38.1" + resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2futils/-/utils-5.38.1.tgz#e3ac37d7b33d1362bb5adf4acdbe00372fb813ef" + integrity sha512-oIuUiVxPBsndrN81oP8tXnFa/+EcZ03qLqPDfSZ5xIJVm7A9V0rlkQwwBOAGtrdN70ZKDlKv+l1BeT4eSFxwXA== + dependencies: + "@types/json-schema" "^7.0.9" + "@typescript-eslint/scope-manager" "5.38.1" + "@typescript-eslint/types" "5.38.1" + "@typescript-eslint/typescript-estree" "5.38.1" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" + "@typescript-eslint/visitor-keys@5.37.0": version "5.37.0" resolved "https://mirrors.tencent.com/npm/@typescript-eslint%2fvisitor-keys/-/visitor-keys-5.37.0.tgz#7b72dd343295ea11e89b624995abc7103c554eee" @@ -3141,6 +3236,14 @@ "@typescript-eslint/types" "5.37.0" eslint-visitor-keys "^3.3.0" +"@typescript-eslint/visitor-keys@5.38.1": + version "5.38.1" + resolved "https://mirrors.cloud.tencent.com/npm/@typescript-eslint%2fvisitor-keys/-/visitor-keys-5.38.1.tgz#508071bfc6b96d194c0afe6a65ad47029059edbc" + integrity sha512-bSHr1rRxXt54+j2n4k54p4fj8AHJ49VDWtjpImOpzQj4qjAiOpPni+V1Tyajh19Api1i844F757cur8wH3YvOA== + dependencies: + "@typescript-eslint/types" "5.38.1" + eslint-visitor-keys "^3.3.0" + "@udecode/plate-alignment@16.8.0": version "16.8.0" resolved "https://mirrors.cloud.tencent.com/npm/@udecode%2fplate-alignment/-/plate-alignment-16.8.0.tgz#0f611ca3fc881221133f3b974e82145287e5cd7f" @@ -5965,7 +6068,52 @@ eslint-webpack-plugin@^3.1.1: normalize-path "^3.0.0" schema-utils "^4.0.0" -eslint@^8.23.1, eslint@^8.3.0: +eslint@^8.24.0: + version "8.24.0" + resolved "https://mirrors.cloud.tencent.com/npm/eslint/-/eslint-8.24.0.tgz#489516c927a5da11b3979dbfb2679394523383c8" + integrity sha512-dWFaPhGhTAiPcCgm3f6LI2MBWbogMnTJzFBbhXVRQDJPkr9pGZvVjlVfXd+vyDcWPA2Ic9L2AXPIQM0+vk/cSQ== + dependencies: + "@eslint/eslintrc" "^1.3.2" + "@humanwhocodes/config-array" "^0.10.5" + "@humanwhocodes/gitignore-to-minimatch" "^1.0.2" + "@humanwhocodes/module-importer" "^1.0.1" + ajv "^6.10.0" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.3.2" + doctrine "^3.0.0" + escape-string-regexp "^4.0.0" + eslint-scope "^7.1.1" + eslint-utils "^3.0.0" + eslint-visitor-keys "^3.3.0" + espree "^9.4.0" + esquery "^1.4.0" + esutils "^2.0.2" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + glob-parent "^6.0.1" + globals "^13.15.0" + globby "^11.1.0" + grapheme-splitter "^1.0.4" + ignore "^5.2.0" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + js-sdsl "^4.1.4" + js-yaml "^4.1.0" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.4.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" + natural-compare "^1.4.0" + optionator "^0.9.1" + regexpp "^3.2.0" + strip-ansi "^6.0.1" + strip-json-comments "^3.1.0" + text-table "^0.2.0" + +eslint@^8.3.0: version "8.23.1" resolved "https://mirrors.cloud.tencent.com/npm/eslint/-/eslint-8.23.1.tgz#cfd7b3f7fdd07db8d16b4ac0516a29c8d8dca5dc" integrity sha512-w7C1IXCc6fNqjpuYd0yPlcTKKmHlHHktRkzmBPZ+7cvNBQuiNjx0xaMTjAJGCafJhQkrFJooREv0CtrVzmHwqg== @@ -6327,7 +6475,7 @@ find-yarn-workspace-root@^2.0.0: dependencies: micromatch "^4.0.2" -firebase@^9.9.4: +firebase@^9.10.0: version "9.10.0" resolved "https://mirrors.cloud.tencent.com/npm/firebase/-/firebase-9.10.0.tgz#07e22bddce3cc1f380c440edc6286c09ac6cce8f" integrity sha512-oSuED6BT+gQrOoXPV/xkxBLMk03A9nDXosW0xy4loQtGRJr9gW6JXgEOr0nmXFMTGzP87CpoC8Kd6y7XKSAeqQ== @@ -10100,10 +10248,10 @@ react-pdf@^5.7.2: tiny-invariant "^1.0.0" tiny-warning "^1.0.0" -react-redux@^8.0.2: - version "8.0.2" - resolved "https://mirrors.cloud.tencent.com/npm/react-redux/-/react-redux-8.0.2.tgz#bc2a304bb21e79c6808e3e47c50fe1caf62f7aad" - integrity sha512-nBwiscMw3NoP59NFCXFf02f8xdo+vSHT/uZ1ldDwF7XaTpzm+Phk97VT4urYBl5TYAPNVaFm12UHAEyzkpNzRA== +react-redux@^8.0.4: + version "8.0.4" + resolved "https://mirrors.cloud.tencent.com/npm/react-redux/-/react-redux-8.0.4.tgz#80c31dffa8af9526967c4267022ae1525ff0e36a" + integrity sha512-yMfQ7mX6bWuicz2fids6cR1YT59VTuT8MKyyE310wJQlINKENCeT1UcPdEiX6znI5tF8zXyJ/VYvDgeGuaaNwQ== dependencies: "@babel/runtime" "^7.12.1" "@types/hoist-non-react-statics" "^3.3.1" @@ -10122,19 +10270,20 @@ react-refresh@^0.11.0: resolved "https://mirrors.cloud.tencent.com/npm/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046" integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A== -react-router-dom@^6.4.0: - version "6.4.0" - resolved "https://mirrors.cloud.tencent.com/npm/react-router-dom/-/react-router-dom-6.4.0.tgz#a7d7c394c9e730b045cdd4f5d6c2d1ccb9e26947" - integrity sha512-4Aw1xmXKeleYYQ3x0Lcl2undHR6yMjXZjd9DKZd53SGOYqirrUThyUb0wwAX5VZAyvSuzjNJmZlJ3rR9+/vzqg== +react-router-dom@^6.4.1: + version "6.4.1" + resolved "https://mirrors.cloud.tencent.com/npm/react-router-dom/-/react-router-dom-6.4.1.tgz#99c9b7c4967890701c888517475aa5d54d25760e" + integrity sha512-MY7NJCrGNVJtGp8ODMOBHu20UaIkmwD2V3YsAOUQoCXFk7Ppdwf55RdcGyrSj+ycSL9Uiwrb3gTLYSnzcRoXww== dependencies: - react-router "6.4.0" + "@remix-run/router" "1.0.1" + react-router "6.4.1" -react-router@6.4.0: - version "6.4.0" - resolved "https://mirrors.cloud.tencent.com/npm/react-router/-/react-router-6.4.0.tgz#68449c23dc893fc7a57db068c19987be1de72edb" - integrity sha512-B+5bEXFlgR1XUdHYR6P94g299SjrfCBMmEDJNcFbpAyRH1j1748yt9NdDhW3++nw1lk3zQJ6aOO66zUx3KlTZg== +react-router@6.4.1: + version "6.4.1" + resolved "https://mirrors.cloud.tencent.com/npm/react-router/-/react-router-6.4.1.tgz#dd9cc4dfa264751d143a4b6c9d4faa60ab3ce26c" + integrity sha512-OJASKp5AykDWFewgWUim1vlLr7yfD4vO/h+bSgcP/ix8Md+LMHuAjovA74MQfsfhQJGGN1nHRhwS5qQQbbBt3A== dependencies: - "@remix-run/router" "1.0.0" + "@remix-run/router" "1.0.1" react-scripts@^5.0.1: version "5.0.1" @@ -10567,10 +10716,10 @@ rollup@^2.43.1: optionalDependencies: fsevents "~2.3.2" -rooks@^7.1.2: - version "7.1.2" - resolved "https://mirrors.cloud.tencent.com/npm/rooks/-/rooks-7.1.2.tgz#8e696140d4b4053988a297e5e53299d99dac5136" - integrity sha512-RSk6HbbuL/G2m/km2kRCZGC6lFWHd/FUFqRK5Dcc3zwDE4FHXuLrJoWlHiYH4U3ebLKavVzxhkplWmmpNEAKxw== +rooks@^7.4.0: + version "7.4.0" + resolved "https://mirrors.cloud.tencent.com/npm/rooks/-/rooks-7.4.0.tgz#2174c4e705916179790fa2d2c91d3ea989245907" + integrity sha512-k9gOJid4/BRcznOSkce+sPlVulLj7ZuM9iEXKYk9Js4TplFULs8K/I8x1N9c0z/YkF9MHjmpe1JYVKpUJrNqVg== dependencies: lodash.debounce "^4.0.8" raf "^3.4.1" @@ -10716,7 +10865,7 @@ selenium-webdriver@4.1.2: tmp "^0.2.1" ws ">=7.4.6" -selfsigned@^2.0.1: +selfsigned@^2.0.1, selfsigned@^2.1.1: version "2.1.1" resolved "https://mirrors.cloud.tencent.com/npm/selfsigned/-/selfsigned-2.1.1.tgz#18a7613d714c0cd3385c48af0075abf3f266af61" integrity sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ== @@ -10891,10 +11040,10 @@ slate-history@^0.66.0: dependencies: is-plain-object "^5.0.0" -slate-react@^0.82.2: - version "0.82.2" - resolved "https://mirrors.cloud.tencent.com/npm/slate-react/-/slate-react-0.82.2.tgz#4344ef392e3e51e5cd7c3272d3e5d61483c41823" - integrity sha512-lNmSqqNOKQJG1i3Wx4MkggWr6dLhQ43n4exPf5NLmKVBHPBuQSRNaWhAAKm6HOEC36Q6xBfkVONIQWi3GSyIEQ== +slate-react@^0.83.0: + version "0.83.0" + resolved "https://mirrors.cloud.tencent.com/npm/slate-react/-/slate-react-0.83.0.tgz#ef48ef54bb9c61dc318431cf0a60e79c490a0e2d" + integrity sha512-P+Pv7oPcd1CebRYOGziGM0fqwUrGEqophrb3XnxCN3HbNTIll70dbAsJZxkXIDxp727a+8FcLl8X105tGw7WRA== dependencies: "@types/is-hotkey" "^0.1.1" "@types/lodash" "^4.14.149" @@ -11396,7 +11545,7 @@ svgo@^2.7.0, svgo@^2.8.0: picocolors "^1.0.0" stable "^0.1.8" -swiper@^8.4.0: +swiper@^8.4.2: version "8.4.2" resolved "https://mirrors.cloud.tencent.com/npm/swiper/-/swiper-8.4.2.tgz#a52e091a92a52b230bd076fb3ef19ae73baed2a2" integrity sha512-nMD/RHVYxJxrLqjWQX2n0B94ANwpnuUv/3PUDT8Aaf+mSteFvZGFng4ypAYq70zW4svryyV+8TRlbRZ+6cgv9A== @@ -12079,7 +12228,42 @@ webpack-dev-middleware@^5.3.1: range-parser "^1.2.1" schema-utils "^4.0.0" -webpack-dev-server@^4.11.0, webpack-dev-server@^4.6.0: +webpack-dev-server@^4.11.1: + version "4.11.1" + resolved "https://mirrors.tencent.com/npm/webpack-dev-server/-/webpack-dev-server-4.11.1.tgz#ae07f0d71ca0438cf88446f09029b92ce81380b5" + integrity sha512-lILVz9tAUy1zGFwieuaQtYiadImb5M3d+H+L1zDYalYoDl0cksAB1UNyuE5MMWJrG6zR1tXkCP2fitl7yoUJiw== + dependencies: + "@types/bonjour" "^3.5.9" + "@types/connect-history-api-fallback" "^1.3.5" + "@types/express" "^4.17.13" + "@types/serve-index" "^1.9.1" + "@types/serve-static" "^1.13.10" + "@types/sockjs" "^0.3.33" + "@types/ws" "^8.5.1" + ansi-html-community "^0.0.8" + bonjour-service "^1.0.11" + chokidar "^3.5.3" + colorette "^2.0.10" + compression "^1.7.4" + connect-history-api-fallback "^2.0.0" + default-gateway "^6.0.3" + express "^4.17.3" + graceful-fs "^4.2.6" + html-entities "^2.3.2" + http-proxy-middleware "^2.0.3" + ipaddr.js "^2.0.1" + open "^8.0.9" + p-retry "^4.5.0" + rimraf "^3.0.2" + schema-utils "^4.0.0" + selfsigned "^2.1.1" + serve-index "^1.9.1" + sockjs "^0.3.24" + spdy "^4.0.2" + webpack-dev-middleware "^5.3.1" + ws "^8.4.2" + +webpack-dev-server@^4.6.0: version "4.11.0" resolved "https://mirrors.cloud.tencent.com/npm/webpack-dev-server/-/webpack-dev-server-4.11.0.tgz#290ee594765cd8260adfe83b2d18115ea04484e7" integrity sha512-L5S4Q2zT57SK7tazgzjMiSMBdsw+rGYIX27MgPgx7LDhWO0lViPrHKoLS7jo5In06PWYAhlYu3PbyoC6yAThbw==