Upgrade deps

This commit is contained in:
Haishan 2022-11-07 16:56:06 +08:00
parent 9a80bcc74f
commit e7aae53b65
8 changed files with 1272 additions and 1302 deletions

View file

@ -26,7 +26,7 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}- ${{ runner.os }}-
- uses: pnpm/action-setup@v2.2.2 - uses: pnpm/action-setup@v2.2.4
with: with:
version: 7 version: 7
run_install: true run_install: true

View file

@ -28,22 +28,22 @@
"private": true, "private": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "7.19.0", "@babel/runtime": "7.20.1",
"@fontsource/roboto-mono": "4.5.8", "@fontsource/roboto-mono": "4.5.8",
"@reach/menu-button": "0.17.0", "@reach/menu-button": "0.18.0",
"@reach/tooltip": "0.17.0", "@reach/tooltip": "0.18.0",
"@reach/visually-hidden": "0.17.0", "@reach/visually-hidden": "0.18.0",
"@tanstack/react-query": "4.2.3", "@tanstack/react-query": "4.14.5",
"chart.js": "3.9.1", "chart.js": "3.9.1",
"clsx": "^1.2.1", "clsx": "^1.2.1",
"core-js": "3.25.1", "core-js": "3.26.0",
"date-fns": "2.29.2", "date-fns": "2.29.3",
"framer-motion": "7.3.2", "framer-motion": "7.6.4",
"history": "5.3.0", "history": "5.3.0",
"i18next": "21.9.1", "i18next": "22.0.4",
"i18next-browser-languagedetector": "6.1.5", "i18next-browser-languagedetector": "7.0.1",
"i18next-http-backend": "1.4.1", "i18next-http-backend": "2.0.1",
"immer": "9.0.15", "immer": "9.0.16",
"invariant": "^2.2.4", "invariant": "^2.2.4",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"memoize-one": "6.0.0", "memoize-one": "6.0.0",
@ -51,20 +51,20 @@
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-feather": "^2.0.10", "react-feather": "^2.0.10",
"react-i18next": "11.18.6", "react-i18next": "12.0.0",
"react-icons": "4.4.0", "react-icons": "4.6.0",
"react-modal": "3.15.1", "react-modal": "3.16.1",
"react-router": "6.3.0", "react-router": "6.4.3",
"react-router-dom": "6.3.0", "react-router-dom": "6.4.3",
"react-switch": "^7.0.0", "react-switch": "^7.0.0",
"react-table": "7.8.0", "react-table": "7.8.0",
"react-tabs": "5.1.0", "react-tabs": "5.1.0",
"react-tiny-fab": "4.0.4", "react-tiny-fab": "4.0.4",
"react-window": "^1.8.5", "react-window": "^1.8.8",
"recoil": "0.7.5", "recoil": "0.7.6",
"regenerator-runtime": "0.13.9", "regenerator-runtime": "0.13.10",
"reselect": "4.1.6", "reselect": "4.1.7",
"tslib": "2.4.0", "tslib": "2.4.1",
"use-asset": "1.0.4", "use-asset": "1.0.4",
"workbox-core": "6.5.4", "workbox-core": "6.5.4",
"workbox-expiration": "6.5.4", "workbox-expiration": "6.5.4",
@ -73,36 +73,36 @@
"workbox-strategies": "6.5.4" "workbox-strategies": "6.5.4"
}, },
"devDependencies": { "devDependencies": {
"@fontsource/inter": "4.5.12", "@fontsource/inter": "4.5.14",
"@types/invariant": "2.2.35", "@types/invariant": "2.2.35",
"@types/lodash-es": "4.17.6", "@types/lodash-es": "4.17.6",
"@types/react": "18.0.18", "@types/react": "18.0.25",
"@types/react-dom": "18.0.6", "@types/react-dom": "18.0.8",
"@types/react-modal": "3.13.1", "@types/react-modal": "3.13.1",
"@types/react-window": "1.8.5", "@types/react-window": "1.8.5",
"@typescript-eslint/eslint-plugin": "5.36.2", "@typescript-eslint/eslint-plugin": "5.42.0",
"@typescript-eslint/parser": "5.36.2", "@typescript-eslint/parser": "5.42.0",
"@vitejs/plugin-react": "2.1.0", "@vitejs/plugin-react": "2.2.0",
"autoprefixer": "10.4.8", "autoprefixer": "10.4.13",
"eslint": "8.23.0", "eslint": "8.27.0",
"eslint-config-airbnb-base": "15.0.0", "eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "8.5.0", "eslint-config-prettier": "8.5.0",
"eslint-config-react-app": "7.0.1", "eslint-config-react-app": "7.0.1",
"eslint-plugin-flowtype": "8.0.3", "eslint-plugin-flowtype": "8.0.3",
"eslint-plugin-import": "2.26.0", "eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.1", "eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react": "7.31.8", "eslint-plugin-react": "7.31.10",
"eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0", "eslint-plugin-simple-import-sort": "^8.0.0",
"postcss": "8.4.16", "postcss": "8.4.18",
"postcss-custom-media": "^8.0.2", "postcss-custom-media": "^8.0.2",
"postcss-import": "15.0.0", "postcss-import": "15.0.0",
"postcss-simple-vars": "^7.0.0", "postcss-simple-vars": "^7.0.0",
"prettier": "2.7.1", "prettier": "2.7.1",
"resize-observer-polyfill": "^1.5.1", "resize-observer-polyfill": "^1.5.1",
"sass": "1.54.9", "sass": "1.56.0",
"typescript": "4.8.3", "typescript": "4.8.4",
"vite": "3.1.0", "vite": "3.2.3",
"vite-plugin-pwa": "0.12.7" "vite-plugin-pwa": "0.13.2"
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
import Tooltip from '@reach/tooltip'; import { Tooltip } from '@reach/tooltip';
import cx from 'clsx'; import cx from 'clsx';
import * as React from 'react'; import * as React from 'react';
import { Info } from 'react-feather'; import { Info } from 'react-feather';

View file

@ -1,4 +1,4 @@
import Tooltip from '@reach/tooltip'; import { Tooltip } from '@reach/tooltip';
import * as React from 'react'; import * as React from 'react';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import Button from 'src/components/Button'; import Button from 'src/components/Button';

View file

@ -1,4 +1,4 @@
import Tooltip from '@reach/tooltip'; import { Tooltip } from '@reach/tooltip';
import * as React from 'react'; import * as React from 'react';
import { useState2 } from '$src/hooks/basic'; import { useState2 } from '$src/hooks/basic';

View file

@ -1,4 +1,4 @@
import Tooltip from '@reach/tooltip'; import { Tooltip } from '@reach/tooltip';
import { formatDistance } from 'date-fns'; import { formatDistance } from 'date-fns';
import * as React from 'react'; import * as React from 'react';
import { RotateCw } from 'react-feather'; import { RotateCw } from 'react-feather';

View file

@ -1,5 +1,5 @@
import { Menu, MenuButton, MenuItem, MenuList } from '@reach/menu-button'; import { Menu, MenuButton, MenuItem, MenuList } from '@reach/menu-button';
import Tooltip from '@reach/tooltip'; import { Tooltip } from '@reach/tooltip';
import cx from 'clsx'; import cx from 'clsx';
import * as React from 'react'; import * as React from 'react';
import { Check } from 'react-feather'; import { Check } from 'react-feather';