This commit is contained in:
IndieKKY
2024-09-19 16:23:13 +08:00
parent ff6dae7a21
commit 78b5d7a18b
3 changed files with 69 additions and 48 deletions

105
pnpm-lock.yaml generated
View File

@@ -10,7 +10,7 @@ importers:
dependencies: dependencies:
'@crxjs/vite-plugin': '@crxjs/vite-plugin':
specifier: ^1.0.14 specifier: ^1.0.14
version: 1.0.14(vite@3.1.1) version: 1.0.14(vite@3.1.1(less@4.1.3))
'@kky002/kky-hooks': '@kky002/kky-hooks':
specifier: ^1.2.1 specifier: ^1.2.1
version: 1.2.1 version: 1.2.1
@@ -28,10 +28,10 @@ importers:
version: 2.11.6 version: 2.11.6
'@reduxjs/toolkit': '@reduxjs/toolkit':
specifier: ^1.8.5 specifier: ^1.8.5
version: 1.8.5(react-redux@8.0.2)(react@18.2.0) version: 1.8.5(react-redux@8.0.2(@types/react-dom@18.0.6)(@types/react@18.0.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.0))(react@18.2.0)
'@tippyjs/react': '@tippyjs/react':
specifier: ^4.2.6 specifier: ^4.2.6
version: 4.2.6(react-dom@18.2.0)(react@18.2.0) version: 4.2.6(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
ahooks: ahooks:
specifier: ^3.7.1 specifier: ^3.7.1
version: 3.7.1(react@18.2.0) version: 3.7.1(react@18.2.0)
@@ -40,7 +40,7 @@ importers:
version: 2.3.2 version: 2.3.2
daisyui: daisyui:
specifier: ^2.42.1 specifier: ^2.42.1
version: 2.42.1(autoprefixer@10.4.13)(postcss@8.4.19) version: 2.42.1(autoprefixer@10.4.13(postcss@8.4.19))(postcss@8.4.19)
js-search: js-search:
specifier: ^2.0.0 specifier: ^2.0.0
version: 2.0.0 version: 2.0.0
@@ -64,7 +64,7 @@ importers:
version: 18.2.0(react@18.2.0) version: 18.2.0(react@18.2.0)
react-hot-toast: react-hot-toast:
specifier: ^2.4.0 specifier: ^2.4.0
version: 2.4.0(csstype@3.1.2)(react-dom@18.2.0)(react@18.2.0) version: 2.4.0(csstype@3.1.2)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
react-icons: react-icons:
specifier: ^4.4.0 specifier: ^4.4.0
version: 4.4.0(react@18.2.0) version: 4.4.0(react@18.2.0)
@@ -73,10 +73,10 @@ importers:
version: 8.0.3(@types/react@18.0.20)(react@18.2.0) version: 8.0.3(@types/react@18.0.20)(react@18.2.0)
react-popper: react-popper:
specifier: ^2.3.0 specifier: ^2.3.0
version: 2.3.0(@popperjs/core@2.11.6)(react-dom@18.2.0)(react@18.2.0) version: 2.3.0(@popperjs/core@2.11.6)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
react-redux: react-redux:
specifier: ^8.0.2 specifier: ^8.0.2
version: 8.0.2(@types/react-dom@18.0.6)(@types/react@18.0.20)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.0) version: 8.0.2(@types/react-dom@18.0.6)(@types/react@18.0.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.0)
react-slider: react-slider:
specifier: ^2.0.4 specifier: ^2.0.4
version: 2.0.4(react@18.2.0) version: 2.0.4(react@18.2.0)
@@ -98,10 +98,10 @@ importers:
devDependencies: devDependencies:
'@tailwindcss/line-clamp': '@tailwindcss/line-clamp':
specifier: ^0.4.2 specifier: ^0.4.2
version: 0.4.2(tailwindcss@3.2.4) version: 0.4.2(tailwindcss@3.2.4(postcss@8.4.19))
'@tailwindcss/typography': '@tailwindcss/typography':
specifier: ^0.5.8 specifier: ^0.5.8
version: 0.5.8(tailwindcss@3.2.4) version: 0.5.8(tailwindcss@3.2.4(postcss@8.4.19))
'@types/chrome': '@types/chrome':
specifier: ^0.0.203 specifier: ^0.0.203
version: 0.0.203 version: 0.0.203
@@ -131,13 +131,13 @@ importers:
version: 8.3.4 version: 8.3.4
'@typescript-eslint/eslint-plugin': '@typescript-eslint/eslint-plugin':
specifier: ^5.37.0 specifier: ^5.37.0
version: 5.37.0(@typescript-eslint/parser@5.37.0)(eslint@8.22.0)(typescript@4.8.3) version: 5.37.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0)(typescript@4.8.3)
'@typescript-eslint/parser': '@typescript-eslint/parser':
specifier: ^5.37.0 specifier: ^5.37.0
version: 5.37.0(eslint@8.22.0)(typescript@4.8.3) version: 5.37.0(eslint@8.22.0)(typescript@4.8.3)
'@vitejs/plugin-react': '@vitejs/plugin-react':
specifier: ^2.1.0 specifier: ^2.1.0
version: 2.1.0(vite@3.1.1) version: 2.1.0(vite@3.1.1(less@4.1.3))
autoprefixer: autoprefixer:
specifier: ^10.4.13 specifier: ^10.4.13
version: 10.4.13(postcss@8.4.19) version: 10.4.13(postcss@8.4.19)
@@ -146,13 +146,13 @@ importers:
version: 8.22.0 version: 8.22.0
eslint-config-standard: eslint-config-standard:
specifier: ^17.0.0 specifier: ^17.0.0
version: 17.0.0(eslint-plugin-import@2.26.0)(eslint-plugin-n@15.2.5)(eslint-plugin-promise@6.0.1)(eslint@8.22.0) version: 17.0.0(eslint-plugin-import@2.26.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0))(eslint-plugin-n@15.2.5(eslint@8.22.0))(eslint-plugin-promise@6.0.1(eslint@8.22.0))(eslint@8.22.0)
eslint-config-standard-with-typescript: eslint-config-standard-with-typescript:
specifier: ^23.0.0 specifier: ^23.0.0
version: 23.0.0(@typescript-eslint/eslint-plugin@5.37.0)(eslint-plugin-import@2.26.0)(eslint-plugin-n@15.2.5)(eslint-plugin-promise@6.0.1)(eslint@8.22.0)(typescript@4.8.3) version: 23.0.0(@typescript-eslint/eslint-plugin@5.37.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0)(typescript@4.8.3))(eslint-plugin-import@2.26.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0))(eslint-plugin-n@15.2.5(eslint@8.22.0))(eslint-plugin-promise@6.0.1(eslint@8.22.0))(eslint@8.22.0)(typescript@4.8.3)
eslint-plugin-import: eslint-plugin-import:
specifier: ^2.26.0 specifier: ^2.26.0
version: 2.26.0(@typescript-eslint/parser@5.37.0)(eslint@8.22.0) version: 2.26.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0)
eslint-plugin-n: eslint-plugin-n:
specifier: ^15.2.5 specifier: ^15.2.5
version: 15.2.5(eslint@8.22.0) version: 15.2.5(eslint@8.22.0)
@@ -170,7 +170,7 @@ importers:
version: 8.4.19 version: 8.4.19
rollup-plugin-visualizer: rollup-plugin-visualizer:
specifier: ^5.8.3 specifier: ^5.8.3
version: 5.8.3 version: 5.8.3(rollup@2.78.1)
tailwindcss: tailwindcss:
specifier: ^3.2.4 specifier: ^3.2.4
version: 3.2.4(postcss@8.4.19) version: 3.2.4(postcss@8.4.19)
@@ -2653,7 +2653,7 @@ snapshots:
'@babel/helper-validator-identifier': 7.19.1 '@babel/helper-validator-identifier': 7.19.1
to-fast-properties: 2.0.0 to-fast-properties: 2.0.0
'@crxjs/vite-plugin@1.0.14(vite@3.1.1)': '@crxjs/vite-plugin@1.0.14(vite@3.1.1(less@4.1.3))':
dependencies: dependencies:
'@rollup/pluginutils': 4.2.1 '@rollup/pluginutils': 4.2.1
'@webcomponents/custom-elements': 1.5.1 '@webcomponents/custom-elements': 1.5.1
@@ -2671,7 +2671,7 @@ snapshots:
rollup: 2.78.1 rollup: 2.78.1
vite: 3.1.1(less@4.1.3) vite: 3.1.1(less@4.1.3)
optionalDependencies: optionalDependencies:
'@vitejs/plugin-react': 2.1.0(vite@3.1.1) '@vitejs/plugin-react': 2.1.0(vite@3.1.1(less@4.1.3))
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@@ -2797,14 +2797,15 @@ snapshots:
'@popperjs/core@2.11.6': {} '@popperjs/core@2.11.6': {}
'@reduxjs/toolkit@1.8.5(react-redux@8.0.2)(react@18.2.0)': '@reduxjs/toolkit@1.8.5(react-redux@8.0.2(@types/react-dom@18.0.6)(@types/react@18.0.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.0))(react@18.2.0)':
dependencies: dependencies:
immer: 9.0.16 immer: 9.0.16
react: 18.2.0
react-redux: 8.0.2(@types/react-dom@18.0.6)(@types/react@18.0.20)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.0)
redux: 4.2.0 redux: 4.2.0
redux-thunk: 2.4.1(redux@4.2.0) redux-thunk: 2.4.1(redux@4.2.0)
reselect: 4.1.6 reselect: 4.1.6
optionalDependencies:
react: 18.2.0
react-redux: 8.0.2(@types/react-dom@18.0.6)(@types/react@18.0.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.0)
'@rollup/pluginutils@4.2.1': '@rollup/pluginutils@4.2.1':
dependencies: dependencies:
@@ -2816,11 +2817,11 @@ snapshots:
lodash.orderby: 4.6.0 lodash.orderby: 4.6.0
lodash.pick: 4.4.0 lodash.pick: 4.4.0
'@tailwindcss/line-clamp@0.4.2(tailwindcss@3.2.4)': '@tailwindcss/line-clamp@0.4.2(tailwindcss@3.2.4(postcss@8.4.19))':
dependencies: dependencies:
tailwindcss: 3.2.4(postcss@8.4.19) tailwindcss: 3.2.4(postcss@8.4.19)
'@tailwindcss/typography@0.5.8(tailwindcss@3.2.4)': '@tailwindcss/typography@0.5.8(tailwindcss@3.2.4(postcss@8.4.19))':
dependencies: dependencies:
lodash.castarray: 4.4.0 lodash.castarray: 4.4.0
lodash.isplainobject: 4.0.6 lodash.isplainobject: 4.0.6
@@ -2828,7 +2829,7 @@ snapshots:
postcss-selector-parser: 6.0.10 postcss-selector-parser: 6.0.10
tailwindcss: 3.2.4(postcss@8.4.19) tailwindcss: 3.2.4(postcss@8.4.19)
'@tippyjs/react@4.2.6(react-dom@18.2.0)(react@18.2.0)': '@tippyjs/react@4.2.6(react-dom@18.2.0(react@18.2.0))(react@18.2.0)':
dependencies: dependencies:
react: 18.2.0 react: 18.2.0
react-dom: 18.2.0(react@18.2.0) react-dom: 18.2.0(react@18.2.0)
@@ -2908,7 +2909,7 @@ snapshots:
'@types/uuid@8.3.4': {} '@types/uuid@8.3.4': {}
'@typescript-eslint/eslint-plugin@5.37.0(@typescript-eslint/parser@5.37.0)(eslint@8.22.0)(typescript@4.8.3)': '@typescript-eslint/eslint-plugin@5.37.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0)(typescript@4.8.3)':
dependencies: dependencies:
'@typescript-eslint/parser': 5.37.0(eslint@8.22.0)(typescript@4.8.3) '@typescript-eslint/parser': 5.37.0(eslint@8.22.0)(typescript@4.8.3)
'@typescript-eslint/scope-manager': 5.37.0 '@typescript-eslint/scope-manager': 5.37.0
@@ -2921,6 +2922,7 @@ snapshots:
regexpp: 3.2.0 regexpp: 3.2.0
semver: 7.3.7 semver: 7.3.7
tsutils: 3.21.0(typescript@4.8.3) tsutils: 3.21.0(typescript@4.8.3)
optionalDependencies:
typescript: 4.8.3 typescript: 4.8.3
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@@ -2932,6 +2934,7 @@ snapshots:
'@typescript-eslint/typescript-estree': 5.37.0(typescript@4.8.3) '@typescript-eslint/typescript-estree': 5.37.0(typescript@4.8.3)
debug: 4.3.4 debug: 4.3.4
eslint: 8.22.0 eslint: 8.22.0
optionalDependencies:
typescript: 4.8.3 typescript: 4.8.3
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@@ -2948,6 +2951,7 @@ snapshots:
debug: 4.3.4 debug: 4.3.4
eslint: 8.22.0 eslint: 8.22.0
tsutils: 3.21.0(typescript@4.8.3) tsutils: 3.21.0(typescript@4.8.3)
optionalDependencies:
typescript: 4.8.3 typescript: 4.8.3
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@@ -2963,6 +2967,7 @@ snapshots:
is-glob: 4.0.3 is-glob: 4.0.3
semver: 7.3.7 semver: 7.3.7
tsutils: 3.21.0(typescript@4.8.3) tsutils: 3.21.0(typescript@4.8.3)
optionalDependencies:
typescript: 4.8.3 typescript: 4.8.3
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@@ -2985,7 +2990,7 @@ snapshots:
'@typescript-eslint/types': 5.37.0 '@typescript-eslint/types': 5.37.0
eslint-visitor-keys: 3.3.0 eslint-visitor-keys: 3.3.0
'@vitejs/plugin-react@2.1.0(vite@3.1.1)': '@vitejs/plugin-react@2.1.0(vite@3.1.1(less@4.1.3))':
dependencies: dependencies:
'@babel/core': 7.19.1 '@babel/core': 7.19.1
'@babel/plugin-transform-react-jsx': 7.19.0(@babel/core@7.19.1) '@babel/plugin-transform-react-jsx': 7.19.0(@babel/core@7.19.1)
@@ -3284,7 +3289,7 @@ snapshots:
csstype@3.1.2: {} csstype@3.1.2: {}
daisyui@2.42.1(autoprefixer@10.4.13)(postcss@8.4.19): daisyui@2.42.1(autoprefixer@10.4.13(postcss@8.4.19))(postcss@8.4.19):
dependencies: dependencies:
autoprefixer: 10.4.13(postcss@8.4.19) autoprefixer: 10.4.13(postcss@8.4.19)
color: 4.2.3 color: 4.2.3
@@ -3509,23 +3514,23 @@ snapshots:
escape-string-regexp@5.0.0: {} escape-string-regexp@5.0.0: {}
eslint-config-standard-with-typescript@23.0.0(@typescript-eslint/eslint-plugin@5.37.0)(eslint-plugin-import@2.26.0)(eslint-plugin-n@15.2.5)(eslint-plugin-promise@6.0.1)(eslint@8.22.0)(typescript@4.8.3): eslint-config-standard-with-typescript@23.0.0(@typescript-eslint/eslint-plugin@5.37.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0)(typescript@4.8.3))(eslint-plugin-import@2.26.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0))(eslint-plugin-n@15.2.5(eslint@8.22.0))(eslint-plugin-promise@6.0.1(eslint@8.22.0))(eslint@8.22.0)(typescript@4.8.3):
dependencies: dependencies:
'@typescript-eslint/eslint-plugin': 5.37.0(@typescript-eslint/parser@5.37.0)(eslint@8.22.0)(typescript@4.8.3) '@typescript-eslint/eslint-plugin': 5.37.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0)(typescript@4.8.3)
'@typescript-eslint/parser': 5.37.0(eslint@8.22.0)(typescript@4.8.3) '@typescript-eslint/parser': 5.37.0(eslint@8.22.0)(typescript@4.8.3)
eslint: 8.22.0 eslint: 8.22.0
eslint-config-standard: 17.0.0(eslint-plugin-import@2.26.0)(eslint-plugin-n@15.2.5)(eslint-plugin-promise@6.0.1)(eslint@8.22.0) eslint-config-standard: 17.0.0(eslint-plugin-import@2.26.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0))(eslint-plugin-n@15.2.5(eslint@8.22.0))(eslint-plugin-promise@6.0.1(eslint@8.22.0))(eslint@8.22.0)
eslint-plugin-import: 2.26.0(@typescript-eslint/parser@5.37.0)(eslint@8.22.0) eslint-plugin-import: 2.26.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0)
eslint-plugin-n: 15.2.5(eslint@8.22.0) eslint-plugin-n: 15.2.5(eslint@8.22.0)
eslint-plugin-promise: 6.0.1(eslint@8.22.0) eslint-plugin-promise: 6.0.1(eslint@8.22.0)
typescript: 4.8.3 typescript: 4.8.3
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
eslint-config-standard@17.0.0(eslint-plugin-import@2.26.0)(eslint-plugin-n@15.2.5)(eslint-plugin-promise@6.0.1)(eslint@8.22.0): eslint-config-standard@17.0.0(eslint-plugin-import@2.26.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0))(eslint-plugin-n@15.2.5(eslint@8.22.0))(eslint-plugin-promise@6.0.1(eslint@8.22.0))(eslint@8.22.0):
dependencies: dependencies:
eslint: 8.22.0 eslint: 8.22.0
eslint-plugin-import: 2.26.0(@typescript-eslint/parser@5.37.0)(eslint@8.22.0) eslint-plugin-import: 2.26.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0)
eslint-plugin-n: 15.2.5(eslint@8.22.0) eslint-plugin-n: 15.2.5(eslint@8.22.0)
eslint-plugin-promise: 6.0.1(eslint@8.22.0) eslint-plugin-promise: 6.0.1(eslint@8.22.0)
@@ -3536,10 +3541,11 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
eslint-module-utils@2.7.4(@typescript-eslint/parser@5.37.0)(eslint-import-resolver-node@0.3.6)(eslint@8.22.0): eslint-module-utils@2.7.4(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint-import-resolver-node@0.3.6)(eslint@8.22.0):
dependencies: dependencies:
'@typescript-eslint/parser': 5.37.0(eslint@8.22.0)(typescript@4.8.3)
debug: 3.2.7 debug: 3.2.7
optionalDependencies:
'@typescript-eslint/parser': 5.37.0(eslint@8.22.0)(typescript@4.8.3)
eslint: 8.22.0 eslint: 8.22.0
eslint-import-resolver-node: 0.3.6 eslint-import-resolver-node: 0.3.6
transitivePeerDependencies: transitivePeerDependencies:
@@ -3551,16 +3557,15 @@ snapshots:
eslint-utils: 2.1.0 eslint-utils: 2.1.0
regexpp: 3.2.0 regexpp: 3.2.0
eslint-plugin-import@2.26.0(@typescript-eslint/parser@5.37.0)(eslint@8.22.0): eslint-plugin-import@2.26.0(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint@8.22.0):
dependencies: dependencies:
'@typescript-eslint/parser': 5.37.0(eslint@8.22.0)(typescript@4.8.3)
array-includes: 3.1.5 array-includes: 3.1.5
array.prototype.flat: 1.3.0 array.prototype.flat: 1.3.0
debug: 2.6.9 debug: 2.6.9
doctrine: 2.1.0 doctrine: 2.1.0
eslint: 8.22.0 eslint: 8.22.0
eslint-import-resolver-node: 0.3.6 eslint-import-resolver-node: 0.3.6
eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.37.0)(eslint-import-resolver-node@0.3.6)(eslint@8.22.0) eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.37.0(eslint@8.22.0)(typescript@4.8.3))(eslint-import-resolver-node@0.3.6)(eslint@8.22.0)
has: 1.0.3 has: 1.0.3
is-core-module: 2.10.0 is-core-module: 2.10.0
is-glob: 4.0.3 is-glob: 4.0.3
@@ -3568,6 +3573,8 @@ snapshots:
object.values: 1.1.5 object.values: 1.1.5
resolve: 1.22.1 resolve: 1.22.1
tsconfig-paths: 3.14.1 tsconfig-paths: 3.14.1
optionalDependencies:
'@typescript-eslint/parser': 5.37.0(eslint@8.22.0)(typescript@4.8.3)
transitivePeerDependencies: transitivePeerDependencies:
- eslint-import-resolver-typescript - eslint-import-resolver-typescript
- eslint-import-resolver-webpack - eslint-import-resolver-webpack
@@ -4533,8 +4540,9 @@ snapshots:
postcss-load-config@3.1.4(postcss@8.4.19): postcss-load-config@3.1.4(postcss@8.4.19):
dependencies: dependencies:
lilconfig: 2.0.6 lilconfig: 2.0.6
postcss: 8.4.19
yaml: 1.10.2 yaml: 1.10.2
optionalDependencies:
postcss: 8.4.19
postcss-nested@6.0.0(postcss@8.4.19): postcss-nested@6.0.0(postcss@8.4.19):
dependencies: dependencies:
@@ -4587,7 +4595,7 @@ snapshots:
react-fast-compare@3.2.0: {} react-fast-compare@3.2.0: {}
react-hot-toast@2.4.0(csstype@3.1.2)(react-dom@18.2.0)(react@18.2.0): react-hot-toast@2.4.0(csstype@3.1.2)(react-dom@18.2.0(react@18.2.0))(react@18.2.0):
dependencies: dependencies:
goober: 2.1.12(csstype@3.1.2) goober: 2.1.12(csstype@3.1.2)
react: 18.2.0 react: 18.2.0
@@ -4625,7 +4633,7 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
react-popper@2.3.0(@popperjs/core@2.11.6)(react-dom@18.2.0)(react@18.2.0): react-popper@2.3.0(@popperjs/core@2.11.6)(react-dom@18.2.0(react@18.2.0))(react@18.2.0):
dependencies: dependencies:
'@popperjs/core': 2.11.6 '@popperjs/core': 2.11.6
react: 18.2.0 react: 18.2.0
@@ -4633,19 +4641,20 @@ snapshots:
react-fast-compare: 3.2.0 react-fast-compare: 3.2.0
warning: 4.0.3 warning: 4.0.3
react-redux@8.0.2(@types/react-dom@18.0.6)(@types/react@18.0.20)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.0): react-redux@8.0.2(@types/react-dom@18.0.6)(@types/react@18.0.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.0):
dependencies: dependencies:
'@babel/runtime': 7.19.0 '@babel/runtime': 7.19.0
'@types/hoist-non-react-statics': 3.3.1 '@types/hoist-non-react-statics': 3.3.1
'@types/react': 18.0.20
'@types/react-dom': 18.0.6
'@types/use-sync-external-store': 0.0.3 '@types/use-sync-external-store': 0.0.3
hoist-non-react-statics: 3.3.2 hoist-non-react-statics: 3.3.2
react: 18.2.0 react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
react-is: 18.2.0 react-is: 18.2.0
redux: 4.2.0
use-sync-external-store: 1.2.0(react@18.2.0) use-sync-external-store: 1.2.0(react@18.2.0)
optionalDependencies:
'@types/react': 18.0.20
'@types/react-dom': 18.0.6
react-dom: 18.2.0(react@18.2.0)
redux: 4.2.0
react-refresh@0.13.0: {} react-refresh@0.13.0: {}
@@ -4736,11 +4745,13 @@ snapshots:
dependencies: dependencies:
glob: 7.2.3 glob: 7.2.3
rollup-plugin-visualizer@5.8.3: rollup-plugin-visualizer@5.8.3(rollup@2.78.1):
dependencies: dependencies:
open: 8.4.0 open: 8.4.0
source-map: 0.7.4 source-map: 0.7.4
yargs: 17.6.2 yargs: 17.6.2
optionalDependencies:
rollup: 2.78.1
rollup@2.78.1: rollup@2.78.1:
optionalDependencies: optionalDependencies:
@@ -5031,12 +5042,12 @@ snapshots:
vite@3.1.1(less@4.1.3): vite@3.1.1(less@4.1.3):
dependencies: dependencies:
esbuild: 0.15.7 esbuild: 0.15.7
less: 4.1.3
postcss: 8.4.19 postcss: 8.4.19
resolve: 1.22.1 resolve: 1.22.1
rollup: 2.78.1 rollup: 2.78.1
optionalDependencies: optionalDependencies:
fsevents: 2.3.2 fsevents: 2.3.2
less: 4.1.3
warning@4.0.3: warning@4.0.3:
dependencies: dependencies:

