Compare commits

...

4 Commits

Author SHA1 Message Date
dependabot[bot]
4e1e8c463c
Merge ac55ed0e14 into ca4e60e095 2024-09-08 04:13:46 +00:00
github-actions[bot]
ca4e60e095
chore(main): release 1.148.0 (#984) 2024-09-08 12:13:43 +08:00
YetAnotherZephyruso
2078051d7c
feat: make persisted for ipv6 result (#983) 2024-09-08 10:20:26 +08:00
dependabot[bot]
ac55ed0e14
build(deps): bump vite-plugin-pwa from 0.20.1 to 0.20.5
Bumps [vite-plugin-pwa](https://github.com/vite-pwa/vite-plugin-pwa) from 0.20.1 to 0.20.5.
- [Release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases)
- [Commits](https://github.com/vite-pwa/vite-plugin-pwa/compare/v0.20.1...v0.20.5)

---
updated-dependencies:
- dependency-name: vite-plugin-pwa
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 22:29:44 +00:00
4 changed files with 24 additions and 25 deletions

View File

@ -1,5 +1,12 @@
# Changelog
## [1.148.0](https://github.com/MetaCubeX/metacubexd/compare/v1.147.0...v1.148.0) (2024-09-08)
### Features
* make persisted for ipv6 result ([#983](https://github.com/MetaCubeX/metacubexd/issues/983)) ([2078051](https://github.com/MetaCubeX/metacubexd/commit/2078051d7c8433ceda4240d41952cff32308990c))
## [1.147.0](https://github.com/MetaCubeX/metacubexd/compare/v1.146.2...v1.147.0) (2024-08-29)

View File

@ -1,6 +1,6 @@
{
"name": "metacubexd",
"version": "1.147.0",
"version": "1.148.0",
"description": "Mihomo Dashboard, The Official One, XD",
"license": "MIT",
"type": "module",
@ -69,7 +69,7 @@
"unplugin-auto-import": "^0.18.2",
"uuid": "^10.0.0",
"vite": "^5.4.3",
"vite-plugin-pwa": "^0.20.1",
"vite-plugin-pwa": "^0.20.5",
"vite-plugin-solid": "^2.10.2",
"zod": "^3.23.8"
},

View File

@ -174,8 +174,8 @@ importers:
specifier: ^5.4.3
version: 5.4.3(@types/node@22.5.4)(terser@5.31.1)
vite-plugin-pwa:
specifier: ^0.20.1
version: 0.20.1(@vite-pwa/assets-generator@0.2.6)(vite@5.4.3(@types/node@22.5.4)(terser@5.31.1))(workbox-build@7.1.1(@types/babel__core@7.20.5))(workbox-window@7.1.0)
specifier: ^0.20.5
version: 0.20.5(@vite-pwa/assets-generator@0.2.6)(vite@5.4.3(@types/node@22.5.4)(terser@5.31.1))(workbox-build@7.1.1(@types/babel__core@7.20.5))(workbox-window@7.1.0)
vite-plugin-solid:
specifier: ^2.10.2
version: 2.10.2(solid-js@1.8.22)(vite@5.4.3(@types/node@22.5.4)(terser@5.31.1))
@ -1830,15 +1830,6 @@ packages:
dayjs@1.11.13:
resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==}
debug@4.3.5:
resolution: {integrity: sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==}
engines: {node: '>=6.0'}
peerDependencies:
supports-color: '*'
peerDependenciesMeta:
supports-color:
optional: true
debug@4.3.6:
resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==}
engines: {node: '>=6.0'}
@ -3616,11 +3607,11 @@ packages:
validate-html-nesting@1.2.2:
resolution: {integrity: sha512-hGdgQozCsQJMyfK5urgFcWEqsSSrK63Awe0t/IMR0bZ0QMtnuaiHzThW81guu3qx9abLi99NEuiaN6P9gVYsNg==}
vite-plugin-pwa@0.20.1:
resolution: {integrity: sha512-M6Pk4b18i5ryrhKgiIF8Zud0HGphYiCbEfLsCdlvmwn/CEnS6noVwfIDG/+3V7r6yxpPV/gLiKw+rIlCCiCCoQ==}
vite-plugin-pwa@0.20.5:
resolution: {integrity: sha512-aweuI/6G6n4C5Inn0vwHumElU/UEpNuO+9iZzwPZGTCH87TeZ6YFMrEY6ZUBQdIHHlhTsbMDryFARcSuOdsz9Q==}
engines: {node: '>=16.0.0'}
peerDependencies:
'@vite-pwa/assets-generator': ^0.2.4
'@vite-pwa/assets-generator': ^0.2.6
vite: ^3.1.0 || ^4.0.0 || ^5.0.0
workbox-build: ^7.1.0
workbox-window: ^7.1.0
@ -5639,10 +5630,6 @@ snapshots:
dayjs@1.11.13: {}
debug@4.3.5:
dependencies:
ms: 2.1.2
debug@4.3.6:
dependencies:
ms: 2.1.2
@ -7448,9 +7435,9 @@ snapshots:
validate-html-nesting@1.2.2: {}
vite-plugin-pwa@0.20.1(@vite-pwa/assets-generator@0.2.6)(vite@5.4.3(@types/node@22.5.4)(terser@5.31.1))(workbox-build@7.1.1(@types/babel__core@7.20.5))(workbox-window@7.1.0):
vite-plugin-pwa@0.20.5(@vite-pwa/assets-generator@0.2.6)(vite@5.4.3(@types/node@22.5.4)(terser@5.31.1))(workbox-build@7.1.1(@types/babel__core@7.20.5))(workbox-window@7.1.0):
dependencies:
debug: 4.3.5
debug: 4.3.6
pretty-bytes: 6.1.1
tinyglobby: 0.2.0
vite: 5.4.3(@types/node@22.5.4)(terser@5.31.1)

View File

@ -1,3 +1,4 @@
import { makePersisted } from '@solid-primitives/storage'
import { proxyGroupLatencyTestAPI, proxyLatencyTestAPI } from '~/apis'
import {
latencyQualityMap,
@ -5,9 +6,13 @@ import {
urlForIPv6SupportTest,
} from './config'
export const [proxyIPv6SupportMap, setProxyIPv6SupportMap] = createSignal<
Record<string, boolean>
>({})
export const [proxyIPv6SupportMap, setProxyIPv6SupportMap] = makePersisted(
createSignal<Record<string, boolean>>({}),
{
name: 'proxyIPv6SupportMap',
storage: localStorage,
},
)
export const proxyIPv6SupportTest = async (
proxyName: string,