Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53a66a3

Browse files
committed
Merge main
2 parents f72ccb9 + 2afad8b commit 53a66a3

File tree

4 files changed

+96
-92
lines changed

4 files changed

+96
-92
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ updates:
3434
prefix: "chore"
3535

3636
- package-ecosystem: "npm"
37-
directory: "/"
37+
directory: "/site/"
3838
schedule:
3939
interval: "daily"
4040
time: "06:00"

site/jest.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@ module.exports = {
3131
"<rootDir>/**/*.ts",
3232
"<rootDir>/**/*.tsx",
3333
"!<rootDir>/**/*.stories.tsx",
34+
"!<rootDir>/_jest/**/*.*",
3435
"!<rootDir>/.next/**/*.*",
3536
"!<rootDir>/api.ts",
37+
"!<rootDir>/coverage/**/*.*",
3638
"!<rootDir>/dev.ts",
39+
"!<rootDir>/jest-runner.eslint.config.js",
40+
"!<rootDir>/jest.config.js",
3741
"!<rootDir>/next-env.d.ts",
3842
"!<rootDir>/next.config.js",
3943
"!<rootDir>/out/**/*.*",

site/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@testing-library/react": "12.1.2",
3030
"@types/express": "4.17.13",
3131
"@types/jest": "27.4.0",
32-
"@types/node": "14.18.9",
32+
"@types/node": "14.18.10",
3333
"@types/react": "17.0.38",
3434
"@types/react-dom": "17.0.11",
3535
"@types/superagent": "4.1.15",
@@ -39,7 +39,7 @@
3939
"eslint-config-prettier": "8.3.0",
4040
"eslint-import-resolver-alias": "1.1.2",
4141
"eslint-import-resolver-typescript": "2.5.0",
42-
"eslint-plugin-compat": "4.0.1",
42+
"eslint-plugin-compat": "4.0.2",
4343
"eslint-plugin-import": "2.25.4",
4444
"eslint-plugin-jest": "26.0.0",
4545
"eslint-plugin-jsx-a11y": "6.5.1",
@@ -51,7 +51,7 @@
5151
"http-proxy-middleware": "2.0.2",
5252
"jest": "27.4.7",
5353
"jest-runner-eslint": "1.0.0",
54-
"next": "12.0.9",
54+
"next": "12.0.10",
5555
"next-router-mock": "^0.6.5",
5656
"prettier": "2.5.1",
5757
"react": "17.0.2",

site/yarn.lock

Lines changed: 88 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,6 +1604,11 @@
16041604
resolved "https://registry.yarnpkg.com/@mdn/browser-compat-data/-/browser-compat-data-3.3.14.tgz#b72a37c654e598f9ae6f8335faaee182bebc6b28"
16051605
integrity sha512-n2RC9d6XatVbWFdHLimzzUJxJ1KY8LdjqrW6YvGPiRmsHkhOUx74/Ct10x5Yo7bC/Jvqx7cDEW8IMPv/+vwEzA==
16061606

1607+
"@mdn/browser-compat-data@^4.1.5":
1608+
version "4.1.6"
1609+
resolved "https://registry.yarnpkg.com/@mdn/browser-compat-data/-/browser-compat-data-4.1.6.tgz#991b4393404babaac27cbc406dd28763aa14cec4"
1610+
integrity sha512-JbtcHGODAlkOT6eDV2rCyOguW3+o34ExMD9DOki6kxzeyN3IBtZ9PI0FlbKeD77Bm5U0UG5Heo4qnNbSajXUnw==
1611+
16071612
"@mdx-js/loader@^1.6.22":
16081613
version "1.6.22"
16091614
resolved "https://registry.yarnpkg.com/@mdx-js/loader/-/loader-1.6.22.tgz#d9e8fe7f8185ff13c9c8639c048b123e30d322c4"
@@ -1656,65 +1661,65 @@
16561661
call-me-maybe "^1.0.1"
16571662
glob-to-regexp "^0.3.0"
16581663

1659-
1660-
version "12.0.9"
1661-
resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.9.tgz#4c9e9eef00226145d9629a846b8cc31878e1328c"
1662-
integrity sha512-oBlkyDop0Stf7MPIzETGv5r0YT/G/weBrknoPOUTaa5qwOeGjuy6gsOVc/SBtrBkOoBmRpD+fFhQJPvmo1mS+g==
1663-
1664-
1665-
version "12.0.9"
1666-
resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-12.0.9.tgz#2cdbcc1814471044ea0e057b475090d25654833c"
1667-
integrity sha512-aVqgsEn5plmUH2X58sjzhHsH/6majucWTMaaBEs7hHO2+GCwCZc7zaLH4XCBMKPES9Yaja8/pYUbvZQE9DqgFw==
1668-
1669-
1670-
version "12.0.9"
1671-
resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.0.9.tgz#ea200929d7116de12c6f3b13ff75f9522c2153e3"
1672-
integrity sha512-uAgRKm4a2nVdyBiPPJokvmDD1saugOvxljz9ld2ih0CCg5S9vBhqaj3kPGCQBj9hSu3q+Lng2CHnQqG3ga1jzA==
1673-
1674-
1675-
version "12.0.9"
1676-
resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-12.0.9.tgz#32800a7a9aff4bfd2038b0bce3657ece8708a87b"
1677-
integrity sha512-fDOs2lZIyrAdU18IxMA5orBPn9qLbOdu55gXSTNZOhyRJ8ugtbUAejsK7OL0boJy0CCHPAdVRXm01Mwk8tZ9RQ==
1678-
1679-
1680-
version "12.0.9"
1681-
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.0.9.tgz#da012dfb69ad2abc3d4045395581b650048bdd7c"
1682-
integrity sha512-/ni0p9DBvATUML9RQ1ycQuf05uOYKdzA6iI8+eRsARjpGbFVUFbge7XPzlj9g2Q9YWgoN8CSjFGnKRlyky5uHA==
1683-
1684-
1685-
version "12.0.9"
1686-
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.0.9.tgz#fe704c0a1cb048ef19d4a24b2c990574c96c933b"
1687-
integrity sha512-AphxilJDf95rUxJDHgM9Ww1DaYXZWqTvoKwXeej/0SgSvICcRZrLaFDrkojdXz0Rxr4igX2OdYR1S4/Hj1jWOQ==
1688-
1689-
1690-
version "12.0.9"
1691-
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.0.9.tgz#b2bb68940903cd64f7875979ed9907e946dc4f3e"
1692-
integrity sha512-K5jbvNNzF3mRjWmPdxP5Bg87i7FHivfBj/L0KJlxpkLSC8sffBJDmB6jtMnI7wiPj9J6vmLkbGtSosln78xAlQ==
1693-
1694-
1695-
version "12.0.9"
1696-
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.0.9.tgz#b700ba095551d4f6e830b92d4593a3b6e73bba82"
1697-
integrity sha512-bJZ9bkMkQzsY+UyWezEZ77GWQ4TzwKeXdayX3U3+aEkL8k5C6eKBXlidWdrhu0teLmaUXIyWerWrLnJzwGXdfw==
1698-
1699-
1700-
version "12.0.9"
1701-
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.0.9.tgz#678460266f544b52f1190ef0c3494e436608591e"
1702-
integrity sha512-SR9p0R+v1T32DTXPVAXZw31pmJAkSDotC6Afy+mfC0xrEL3pp95R8sGXYAAUCEPkQp0MEeUOVy2LrToe92X7hQ==
1703-
1704-
1705-
version "12.0.9"
1706-
resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.0.9.tgz#f70e5bd0821ca168aeef117e51ab870265ceeeb1"
1707-
integrity sha512-mzQ1A8vfHhJrvEy5KJZGZWEByXthyKfWofvFaf+oo/5nJl/0Bz1ODP2ajSmbLG++77Eo2AROgbm9pkW1ucvG2A==
1708-
1709-
1710-
version "12.0.9"
1711-
resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.0.9.tgz#0b853793754642cde9f9099087d4a86b6a99a24d"
1712-
integrity sha512-MpD2vj1zjo1u3J3wiz3pEKse19Etz+P0GL6XfQkB/9a84vJQ1JWMaWBjmIdivzZv718Il2pRSSx8hymwPfguYQ==
1713-
1714-
1715-
version "12.0.9"
1716-
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.0.9.tgz#f7d3b59000082cf65c84fdc61930b708aa5446e5"
1717-
integrity sha512-1c/sxp/4Qz4F6rCxiYqAnrmghCOFt5hHZ9Kd+rXFW5Mqev4C4XDOUMHdBH55HgnJZqngYhOE0r/XNkCtsIojig==
1664+
"@next/[email protected].10":
1665+
version "12.0.10"
1666+
resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.10.tgz#561640fd62279218ccd2798ae907bae8d94a7730"
1667+
integrity sha512-mQVj0K6wQ5WEk/sL9SZ+mJXJUaG7el8CpZ6io1uFe9GgNTSC7EgUyNGqM6IQovIFc5ukF4O/hqsdh3S/DCgT2g==
1668+
1669+
"@next/[email protected].10":
1670+
version "12.0.10"
1671+
resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-12.0.10.tgz#fd9d716433cc9d361021b0052f8b002bcaff948d"
1672+
integrity sha512-xYwXGkNhzZZsM5MD7KRwF5ZNiC8OLPtVMUiagpPnwENg8Hb0GSQo/NbYWXM8YrawEwp9LaZ7OXiuRKPh2JyBdA==
1673+
1674+
"@next/[email protected].10":
1675+
version "12.0.10"
1676+
resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.0.10.tgz#34b2d0dc62eb89efb9176af111e3820a11fdb3f0"
1677+
integrity sha512-f2zngulkpIJKWHckhRi7X8GZ+J/tNgFF7lYIh7Qx15JH0OTBsjkqxORlkzy+VZyHJ5sWTCaI6HYYd3ow6qkEEg==
1678+
1679+
"@next/[email protected].10":
1680+
version "12.0.10"
1681+
resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-12.0.10.tgz#a4306795159293c7d4d58a2c88ce1710ff0a8baa"
1682+
integrity sha512-Qykcu/gVC5oTvOQoRBhyuS5GYm5SbcgrFTsaLFkGBmEkg9eMQRiaCswk4IafpDXVzITkVFurzSM28q3tLW2qUw==
1683+
1684+
"@next/[email protected].10":
1685+
version "12.0.10"
1686+
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.0.10.tgz#1ad15af3d5fca2fef57894d61e16f73aee61ec2e"
1687+
integrity sha512-EhqrTFsIXAXN9B/fiiW/QKUK/lSLCXRsLalkUp58KDfMqVLLlj1ORbESAcswiNQOChLuHQSldGEEtOBPQZcd9A==
1688+
1689+
"@next/[email protected].10":
1690+
version "12.0.10"
1691+
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.0.10.tgz#a84a92d0e1a179c4346c9ed8f22e26f708101ad6"
1692+
integrity sha512-kqGtC72g3+JYXZbY2ca6digXR5U6AQ6Dzv4eAxYluMePLHjI/Xye1mf9dwVsgmeXfrD/IRDp5K/3A6UNvBm4oQ==
1693+
1694+
"@next/[email protected].10":
1695+
version "12.0.10"
1696+
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.0.10.tgz#973ec96c77f845bd0a6eecbf1892caa1ee4defaf"
1697+
integrity sha512-bG9zTSNwnSgc1Un/7oz1ZVN4UeXsTWrsQhAGWU78lLLCn4Zj9HQoUCRCGLt0OVs2DBZ+WC8CzzFliQ1SKipVbg==
1698+
1699+
"@next/[email protected].10":
1700+
version "12.0.10"
1701+
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.0.10.tgz#efcc7f8252ea8225834760eaf09350f1bead73f7"
1702+
integrity sha512-c79PcfWtyThiYRa1+3KVfDq0zXaI8o1d6dQWNVqDrtLz5HKM/rbjLdvoNuxDwUeZhxI/d9CtyH6GbuKPw5l/5A==
1703+
1704+
"@next/[email protected].10":
1705+
version "12.0.10"
1706+
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.0.10.tgz#c2a73d939dfd310acc1892a0a132762500dd5757"
1707+
integrity sha512-g/scgn+21/MLfizOCZOZt+MxNj2/8Tdlwjvy+QZcSUPZRUI2Y5o3HwBvI1f/bSci+NGRU+bUAO0NFtRJ9MzH5w==
1708+
1709+
"@next/[email protected].10":
1710+
version "12.0.10"
1711+
resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.0.10.tgz#2316af5f612cde1691abdf2571ff40ec32ea3429"
1712+
integrity sha512-gl6B/ravwMeY5Nv4Il2/ARYJQ6u+KPRwGMjS1ZrNudIKlNn4YBeXh5A4cIVm+dHaff6/O/lGOa5/SUYDMZpkww==
1713+
1714+
"@next/[email protected].10":
1715+
version "12.0.10"
1716+
resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.0.10.tgz#98a4f74d164871cfaccb0df6efddf2b7bcbaa54b"
1717+
integrity sha512-7RVpZ3tSThC6j+iZB0CUYmFiA3kXmN+pE7QcfyAxFaflKlaZoWNMKHIEZDuxSJc6YmQ6kyxsjqxVay2F5+/YCg==
1718+
1719+
"@next/[email protected].10":
1720+
version "12.0.10"
1721+
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.0.10.tgz#5c0ba98b695c4be44d8793aff42971a0dac65c2d"
1722+
integrity sha512-oUIWRKd24jFLRWUYO1CZmML5+32BcpVfqhimGaaZIXcOkfQW+iqiAzdqsv688zaGtyKGeB9ZtiK3NDf+Q0v+Vw==
17181723

17191724
"@nodelib/[email protected]":
17201725
version "2.1.5"
@@ -3109,12 +3114,7 @@
31093114
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.14.tgz#33b9b94f789a8fedd30a68efdbca4dbb06b61f20"
31103115
integrity sha512-SbjLmERksKOGzWzPNuW7fJM7fk3YXVTFiZWB/Hs99gwhk+/dnrQRPBQjPW9aO+fi1tAffi9PrwFvsmOKmDTyng==
31113116

3112-
3113-
version "14.18.9"
3114-
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.9.tgz#0e5944eefe2b287391279a19b407aa98bd14436d"
3115-
integrity sha512-j11XSuRuAlft6vLDEX4RvhqC0KxNxx6QIyMXNb0vHHSNPXTPeiy3algESWmOOIzEtiEL0qiowPU3ewW9hHVa7Q==
3116-
3117-
"@types/node@^14.0.10":
3117+
"@types/[email protected]", "@types/node@^14.0.10":
31183118
version "14.18.10"
31193119
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.10.tgz#774f43868964f3cfe4ced1f5417fe15818a4eaea"
31203120
integrity sha512-6iihJ/Pp5fsFJ/aEDGyvT4pHGmCpq7ToQ/yf4bl5SbVAvwpspYJ+v3jO7n8UyjhQVHTy+KNszOozDdv+O6sovQ==
@@ -4616,7 +4616,7 @@ camelcase@^6.2.0:
46164616
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
46174617
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
46184618

4619-
caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001125, caniuse-lite@^1.0.30001267, caniuse-lite@^1.0.30001283, caniuse-lite@^1.0.30001286:
4619+
caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001125, caniuse-lite@^1.0.30001283, caniuse-lite@^1.0.30001286, caniuse-lite@^1.0.30001304:
46204620
version "1.0.30001304"
46214621
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001304.tgz#38af55ed3fc8220cb13e35e6e7309c8c65a05559"
46224622
integrity sha512-bdsfZd6K6ap87AGqSHJP/s1V+U6Z5lyrcbBu3ovbCCf8cSYpwTtGrCBObMpJqwxfTbLW6YTIdbb1jEeTelcpYQ==
@@ -5950,15 +5950,15 @@ eslint-module-utils@^2.7.2:
59505950
debug "^3.2.7"
59515951
find-up "^2.1.0"
59525952

5953-
5954-
version "4.0.1"
5955-
resolved "https://registry.yarnpkg.com/eslint-plugin-compat/-/eslint-plugin-compat-4.0.1.tgz#54e1b5095a7c3ef45701556fce1923d615c76445"
5956-
integrity sha512-vs4oa+WQcCRH7lD/0H8eh90tnSQurV3Cebt32x28JlP0Kn9UkQT+N8Pm939KavTO3/DiFPQyTPCNdYXcIWP/GA==
5953+
5954+
version "4.0.2"
5955+
resolved "https://registry.yarnpkg.com/eslint-plugin-compat/-/eslint-plugin-compat-4.0.2.tgz#b058627a7d25d352adf0ec16dca8fcf92d9c7af7"
5956+
integrity sha512-xqvoO54CLTVaEYGMzhu35Wzwk/As7rCvz/2dqwnFiWi0OJccEtGIn+5qq3zqIu9nboXlpdBN579fZcItC73Ycg==
59575957
dependencies:
5958-
"@mdn/browser-compat-data" "^3.3.14"
5958+
"@mdn/browser-compat-data" "^4.1.5"
59595959
ast-metadata-inferer "^0.7.0"
59605960
browserslist "^4.16.8"
5961-
caniuse-lite "^1.0.30001267"
5961+
caniuse-lite "^1.0.30001304"
59625962
core-js "^3.16.2"
59635963
find-up "^5.0.0"
59645964
lodash.memoize "4.1.2"
@@ -9365,28 +9365,28 @@ next-router-mock@^0.6.5:
93659365
resolved "https://registry.yarnpkg.com/next-router-mock/-/next-router-mock-0.6.5.tgz#46258e1921587a892e29a3052cb0daa2cc503185"
93669366
integrity sha512-gh6phWv4YUhFON0rWGmc02ni91m68ICG1HTj2N9bi2Y0MIlp5Z12QITXF4lNtV33wuMeUzrs/Ik6XyNOZ8rmNQ==
93679367

9368-
9369-
version "12.0.9"
9370-
resolved "https://registry.yarnpkg.com/next/-/next-12.0.9.tgz#4eb3006b63bb866f5c2918ca0003e98f4259e063"
9371-
integrity sha512-omfYqoR/DvbdOIJ6SS1unKJ4mGIxUPs0RPa7wr/Mft22OCKgJhuG+aI9KFYi5ZJBwoFQk1vqaMKpWz5qr+dN0Q==
9368+
9369+
version "12.0.10"
9370+
resolved "https://registry.yarnpkg.com/next/-/next-12.0.10.tgz#fcc4584177418bd777ce157f3165b7ba5e7708f7"
9371+
integrity sha512-1y3PpGzpb/EZzz1jgne+JfZXKAVJUjYXwxzrADf/LWN+8yi9o79vMLXpW3mevvCHkEF2sBnIdjzNn16TJrINUw==
93729372
dependencies:
9373-
"@next/env" "12.0.9"
9373+
"@next/env" "12.0.10"
93749374
caniuse-lite "^1.0.30001283"
93759375
postcss "8.4.5"
93769376
styled-jsx "5.0.0"
93779377
use-subscription "1.5.1"
93789378
optionalDependencies:
9379-
"@next/swc-android-arm64" "12.0.9"
9380-
"@next/swc-darwin-arm64" "12.0.9"
9381-
"@next/swc-darwin-x64" "12.0.9"
9382-
"@next/swc-linux-arm-gnueabihf" "12.0.9"
9383-
"@next/swc-linux-arm64-gnu" "12.0.9"
9384-
"@next/swc-linux-arm64-musl" "12.0.9"
9385-
"@next/swc-linux-x64-gnu" "12.0.9"
9386-
"@next/swc-linux-x64-musl" "12.0.9"
9387-
"@next/swc-win32-arm64-msvc" "12.0.9"
9388-
"@next/swc-win32-ia32-msvc" "12.0.9"
9389-
"@next/swc-win32-x64-msvc" "12.0.9"
9379+
"@next/swc-android-arm64" "12.0.10"
9380+
"@next/swc-darwin-arm64" "12.0.10"
9381+
"@next/swc-darwin-x64" "12.0.10"
9382+
"@next/swc-linux-arm-gnueabihf" "12.0.10"
9383+
"@next/swc-linux-arm64-gnu" "12.0.10"
9384+
"@next/swc-linux-arm64-musl" "12.0.10"
9385+
"@next/swc-linux-x64-gnu" "12.0.10"
9386+
"@next/swc-linux-x64-musl" "12.0.10"
9387+
"@next/swc-win32-arm64-msvc" "12.0.10"
9388+
"@next/swc-win32-ia32-msvc" "12.0.10"
9389+
"@next/swc-win32-x64-msvc" "12.0.10"
93909390

93919391
nice-try@^1.0.4:
93929392
version "1.0.5"

0 commit comments

Comments
 (0)