View File

@@ -4,6 +4,7 @@ import { IoMdClose } from 'react-icons/io';
import { setTempData } from '../redux/envReducer'; import { setTempData } from '../redux/envReducer';
import { useAppDispatch, useAppSelector } from '../hooks/redux'; import { useAppDispatch, useAppSelector } from '../hooks/redux';
import { openUrl } from '@kky002/kky-util'; import { openUrl } from '@kky002/kky-util';
import { isEdgeBrowser } from '../util/util';
const RateExtension: React.FC = () => { const RateExtension: React.FC = () => {
const dispatch = useAppDispatch() const dispatch = useAppDispatch()
@@ -15,7 +16,11 @@ const RateExtension: React.FC = () => {
reviewed: true reviewed: true
})) }))
// Chrome Web Store URL for your extension // Chrome Web Store URL for your extension
openUrl(import.meta.env.VITE_REVIEW_URL) if (isEdgeBrowser()) {
openUrl('https://microsoftedge.microsoft.com/addons/detail/lignnlhlpiefmcjkdkmfjdckhlaiajan')
} else {
openUrl('https://chrome.google.com/webstore/detail/bciglihaegkdhoogebcdblfhppoilclp/reviews')
}
}; };
if (reviewed === true || reviewed === undefined) return null; if (reviewed === true || reviewed === undefined) return null;

View File

@@ -1,5 +1,10 @@
import {SyntheticEvent} from 'react' import {SyntheticEvent} from 'react'
export const isEdgeBrowser = () => {
const userAgent = navigator.userAgent.toLowerCase();
return userAgent.includes('edg/') && !userAgent.includes('edge/');
}
export const formatTime = (time: number) => { export const formatTime = (time: number) => {
if (!time) return '00:00' if (!time) return '00:00'