From 99e0576da4ccc1fda2a2c499f4d1c34f54995025 Mon Sep 17 00:00:00 2001 From: Dreamacro <8615343+Dreamacro@users.noreply.github.com> Date: Fri, 29 Apr 2022 00:28:44 +0800 Subject: [PATCH] Chore: update dependencies --- package.json | 26 +- pnpm-lock.yaml | 405 +++++++++++++++------------ src/containers/Connections/index.tsx | 34 +-- src/models/BaseProps.ts | 7 - 4 files changed, 256 insertions(+), 216 deletions(-) diff --git a/package.json b/package.json index 3b8a074..01f0e16 100644 --- a/package.json +++ b/package.json @@ -26,13 +26,13 @@ }, "devDependencies": { "@types/lodash-es": "^4.17.6", - "@types/node": "^17.0.25", - "@types/react": "^18.0.6", + "@types/node": "^17.0.29", + "@types/react": "^18.0.8", "@types/react-dom": "^18.0.2", "@types/react-virtualized-auto-sizer": "^1.0.1", "@types/react-window": "^1.8.5", - "@typescript-eslint/eslint-plugin": "^5.20.0", - "@typescript-eslint/parser": "^5.20.0", + "@typescript-eslint/eslint-plugin": "^5.21.0", + "@typescript-eslint/parser": "^5.21.0", "@vitejs/plugin-react": "^1.3.1", "eslint": "^8.14.0", "eslint-config-airbnb": "^19.0.4", @@ -42,29 +42,29 @@ "eslint-plugin-import": "^2.26.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.0.0", - "eslint-plugin-react-hooks": "^4.4.0", - "sass": "^1.50.1", + "eslint-plugin-react-hooks": "^4.5.0", + "sass": "^1.51.0", "type-fest": "^2.12.2", "typescript": "^4.6.3", - "vite": "^2.9.5", + "vite": "^2.9.6", "vite-plugin-pwa": "^0.12.0", "vite-plugin-windicss": "^1.8.4", "vite-tsconfig-paths": "^3.4.1", "windicss": "^3.5.1" }, "dependencies": { - "@react-hookz/web": "^13.2.1", - "@tanstack/react-table": "^8.0.0-alpha.45", - "axios": "^0.26.1", + "@react-hookz/web": "^13.3.0", + "@tanstack/react-table": "^8.0.0-alpha.56", + "axios": "^0.27.2", "classnames": "^2.3.1", "dayjs": "^1.11.1", "eventemitter3": "^4.0.7", "immer": "^9.0.12", - "jotai": "^1.6.4", + "jotai": "^1.6.5", "lodash-es": "^4.17.21", "neverthrow": "^4.3.1", - "react": "^18.0.0", - "react-dom": "^18.0.0", + "react": "^18.1.0", + "react-dom": "^18.1.0", "react-router-dom": "^6.3.0", "react-virtualized-auto-sizer": "^1.0.6", "react-window": "^1.8.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2a8abce..97909d7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,18 +1,18 @@ lockfileVersion: 5.3 specifiers: - '@react-hookz/web': ^13.2.1 - '@tanstack/react-table': ^8.0.0-alpha.45 + '@react-hookz/web': ^13.3.0 + '@tanstack/react-table': ^8.0.0-alpha.56 '@types/lodash-es': ^4.17.6 - '@types/node': ^17.0.25 - '@types/react': ^18.0.6 + '@types/node': ^17.0.29 + '@types/react': ^18.0.8 '@types/react-dom': ^18.0.2 '@types/react-virtualized-auto-sizer': ^1.0.1 '@types/react-window': ^1.8.5 - '@typescript-eslint/eslint-plugin': ^5.20.0 - '@typescript-eslint/parser': ^5.20.0 + '@typescript-eslint/eslint-plugin': ^5.21.0 + '@typescript-eslint/parser': ^5.21.0 '@vitejs/plugin-react': ^1.3.1 - axios: ^0.26.1 + axios: ^0.27.2 classnames: ^2.3.1 dayjs: ^1.11.1 eslint: ^8.14.0 @@ -23,81 +23,82 @@ specifiers: eslint-plugin-import: ^2.26.0 eslint-plugin-node: ^11.1.0 eslint-plugin-promise: ^6.0.0 - eslint-plugin-react-hooks: ^4.4.0 + eslint-plugin-react-hooks: ^4.5.0 eventemitter3: ^4.0.7 immer: ^9.0.12 - jotai: ^1.6.4 + jotai: ^1.6.5 lodash-es: ^4.17.21 neverthrow: ^4.3.1 - react: ^18.0.0 - react-dom: ^18.0.0 + react: ^18.1.0 + react-dom: ^18.1.0 react-router-dom: ^6.3.0 react-virtualized-auto-sizer: ^1.0.6 react-window: ^1.8.7 - sass: ^1.50.1 + sass: ^1.51.0 swr: ^1.3.0 type-fest: ^2.12.2 typescript: ^4.6.3 use-immer: ^0.7.0 - vite: ^2.9.5 + vite: ^2.9.6 vite-plugin-pwa: ^0.12.0 vite-plugin-windicss: ^1.8.4 vite-tsconfig-paths: ^3.4.1 windicss: ^3.5.1 dependencies: - '@react-hookz/web': 13.2.1_react-dom@18.0.0+react@18.0.0 - '@tanstack/react-table': 8.0.0-alpha.45_react-dom@18.0.0+react@18.0.0 - axios: 0.26.1 + '@react-hookz/web': 13.3.0_react-dom@18.1.0+react@18.1.0 + '@tanstack/react-table': 8.0.0-alpha.56_react-dom@18.1.0+react@18.1.0 + axios: 0.27.2 classnames: 2.3.1 dayjs: 1.11.1 eventemitter3: 4.0.7 immer: 9.0.12 - jotai: 1.6.4_immer@9.0.12+react@18.0.0 + jotai: 1.6.5_immer@9.0.12+react@18.1.0 lodash-es: 4.17.21 neverthrow: 4.3.1 - react: 18.0.0 - react-dom: 18.0.0_react@18.0.0 - react-router-dom: 6.3.0_react-dom@18.0.0+react@18.0.0 - react-virtualized-auto-sizer: 1.0.6_react-dom@18.0.0+react@18.0.0 - react-window: 1.8.7_react-dom@18.0.0+react@18.0.0 - swr: 1.3.0_react@18.0.0 - use-immer: 0.7.0_immer@9.0.12+react@18.0.0 + react: 18.1.0 + react-dom: 18.1.0_react@18.1.0 + react-router-dom: 6.3.0_react-dom@18.1.0+react@18.1.0 + react-virtualized-auto-sizer: 1.0.6_react-dom@18.1.0+react@18.1.0 + react-window: 1.8.7_react-dom@18.1.0+react@18.1.0 + swr: 1.3.0_react@18.1.0 + use-immer: 0.7.0_immer@9.0.12+react@18.1.0 devDependencies: '@types/lodash-es': 4.17.6 - '@types/node': 17.0.25 - '@types/react': 18.0.6 + '@types/node': 17.0.29 + '@types/react': 18.0.8 '@types/react-dom': 18.0.2 '@types/react-virtualized-auto-sizer': 1.0.1 '@types/react-window': 1.8.5 - '@typescript-eslint/eslint-plugin': 5.20.0_81f0d1a74f014d44d273bd1612c85fd9 - '@typescript-eslint/parser': 5.20.0_eslint@8.14.0+typescript@4.6.3 + '@typescript-eslint/eslint-plugin': 5.21.0_829e74f28e9c9eb05edda582d47d45b8 + '@typescript-eslint/parser': 5.21.0_eslint@8.14.0+typescript@4.6.3 '@vitejs/plugin-react': 1.3.1 eslint: 8.14.0 - eslint-config-airbnb: 19.0.4_6391798d1185b69dd68aeca39375e1f1 - eslint-config-airbnb-typescript: 17.0.0_aa8667a1f5901b7e1384ceaca324281d - eslint-config-standard-with-typescript: 21.0.1_bbf45afe39db79a1c225aebf84378db9 + eslint-config-airbnb: 19.0.4_a383ea7391b1c383ae9e67e26ad9232d + eslint-config-airbnb-typescript: 17.0.0_88b0eb2dbdd8a2ae89ac4fc8a3dd4354 + eslint-config-standard-with-typescript: 21.0.1_dc7cd0b17a513b3744ff5e1832f377a6 eslint-import-resolver-typescript: 2.7.1_662e1b2e8ef3f6aa5d22c3f7cd670612 eslint-plugin-import: 2.26.0_eslint@8.14.0 eslint-plugin-node: 11.1.0_eslint@8.14.0 eslint-plugin-promise: 6.0.0_eslint@8.14.0 - eslint-plugin-react-hooks: 4.4.0_eslint@8.14.0 - sass: 1.50.1 + eslint-plugin-react-hooks: 4.5.0_eslint@8.14.0 + sass: 1.51.0 type-fest: 2.12.2 typescript: 4.6.3 - vite: 2.9.5_sass@1.50.1 - vite-plugin-pwa: 0.12.0_vite@2.9.5 - vite-plugin-windicss: 1.8.4_vite@2.9.5 - vite-tsconfig-paths: 3.4.1_vite@2.9.5 + vite: 2.9.6_sass@1.51.0 + vite-plugin-pwa: 0.12.0_vite@2.9.6 + vite-plugin-windicss: 1.8.4_vite@2.9.6 + vite-tsconfig-paths: 3.4.1_vite@2.9.6 windicss: 3.5.1 packages: - /@ampproject/remapping/2.1.2: - resolution: {integrity: sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==} + /@ampproject/remapping/2.2.0: + resolution: {integrity: sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==} engines: {node: '>=6.0.0'} dependencies: + '@jridgewell/gen-mapping': 0.1.1 '@jridgewell/trace-mapping': 0.3.9 dev: true @@ -133,7 +134,7 @@ packages: resolution: {integrity: sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw==} engines: {node: '>=6.9.0'} dependencies: - '@ampproject/remapping': 2.1.2 + '@ampproject/remapping': 2.2.0 '@babel/code-frame': 7.16.7 '@babel/generator': 7.17.9 '@babel/helper-compilation-targets': 7.17.7_@babel+core@7.17.9 @@ -185,7 +186,7 @@ packages: '@babel/compat-data': 7.17.7 '@babel/core': 7.17.9 '@babel/helper-validator-option': 7.16.7 - browserslist: 4.20.2 + browserslist: 4.20.3 semver: 6.3.0 dev: true @@ -1227,7 +1228,7 @@ packages: babel-plugin-polyfill-corejs2: 0.3.1_@babel+core@7.17.9 babel-plugin-polyfill-corejs3: 0.5.2_@babel+core@7.17.9 babel-plugin-polyfill-regenerator: 0.3.1_@babel+core@7.17.9 - core-js-compat: 3.22.2 + core-js-compat: 3.22.3 semver: 6.3.0 transitivePeerDependencies: - supports-color @@ -1323,11 +1324,24 @@ packages: resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} dev: true + /@jridgewell/gen-mapping/0.1.1: + resolution: {integrity: sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/set-array': 1.1.0 + '@jridgewell/sourcemap-codec': 1.4.11 + dev: true + /@jridgewell/resolve-uri/3.0.6: resolution: {integrity: sha512-R7xHtBSNm+9SyvpJkdQl+qrM3Hm2fea3Ef197M3mUug+v+yR+Rhfbs7PBtcBUVnIWJ4JcAdjvij+c8hXS9p5aw==} engines: {node: '>=6.0.0'} dev: true + /@jridgewell/set-array/1.1.0: + resolution: {integrity: sha512-SfJxIxNVYLTsKwzB3MoOQ1yxf4w/E6MdkvTgrgAt1bfxjSrLUoHMKrDOykwN14q65waezZIdqDneUIPh4/sKxg==} + engines: {node: '>=6.0.0'} + dev: true + /@jridgewell/sourcemap-codec/1.4.11: resolution: {integrity: sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==} dev: true @@ -1364,8 +1378,8 @@ packages: resolution: {integrity: sha512-6k/pU2jNlgYvKOy84vpCAZ8MGVwybvAdjzrh4UicCVOCPxz0LSBws1OE6O5TO4sPHaSw+yLfNzNK8RicGFc1Kw==} dev: false - /@react-hookz/web/13.2.1_react-dom@18.0.0+react@18.0.0: - resolution: {integrity: sha512-ckHdvZ5rgblBscvHdPWAASH46FvfOGjnC+TG3ZtzkOEaYxFtXAzxgQyjjPS+veLuVEGLZ/9HdU6A2l24QBp+9w==} + /@react-hookz/web/13.3.0_react-dom@18.1.0+react@18.1.0: + resolution: {integrity: sha512-KswgkmqBVVDo6UnBFfssrojmDisogxC4jGZmd976R8YHoS3zdQJxjqICpOBSRohbRyYhYS9Cprw7BuV/CZcMaw==} peerDependencies: js-cookie: ^3.0.1 react: ^16.8 || ^17 || ^18 @@ -1375,8 +1389,8 @@ packages: optional: true dependencies: '@react-hookz/deep-equal': 1.0.1 - react: 18.0.0 - react-dom: 18.0.0_react@18.0.0 + react: 18.1.0 + react-dom: 18.1.0_react@18.1.0 dev: false /@rollup/plugin-babel/5.3.1_@babel+core@7.17.9+rollup@2.70.2: @@ -1450,20 +1464,20 @@ packages: string.prototype.matchall: 4.0.7 dev: true - /@tanstack/react-table/8.0.0-alpha.45_react-dom@18.0.0+react@18.0.0: - resolution: {integrity: sha512-4GLf0c/IyueHwC48TACFu3fpC/kTGKjgszgjxqlgpMapgYlQO6PvvRtBaiqB5e3TP8OtGXNWtMV+YXuaD1sAFg==} + /@tanstack/react-table/8.0.0-alpha.56_react-dom@18.1.0+react@18.1.0: + resolution: {integrity: sha512-lrxVLFlnJ6QvLorGroqVTP1sSooBuXTWJGf/9BZKv3obs4rDD4OxpN0yie5kMA1EysYDoezT+Q3JbuRdf4TffQ==} engines: {node: '>=12'} peerDependencies: react: '>=16' react-dom: '>=16' dependencies: - '@tanstack/table-core': 8.0.0-alpha.45 - react: 18.0.0 - react-dom: 18.0.0_react@18.0.0 + '@tanstack/table-core': 8.0.0-alpha.55 + react: 18.1.0 + react-dom: 18.1.0_react@18.1.0 dev: false - /@tanstack/table-core/8.0.0-alpha.45: - resolution: {integrity: sha512-Rq7xwOMjwapCIQM4rUTm8J3J+YGjY6jnFbx1q3xR6AOML8170ad1GY6cX5MXTmrxbzAoTIR452rqRI1pZTMw1w==} + /@tanstack/table-core/8.0.0-alpha.55: + resolution: {integrity: sha512-q3eVf5k2zejaZdDEmHhdWjdTqbGy1+bVB9n2kHWFrQiNmpG3dvcogsE7X3j8alj9bW3TL2d+lh67t00wkxuwig==} engines: {node: '>=12'} dev: false @@ -1489,8 +1503,8 @@ packages: resolution: {integrity: sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q==} dev: true - /@types/node/17.0.25: - resolution: {integrity: sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w==} + /@types/node/17.0.29: + resolution: {integrity: sha512-tx5jMmMFwx7wBwq/V7OohKDVb/JwJU5qCVkeLMh1//xycAJ/ESuw9aJ9SEtlCZDYi2pBfe4JkisSoAtbOsBNAA==} dev: true /@types/prop-types/15.7.5: @@ -1500,23 +1514,23 @@ packages: /@types/react-dom/18.0.2: resolution: {integrity: sha512-UxeS+Wtj5bvLRREz9tIgsK4ntCuLDo0EcAcACgw3E+9wE8ePDr9uQpq53MfcyxyIS55xJ+0B6mDS8c4qkkHLBg==} dependencies: - '@types/react': 18.0.6 + '@types/react': 18.0.8 dev: true /@types/react-virtualized-auto-sizer/1.0.1: resolution: {integrity: sha512-GH8sAnBEM5GV9LTeiz56r4ZhMOUSrP43tAQNSRVxNexDjcNKLCEtnxusAItg1owFUFE6k0NslV26gqVClVvong==} dependencies: - '@types/react': 18.0.6 + '@types/react': 18.0.8 dev: true /@types/react-window/1.8.5: resolution: {integrity: sha512-V9q3CvhC9Jk9bWBOysPGaWy/Z0lxYcTXLtLipkt2cnRj1JOSFNF7wqGpkScSXMgBwC+fnVRg/7shwgddBG5ICw==} dependencies: - '@types/react': 18.0.6 + '@types/react': 18.0.8 dev: true - /@types/react/18.0.6: - resolution: {integrity: sha512-bPqwzJRzKtfI0mVYr5R+1o9BOE8UEXefwc1LwcBtfnaAn6OoqMhLa/91VA8aeWfDPJt1kHvYKI8RHcQybZLHHA==} + /@types/react/18.0.8: + resolution: {integrity: sha512-+j2hk9BzCOrrOSJASi5XiOyBbERk9jG5O73Ya4M0env5Ixi6vUNli4qy994AINcEF+1IEHISYFfIT4zwr++LKw==} dependencies: '@types/prop-types': 15.7.5 '@types/scheduler': 0.16.2 @@ -1526,7 +1540,7 @@ packages: /@types/resolve/1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 17.0.25 + '@types/node': 17.0.29 dev: true /@types/scheduler/0.16.2: @@ -1537,8 +1551,8 @@ packages: resolution: {integrity: sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==} dev: true - /@typescript-eslint/eslint-plugin/5.20.0_81f0d1a74f014d44d273bd1612c85fd9: - resolution: {integrity: sha512-fapGzoxilCn3sBtC6NtXZX6+P/Hef7VDbyfGqTTpzYydwhlkevB+0vE0EnmHPVTVSy68GUncyJ/2PcrFBeCo5Q==} + /@typescript-eslint/eslint-plugin/5.21.0_829e74f28e9c9eb05edda582d47d45b8: + resolution: {integrity: sha512-fTU85q8v5ZLpoZEyn/u1S2qrFOhi33Edo2CZ0+q1gDaWWm0JuPh3bgOyU8lM0edIEYgKLDkPFiZX2MOupgjlyg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -1548,10 +1562,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.20.0_eslint@8.14.0+typescript@4.6.3 - '@typescript-eslint/scope-manager': 5.20.0 - '@typescript-eslint/type-utils': 5.20.0_eslint@8.14.0+typescript@4.6.3 - '@typescript-eslint/utils': 5.20.0_eslint@8.14.0+typescript@4.6.3 + '@typescript-eslint/parser': 5.21.0_eslint@8.14.0+typescript@4.6.3 + '@typescript-eslint/scope-manager': 5.21.0 + '@typescript-eslint/type-utils': 5.21.0_eslint@8.14.0+typescript@4.6.3 + '@typescript-eslint/utils': 5.21.0_eslint@8.14.0+typescript@4.6.3 debug: 4.3.4 eslint: 8.14.0 functional-red-black-tree: 1.0.1 @@ -1584,8 +1598,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser/5.20.0_eslint@8.14.0+typescript@4.6.3: - resolution: {integrity: sha512-UWKibrCZQCYvobmu3/N8TWbEeo/EPQbS41Ux1F9XqPzGuV7pfg6n50ZrFo6hryynD8qOTTfLHtHjjdQtxJ0h/w==} + /@typescript-eslint/parser/5.21.0_eslint@8.14.0+typescript@4.6.3: + resolution: {integrity: sha512-8RUwTO77hstXUr3pZoWZbRQUxXcSXafZ8/5gpnQCfXvgmP9gpNlRGlWzvfbEQ14TLjmtU8eGnONkff8U2ui2Eg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -1594,9 +1608,9 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.20.0 - '@typescript-eslint/types': 5.20.0 - '@typescript-eslint/typescript-estree': 5.20.0_typescript@4.6.3 + '@typescript-eslint/scope-manager': 5.21.0 + '@typescript-eslint/types': 5.21.0 + '@typescript-eslint/typescript-estree': 5.21.0_typescript@4.6.3 debug: 4.3.4 eslint: 8.14.0 typescript: 4.6.3 @@ -1612,16 +1626,16 @@ packages: '@typescript-eslint/visitor-keys': 4.33.0 dev: true - /@typescript-eslint/scope-manager/5.20.0: - resolution: {integrity: sha512-h9KtuPZ4D/JuX7rpp1iKg3zOH0WNEa+ZIXwpW/KWmEFDxlA/HSfCMhiyF1HS/drTICjIbpA6OqkAhrP/zkCStg==} + /@typescript-eslint/scope-manager/5.21.0: + resolution: {integrity: sha512-XTX0g0IhvzcH/e3393SvjRCfYQxgxtYzL3UREteUneo72EFlt7UNoiYnikUtmGVobTbhUDByhJ4xRBNe+34kOQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.20.0 - '@typescript-eslint/visitor-keys': 5.20.0 + '@typescript-eslint/types': 5.21.0 + '@typescript-eslint/visitor-keys': 5.21.0 dev: true - /@typescript-eslint/type-utils/5.20.0_eslint@8.14.0+typescript@4.6.3: - resolution: {integrity: sha512-WxNrCwYB3N/m8ceyoGCgbLmuZwupvzN0rE8NBuwnl7APgjv24ZJIjkNzoFBXPRCGzLNkoU/WfanW0exvp/+3Iw==} + /@typescript-eslint/type-utils/5.21.0_eslint@8.14.0+typescript@4.6.3: + resolution: {integrity: sha512-MxmLZj0tkGlkcZCSE17ORaHl8Th3JQwBzyXL/uvC6sNmu128LsgjTX0NIzy+wdH2J7Pd02GN8FaoudJntFvSOw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -1630,7 +1644,7 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/utils': 5.20.0_eslint@8.14.0+typescript@4.6.3 + '@typescript-eslint/utils': 5.21.0_eslint@8.14.0+typescript@4.6.3 debug: 4.3.4 eslint: 8.14.0 tsutils: 3.21.0_typescript@4.6.3 @@ -1644,8 +1658,8 @@ packages: engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} dev: true - /@typescript-eslint/types/5.20.0: - resolution: {integrity: sha512-+d8wprF9GyvPwtoB4CxBAR/s0rpP25XKgnOvMf/gMXYDvlUC3rPFHupdTQ/ow9vn7UDe5rX02ovGYQbv/IUCbg==} + /@typescript-eslint/types/5.21.0: + resolution: {integrity: sha512-XnOOo5Wc2cBlq8Lh5WNvAgHzpjnEzxn4CJBwGkcau7b/tZ556qrWXQz4DJyChYg8JZAD06kczrdgFPpEQZfDsA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true @@ -1670,8 +1684,8 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree/5.20.0_typescript@4.6.3: - resolution: {integrity: sha512-36xLjP/+bXusLMrT9fMMYy1KJAGgHhlER2TqpUVDYUQg4w0q/NW/sg4UGAgVwAqb8V4zYg43KMUpM8vV2lve6w==} + /@typescript-eslint/typescript-estree/5.21.0_typescript@4.6.3: + resolution: {integrity: sha512-Y8Y2T2FNvm08qlcoSMoNchh9y2Uj3QmjtwNMdRQkcFG7Muz//wfJBGBxh8R7HAGQFpgYpdHqUpEoPQk+q9Kjfg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -1679,8 +1693,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.20.0 - '@typescript-eslint/visitor-keys': 5.20.0 + '@typescript-eslint/types': 5.21.0 + '@typescript-eslint/visitor-keys': 5.21.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -1691,16 +1705,16 @@ packages: - supports-color dev: true - /@typescript-eslint/utils/5.20.0_eslint@8.14.0+typescript@4.6.3: - resolution: {integrity: sha512-lHONGJL1LIO12Ujyx8L8xKbwWSkoUKFSO+0wDAqGXiudWB2EO7WEUT+YZLtVbmOmSllAjLb9tpoIPwpRe5Tn6w==} + /@typescript-eslint/utils/5.21.0_eslint@8.14.0+typescript@4.6.3: + resolution: {integrity: sha512-q/emogbND9wry7zxy7VYri+7ydawo2HDZhRZ5k6yggIvXa7PvBbAAZ4PFH/oZLem72ezC4Pr63rJvDK/sTlL8Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: '@types/json-schema': 7.0.11 - '@typescript-eslint/scope-manager': 5.20.0 - '@typescript-eslint/types': 5.20.0 - '@typescript-eslint/typescript-estree': 5.20.0_typescript@4.6.3 + '@typescript-eslint/scope-manager': 5.21.0 + '@typescript-eslint/types': 5.21.0 + '@typescript-eslint/typescript-estree': 5.21.0_typescript@4.6.3 eslint: 8.14.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0_eslint@8.14.0 @@ -1717,11 +1731,11 @@ packages: eslint-visitor-keys: 2.1.0 dev: true - /@typescript-eslint/visitor-keys/5.20.0: - resolution: {integrity: sha512-1flRpNF+0CAQkMNlTJ6L/Z5jiODG/e5+7mk6XwtPOUS3UrTz3UOiAg9jG2VtKsWI6rZQfy4C6a232QNRZTRGlg==} + /@typescript-eslint/visitor-keys/5.21.0: + resolution: {integrity: sha512-SX8jNN+iHqAF0riZQMkm7e8+POXa/fXw5cxL+gjpyP+FI+JVNhii53EmQgDAfDcBpFekYSlO0fGytMQwRiMQCA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.20.0 + '@typescript-eslint/types': 5.21.0 eslint-visitor-keys: 3.3.0 dev: true @@ -1765,16 +1779,16 @@ packages: - supports-color dev: true - /acorn-jsx/5.3.2_acorn@8.7.0: + /acorn-jsx/5.3.2_acorn@8.7.1: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - acorn: 8.7.0 + acorn: 8.7.1 dev: true - /acorn/8.7.0: - resolution: {integrity: sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==} + /acorn/8.7.1: + resolution: {integrity: sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==} engines: {node: '>=0.4.0'} hasBin: true dev: true @@ -1858,15 +1872,20 @@ packages: resolution: {integrity: sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==} dev: true + /asynckit/0.4.0: + resolution: {integrity: sha1-x57Zf380y48robyXkLzDZkdLS3k=} + dev: false + /at-least-node/1.0.0: resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} engines: {node: '>= 4.0.0'} dev: true - /axios/0.26.1: - resolution: {integrity: sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==} + /axios/0.27.2: + resolution: {integrity: sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==} dependencies: follow-redirects: 1.14.9 + form-data: 4.0.0 transitivePeerDependencies: - debug dev: false @@ -1897,7 +1916,7 @@ packages: dependencies: '@babel/core': 7.17.9 '@babel/helper-define-polyfill-provider': 0.3.1_@babel+core@7.17.9 - core-js-compat: 3.22.2 + core-js-compat: 3.22.3 transitivePeerDependencies: - supports-color dev: true @@ -1942,15 +1961,15 @@ packages: fill-range: 7.0.1 dev: true - /browserslist/4.20.2: - resolution: {integrity: sha512-CQOBCqp/9pDvDbx3xfMi+86pr4KXIf2FDkTTdeuYw8OxS9t898LA1Khq57gtufFILXpfgsSx5woNgsBgvGjpsA==} + /browserslist/4.20.3: + resolution: {integrity: sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001332 - electron-to-chromium: 1.4.118 + caniuse-lite: 1.0.30001334 + electron-to-chromium: 1.4.124 escalade: 3.1.1 - node-releases: 2.0.3 + node-releases: 2.0.4 picocolors: 1.0.0 dev: true @@ -1975,8 +1994,8 @@ packages: engines: {node: '>=6'} dev: true - /caniuse-lite/1.0.30001332: - resolution: {integrity: sha512-10T30NYOEQtN6C11YGg411yebhvpnC6Z102+B95eAsN0oB6KUs01ivE8u+G6FMIRtIrVlYXhL+LUwQ3/hXwDWw==} + /caniuse-lite/1.0.30001334: + resolution: {integrity: sha512-kbaCEBRRVSoeNs74sCuq92MJyGrMtjWVfhltoHUCW4t4pXFvGjUBrfo47weBRViHkiV3eBYyIsfl956NtHGazw==} dev: true /chalk/2.4.2: @@ -2036,6 +2055,13 @@ packages: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} dev: true + /combined-stream/1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + dependencies: + delayed-stream: 1.0.0 + dev: false + /commander/2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} dev: true @@ -2059,10 +2085,10 @@ packages: safe-buffer: 5.1.2 dev: true - /core-js-compat/3.22.2: - resolution: {integrity: sha512-Fns9lU06ZJ07pdfmPMu7OnkIKGPKDzXKIiuGlSvHHapwqMUF2QnnsWwtueFZtSyZEilP0o6iUeHQwpn7LxtLUw==} + /core-js-compat/3.22.3: + resolution: {integrity: sha512-wliMbvPI2idgFWpFe7UEyHMvu6HWgW8WA+HnDRtgzoSDYvXFMpoGX1H3tPDDXrcfUSyXafCLDd7hOeMQHEZxGw==} dependencies: - browserslist: 4.20.2 + browserslist: 4.20.3 semver: 7.0.0 dev: true @@ -2129,6 +2155,11 @@ packages: object-keys: 1.1.1 dev: true + /delayed-stream/1.0.0: + resolution: {integrity: sha1-3zrhmayt+31ECqrgsp4icrJOxhk=} + engines: {node: '>=0.4.0'} + dev: false + /dir-glob/3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -2158,8 +2189,8 @@ packages: jake: 10.8.5 dev: true - /electron-to-chromium/1.4.118: - resolution: {integrity: sha512-maZIKjnYDvF7Fs35nvVcyr44UcKNwybr93Oba2n3HkKDFAtk0svERkLN/HyczJDS3Fo4wU9th9fUQd09ZLtj1w==} + /electron-to-chromium/1.4.124: + resolution: {integrity: sha512-VhaE9VUYU6d2eIb+4xf83CATD+T+3bTzvxvlADkQE+c2hisiw3sZmvEDtsW704+Zky9WZGhBuQXijDVqSriQLA==} dev: true /es-abstract/1.19.5: @@ -2185,7 +2216,7 @@ packages: object.assign: 4.1.2 string.prototype.trimend: 1.0.4 string.prototype.trimstart: 1.0.4 - unbox-primitive: 1.0.1 + unbox-primitive: 1.0.2 dev: true /es-shim-unscopables/1.0.0: @@ -2441,7 +2472,7 @@ packages: semver: 6.3.0 dev: true - /eslint-config-airbnb-typescript/17.0.0_aa8667a1f5901b7e1384ceaca324281d: + /eslint-config-airbnb-typescript/17.0.0_88b0eb2dbdd8a2ae89ac4fc8a3dd4354: resolution: {integrity: sha512-elNiuzD0kPAPTXjFWg+lE24nMdHMtuxgYoD30OyMD6yrW1AhFZPAg27VX7d3tzOErw+dgJTNWfRSDqEcXb4V0g==} peerDependencies: '@typescript-eslint/eslint-plugin': ^5.13.0 @@ -2449,14 +2480,14 @@ packages: eslint: ^7.32.0 || ^8.2.0 eslint-plugin-import: ^2.25.3 dependencies: - '@typescript-eslint/eslint-plugin': 5.20.0_81f0d1a74f014d44d273bd1612c85fd9 - '@typescript-eslint/parser': 5.20.0_eslint@8.14.0+typescript@4.6.3 + '@typescript-eslint/eslint-plugin': 5.21.0_829e74f28e9c9eb05edda582d47d45b8 + '@typescript-eslint/parser': 5.21.0_eslint@8.14.0+typescript@4.6.3 eslint: 8.14.0 eslint-config-airbnb-base: 15.0.0_662e1b2e8ef3f6aa5d22c3f7cd670612 eslint-plugin-import: 2.26.0_eslint@8.14.0 dev: true - /eslint-config-airbnb/19.0.4_6391798d1185b69dd68aeca39375e1f1: + /eslint-config-airbnb/19.0.4_a383ea7391b1c383ae9e67e26ad9232d: resolution: {integrity: sha512-T75QYQVQX57jiNgpF9r1KegMICE94VYwoFQyMGhrvc+lB8YF2E/M/PYDaQe1AJcWaEgqLE+ErXV1Og/+6Vyzew==} engines: {node: ^10.12.0 || ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2469,12 +2500,12 @@ packages: eslint: 8.14.0 eslint-config-airbnb-base: 15.0.0_662e1b2e8ef3f6aa5d22c3f7cd670612 eslint-plugin-import: 2.26.0_eslint@8.14.0 - eslint-plugin-react-hooks: 4.4.0_eslint@8.14.0 + eslint-plugin-react-hooks: 4.5.0_eslint@8.14.0 object.assign: 4.1.2 object.entries: 1.1.5 dev: true - /eslint-config-standard-with-typescript/21.0.1_bbf45afe39db79a1c225aebf84378db9: + /eslint-config-standard-with-typescript/21.0.1_dc7cd0b17a513b3744ff5e1832f377a6: resolution: {integrity: sha512-FeiMHljEJ346Y0I/HpAymNKdrgKEpHpcg/D93FvPHWfCzbT4QyUJba/0FwntZeGLXfUiWDSeKmdJD597d9wwiw==} peerDependencies: '@typescript-eslint/eslint-plugin': ^4.0.1 @@ -2484,7 +2515,7 @@ packages: eslint-plugin-promise: ^4.2.1 || ^5.0.0 typescript: ^3.9 || ^4.0.0 dependencies: - '@typescript-eslint/eslint-plugin': 5.20.0_81f0d1a74f014d44d273bd1612c85fd9 + '@typescript-eslint/eslint-plugin': 5.21.0_829e74f28e9c9eb05edda582d47d45b8 '@typescript-eslint/parser': 4.33.0_eslint@8.14.0+typescript@4.6.3 eslint: 8.14.0 eslint-config-standard: 16.0.3_dabbf74a1950c1609644dc6f7f24896a @@ -2600,8 +2631,8 @@ packages: eslint: 8.14.0 dev: true - /eslint-plugin-react-hooks/4.4.0_eslint@8.14.0: - resolution: {integrity: sha512-U3RVIfdzJaeKDQKEJbz5p3NW8/L80PCATJAfuojwbaEL+gBjfGdhUcGde+WGUW46Q5sr/NgxevsIiDtNXrvZaQ==} + /eslint-plugin-react-hooks/4.5.0_eslint@8.14.0: + resolution: {integrity: sha512-8k1gRt7D7h03kd+SAAlzXkQwWK22BnK6GKZG+FJA6BAGy22CFvl8kCIXKpVux0cCxMWDQUPqSok0LKaZ0aOcCw==} engines: {node: '>=10'} peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 @@ -2705,8 +2736,8 @@ packages: resolution: {integrity: sha512-bvdyLmJMfwkV3NCRl5ZhJf22zBFo1y8bYh3VYb+bfzqNB4Je68P2sSuXyuFquzWLebHpNd2/d5uv7yoP9ISnGQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - acorn: 8.7.0 - acorn-jsx: 5.3.2_acorn@8.7.0 + acorn: 8.7.1 + acorn-jsx: 5.3.2_acorn@8.7.1 eslint-visitor-keys: 3.3.0 dev: true @@ -2829,6 +2860,15 @@ packages: optional: true dev: false + /form-data/4.0.0: + resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} + engines: {node: '>= 6'} + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 + dev: false + /fs-extra/9.1.0: resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==} engines: {node: '>=10'} @@ -3184,7 +3224,7 @@ packages: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 17.0.25 + '@types/node': 17.0.29 merge-stream: 2.0.0 supports-color: 7.2.0 dev: true @@ -3194,8 +3234,8 @@ packages: hasBin: true dev: true - /jotai/1.6.4_immer@9.0.12+react@18.0.0: - resolution: {integrity: sha512-XC0ExLhdE6FEBdIjKTe6kMlHaAUV/QiwN7vZond76gNr/WdcdonJOEW79+5t8u38sR41bJXi26B1dRi7cCRz9A==} + /jotai/1.6.5_immer@9.0.12+react@18.1.0: + resolution: {integrity: sha512-B+DGV5ALIkIeyA1Bi9yBpdGmcWkmDS/p8C1XFYx9jFBs+lkeOdu0WAozAPCG4Qq1EcQ68vF+07HmPYFN5kf9OQ==} engines: {node: '>=12.7.0'} peerDependencies: '@babel/core': '*' @@ -3229,7 +3269,7 @@ packages: optional: true dependencies: immer: 9.0.12 - react: 18.0.0 + react: 18.1.0 dev: false /js-tokens/4.0.0: @@ -3388,6 +3428,18 @@ packages: picomatch: 2.3.1 dev: true + /mime-db/1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + dev: false + + /mime-types/2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + dependencies: + mime-db: 1.52.0 + dev: false + /minimatch/3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} dependencies: @@ -3431,8 +3483,8 @@ packages: resolution: {integrity: sha512-+vxjSaiDWjAj6kR6KKW0YDuV6O4UCNWGAO8m8ITjFKPWcTmU1GVnL+J5TAUTKpPnUAHCKDxXpOHVaERid223Ww==} dev: false - /node-releases/2.0.3: - resolution: {integrity: sha512-maHFz6OLqYxz+VQyCAtA3PTX4UP/53pa05fyDNc9CwjvJ0yEh6+xBwKsgCxMNhS8taUKBFYxfuiaD9U/55iFaw==} + /node-releases/2.0.4: + resolution: {integrity: sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ==} dev: true /normalize-path/3.0.0: @@ -3593,14 +3645,14 @@ packages: safe-buffer: 5.2.1 dev: true - /react-dom/18.0.0_react@18.0.0: - resolution: {integrity: sha512-XqX7uzmFo0pUceWFCt7Gff6IyIMzFUn7QMZrbrQfGxtaxXZIcGQzoNpRLE3fQLnS4XzLLPMZX2T9TRcSrasicw==} + /react-dom/18.1.0_react@18.1.0: + resolution: {integrity: sha512-fU1Txz7Budmvamp7bshe4Zi32d0ll7ect+ccxNu9FlObT605GOEB8BfO4tmRJ39R5Zj831VCpvQ05QPBW5yb+w==} peerDependencies: - react: ^18.0.0 + react: ^18.1.0 dependencies: loose-envify: 1.4.0 - react: 18.0.0 - scheduler: 0.21.0 + react: 18.1.0 + scheduler: 0.22.0 dev: false /react-refresh/0.12.0: @@ -3608,39 +3660,39 @@ packages: engines: {node: '>=0.10.0'} dev: true - /react-router-dom/6.3.0_react-dom@18.0.0+react@18.0.0: + /react-router-dom/6.3.0_react-dom@18.1.0+react@18.1.0: resolution: {integrity: sha512-uaJj7LKytRxZNQV8+RbzJWnJ8K2nPsOOEuX7aQstlMZKQT0164C+X2w6bnkqU3sjtLvpd5ojrezAyfZ1+0sStw==} peerDependencies: react: '>=16.8' react-dom: '>=16.8' dependencies: history: 5.3.0 - react: 18.0.0 - react-dom: 18.0.0_react@18.0.0 - react-router: 6.3.0_react@18.0.0 + react: 18.1.0 + react-dom: 18.1.0_react@18.1.0 + react-router: 6.3.0_react@18.1.0 dev: false - /react-router/6.3.0_react@18.0.0: + /react-router/6.3.0_react@18.1.0: resolution: {integrity: sha512-7Wh1DzVQ+tlFjkeo+ujvjSqSJmkt1+8JO+T5xklPlgrh70y7ogx75ODRW0ThWhY7S+6yEDks8TYrtQe/aoboBQ==} peerDependencies: react: '>=16.8' dependencies: history: 5.3.0 - react: 18.0.0 + react: 18.1.0 dev: false - /react-virtualized-auto-sizer/1.0.6_react-dom@18.0.0+react@18.0.0: + /react-virtualized-auto-sizer/1.0.6_react-dom@18.1.0+react@18.1.0: resolution: {integrity: sha512-7tQ0BmZqfVF6YYEWcIGuoR3OdYe8I/ZFbNclFlGOC3pMqunkYF/oL30NCjSGl9sMEb17AnzixDz98Kqc3N76HQ==} engines: {node: '>8.0.0'} peerDependencies: react: ^15.3.0 || ^16.0.0-alpha || ^17.0.0 react-dom: ^15.3.0 || ^16.0.0-alpha || ^17.0.0 dependencies: - react: 18.0.0 - react-dom: 18.0.0_react@18.0.0 + react: 18.1.0 + react-dom: 18.1.0_react@18.1.0 dev: false - /react-window/1.8.7_react-dom@18.0.0+react@18.0.0: + /react-window/1.8.7_react-dom@18.1.0+react@18.1.0: resolution: {integrity: sha512-JHEZbPXBpKMmoNO1bNhoXOOLg/ujhL/BU4IqVU9r8eQPcy5KQnGHIHDRkJ0ns9IM5+Aq5LNwt3j8t3tIrePQzA==} engines: {node: '>8.0.0'} peerDependencies: @@ -3649,12 +3701,12 @@ packages: dependencies: '@babel/runtime': 7.17.9 memoize-one: 5.2.1 - react: 18.0.0 - react-dom: 18.0.0_react@18.0.0 + react: 18.1.0 + react-dom: 18.1.0_react@18.1.0 dev: false - /react/18.0.0: - resolution: {integrity: sha512-x+VL6wbT4JRVPm7EGxXhZ8w8LTROaxPXOqhlGyVSrv0sB1jkyFGgXxJ8LVoPRLvPR6/CIZGFmfzqUa2NYeMr2A==} + /react/18.1.0: + resolution: {integrity: sha512-4oL8ivCz5ZEPyclFQXaNksK3adutVS8l2xzZU0cqEFrE9Sb7fC0EFK5uEk74wIreL1DERyjvsU915j1pcT2uEQ==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 @@ -3773,7 +3825,7 @@ packages: jest-worker: 26.6.2 rollup: 2.70.2 serialize-javascript: 4.0.0 - terser: 5.12.1 + terser: 5.13.0 dev: true /rollup/2.70.2: @@ -3798,8 +3850,8 @@ packages: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} dev: true - /sass/1.50.1: - resolution: {integrity: sha512-noTnY41KnlW2A9P8sdwESpDmo+KBNkukI1i8+hOK3footBUcohNHtdOJbckp46XO95nuvcHDDZ+4tmOnpK3hjw==} + /sass/1.51.0: + resolution: {integrity: sha512-haGdpTgywJTvHC2b91GSq+clTKGbtkkZmVAb82jZQN/wTy6qs8DdFm2lhEQbEwrY0QDRgSQ3xDurqM977C3noA==} engines: {node: '>=12.0.0'} hasBin: true dependencies: @@ -3808,8 +3860,8 @@ packages: source-map-js: 1.0.2 dev: true - /scheduler/0.21.0: - resolution: {integrity: sha512-1r87x5fz9MXqswA2ERLo0EbOAU74DpIUO090gIasYTqlVoJeMcl+Z1Rg7WHz+qtPujhS/hGIt9kxZOYBV3faRQ==} + /scheduler/0.22.0: + resolution: {integrity: sha512-6QAm1BgQI88NPYymgGQLCZgvep4FyePDWFpXVK+zNSUgHwlqpJy8VEh8Et0KxTACS4VWwMousBElAZOH9nkkoQ==} dependencies: loose-envify: 1.4.0 dev: false @@ -3885,11 +3937,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /source-map/0.7.3: - resolution: {integrity: sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==} - engines: {node: '>= 8'} - dev: true - /source-map/0.8.0-beta.0: resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} engines: {node: '>= 8'} @@ -3978,12 +4025,12 @@ packages: engines: {node: '>= 0.4'} dev: true - /swr/1.3.0_react@18.0.0: + /swr/1.3.0_react@18.1.0: resolution: {integrity: sha512-dkghQrOl2ORX9HYrMDtPa7LTVHJjCTeZoB1dqTbnnEDlSvN8JEKpYIYurDfvbQFUUS8Cg8PceFVZNkW0KNNYPw==} peerDependencies: react: ^16.11.0 || ^17.0.0 || ^18.0.0 dependencies: - react: 18.0.0 + react: 18.1.0 dev: false /temp-dir/2.0.0: @@ -4001,14 +4048,14 @@ packages: unique-string: 2.0.0 dev: true - /terser/5.12.1: - resolution: {integrity: sha512-NXbs+7nisos5E+yXwAD+y7zrcTkMqb0dEJxIGtSKPdCBzopf7ni4odPul2aechpV7EXNvOudYOX2bb5tln1jbQ==} + /terser/5.13.0: + resolution: {integrity: sha512-sgQ99P+fRBM1jAYzN9RTnD/xEWx/7LZgYTCRgmYriSq1wxxqiQPJgXkkLBBuwySDWJ2PP0PnVQyuf4xLUuH4Ng==} engines: {node: '>=10'} hasBin: true dependencies: - acorn: 8.7.0 + acorn: 8.7.1 commander: 2.20.3 - source-map: 0.7.3 + source-map: 0.8.0-beta.0 source-map-support: 0.5.21 dev: true @@ -4085,10 +4132,10 @@ packages: hasBin: true dev: true - /unbox-primitive/1.0.1: - resolution: {integrity: sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==} + /unbox-primitive/1.0.2: + resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: - function-bind: 1.1.1 + call-bind: 1.0.2 has-bigints: 1.0.2 has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 @@ -4140,21 +4187,21 @@ packages: punycode: 2.1.1 dev: true - /use-immer/0.7.0_immer@9.0.12+react@18.0.0: + /use-immer/0.7.0_immer@9.0.12+react@18.1.0: resolution: {integrity: sha512-Re4hjrP3a/2ABZjAc0b7AK9s626bnO+H33RO2VUhiDZ2StBz5B663K6WNNlr4QtHWaGUmvLpwt3whFvvWuolQw==} peerDependencies: immer: '>=2.0.0' react: ^16.8.0 || ^17.0.1 || ^18.0.0 dependencies: immer: 9.0.12 - react: 18.0.0 + react: 18.1.0 dev: false /v8-compile-cache/2.3.0: resolution: {integrity: sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==} dev: true - /vite-plugin-pwa/0.12.0_vite@2.9.5: + /vite-plugin-pwa/0.12.0_vite@2.9.6: resolution: {integrity: sha512-KYD+cnS5ExLF3T28NkfzBLZ53ehHlp+qMhHGFNh0zlVGpFHrJkL2v9wd4AMi7ZkBTffgeNatIFiv8rhCsMSxBQ==} peerDependencies: vite: ^2.0.0 @@ -4163,7 +4210,7 @@ packages: fast-glob: 3.2.11 pretty-bytes: 6.0.0 rollup: 2.70.2 - vite: 2.9.5_sass@1.50.1 + vite: 2.9.6_sass@1.51.0 workbox-build: 6.5.3 workbox-window: 6.5.3 transitivePeerDependencies: @@ -4171,7 +4218,7 @@ packages: - supports-color dev: true - /vite-plugin-windicss/1.8.4_vite@2.9.5: + /vite-plugin-windicss/1.8.4_vite@2.9.6: resolution: {integrity: sha512-LSZAO8BZn3x406GRbYX5t5ONXXJVdqiQtN1qrznLA/Dy5/NzZVhfcrL6N1qEYYO7HsCDT4pLAjTzObvDnM9Y8A==} peerDependencies: vite: ^2.0.1 @@ -4179,13 +4226,13 @@ packages: '@windicss/plugin-utils': 1.8.4 debug: 4.3.4 kolorist: 1.5.1 - vite: 2.9.5_sass@1.50.1 + vite: 2.9.6_sass@1.51.0 windicss: 3.5.1 transitivePeerDependencies: - supports-color dev: true - /vite-tsconfig-paths/3.4.1_vite@2.9.5: + /vite-tsconfig-paths/3.4.1_vite@2.9.6: resolution: {integrity: sha512-SgK3/pnTuJ3i+gMSAWLR6VCPSw26bnxawrmXGvCDjJgk8MAQgmbCrFrAzfwbwZBXSqSuvWEuX04Wt73qJKx8fQ==} peerDependencies: vite: '>2.0.0-0' @@ -4194,13 +4241,13 @@ packages: globrex: 0.1.2 recrawl-sync: 2.2.2 tsconfig-paths: 3.14.1 - vite: 2.9.5_sass@1.50.1 + vite: 2.9.6_sass@1.51.0 transitivePeerDependencies: - supports-color dev: true - /vite/2.9.5_sass@1.50.1: - resolution: {integrity: sha512-dvMN64X2YEQgSXF1lYabKXw3BbN6e+BL67+P3Vy4MacnY+UzT1AfkHiioFSi9+uiDUiaDy7Ax/LQqivk6orilg==} + /vite/2.9.6_sass@1.51.0: + resolution: {integrity: sha512-3IffdrByHW95Yjv0a13TQOQfJs7L5dVlSPuTt432XLbRMriWbThqJN2k/IS6kXn5WY4xBLhK9XoaWay1B8VzUw==} engines: {node: '>=12.2.0'} hasBin: true peerDependencies: @@ -4219,7 +4266,7 @@ packages: postcss: 8.4.12 resolve: 1.22.0 rollup: 2.70.2 - sass: 1.50.1 + sass: 1.51.0 optionalDependencies: fsevents: 2.3.2 dev: true diff --git a/src/containers/Connections/index.tsx b/src/containers/Connections/index.tsx index c2ac689..27022e8 100644 --- a/src/containers/Connections/index.tsx +++ b/src/containers/Connections/index.tsx @@ -18,19 +18,19 @@ import { ConnectionInfo } from './Info' import { Connection, FormatConnection, useConnections } from './store' import './style.scss' -enum Columns { - Host = 'host', - Network = 'network', - Process = 'process', - Type = 'type', - Chains = 'chains', - Rule = 'rule', - Speed = 'speed', - Upload = 'upload', - Download = 'download', - SourceIP = 'sourceIP', - Time = 'time', -} +const Columns = { + Host: 'host', + Network: 'network', + Process: 'process', + Type: 'type', + Chains: 'chains', + Rule: 'rule', + Speed: 'speed', + Upload: 'upload', + Download: 'download', + SourceIP: 'sourceIP', + Time: 'time', +} as const const shouldCenter = new Set([Columns.Network, Columns.Type, Columns.Speed, Columns.Upload, Columns.Download, Columns.SourceIP, Columns.Time, Columns.Process]) @@ -47,7 +47,7 @@ function formatSpeed (upload: number, download: number) { } } -const table = createTable<{ Row: FormatConnection }>() +const table = createTable().setRowType() export default function Connections () { const { translation, lang } = useI18n() @@ -114,7 +114,7 @@ export default function Connections () { minWidth: 200, width: 200, sortDescFirst: true, - sortType (rowA, rowB) { + sortingFn (rowA, rowB) { const speedA = rowA.original?.speed ?? { upload: 0, download: 0 } const speedB = rowB.original?.speed ?? { upload: 0, download: 0 } return speedA.download === speedB.download @@ -126,7 +126,7 @@ export default function Connections () { ), table.createDataColumn(Columns.Upload, { minWidth: 100, width: 100, header: t(`columns.${Columns.Upload}`), cell: cell => formatTraffic(cell.value) }), table.createDataColumn(Columns.Download, { minWidth: 100, width: 100, header: t(`columns.${Columns.Download}`), cell: cell => formatTraffic(cell.value) }), - table.createDataColumn(Columns.SourceIP, { minWidth: 140, width: 140, header: t(`columns.${Columns.SourceIP}`), filterType: 'equals' }), + table.createDataColumn(Columns.SourceIP, { minWidth: 140, width: 140, header: t(`columns.${Columns.SourceIP}`), filterFn: 'equals' }), table.createDataColumn( Columns.Time, { @@ -134,7 +134,7 @@ export default function Connections () { width: 120, header: t(`columns.${Columns.Time}`), cell: cell => fromNow(new Date(cell.value), lang), - sortType: (rowA, rowB) => (rowB.original?.time ?? 0) - (rowA.original?.time ?? 0), + sortingFn: (rowA, rowB) => (rowB.original?.time ?? 0) - (rowA.original?.time ?? 0), }, ), ]), diff --git a/src/models/BaseProps.ts b/src/models/BaseProps.ts index a929e96..938ef72 100644 --- a/src/models/BaseProps.ts +++ b/src/models/BaseProps.ts @@ -1,11 +1,4 @@ import { CSSProperties, ReactNode } from 'react' -import { RouteComponentProps } from 'react-router' - -/** - * expose base router component props - * and mobx store to props - */ -export type BaseRouterProps = RouteComponentProps export interface BaseComponentProps { className?: string