From cec4c9358483529b508aca73bada68f214ab7c7e Mon Sep 17 00:00:00 2001 From: Philip Paetz Date: Tue, 12 Dec 2023 13:11:13 +0100 Subject: [PATCH 1/6] feat: removed v2 banner --- src/components/nav/InfoBanner.tsx | 19 ------------------- src/layout/AppLayout.tsx | 2 -- 2 files changed, 21 deletions(-) delete mode 100644 src/components/nav/InfoBanner.tsx diff --git a/src/components/nav/InfoBanner.tsx b/src/components/nav/InfoBanner.tsx deleted file mode 100644 index c392365..0000000 --- a/src/components/nav/InfoBanner.tsx +++ /dev/null @@ -1,19 +0,0 @@ -export function InfoBanner() { - return ( -
-
-
- This app uses Mento V2 Learn more about{' '} -
- - Mento versions - -
-
- ) -} diff --git a/src/layout/AppLayout.tsx b/src/layout/AppLayout.tsx index f441490..a2dc519 100644 --- a/src/layout/AppLayout.tsx +++ b/src/layout/AppLayout.tsx @@ -3,7 +3,6 @@ import { PropsWithChildren } from 'react' import { BottomGrid } from 'src/components/nav/BottomGrid' import { Footer } from 'src/components/nav/Footer' import { Header } from 'src/components/nav/Header' -import { InfoBanner } from 'src/components/nav/InfoBanner' import { TopBlur } from 'src/components/nav/TopBlur' import { PollingWorker } from 'src/features/polling/PollingWorker' import { HeadMeta } from 'src/layout/HeadMeta' @@ -24,7 +23,6 @@ export function AppLayout({ pathName, children }: PropsWithChildren) {
-
{children}
From 42bd8f9dd7ac13c620d6c7e1f23b556a9c272cec Mon Sep 17 00:00:00 2001 From: Philip Paetz Date: Tue, 12 Dec 2023 13:11:51 +0100 Subject: [PATCH 2/6] docs: updated README instructions to run locally was missing the .env.example => .env step --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 539a739..b85642e 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,16 @@ This project uses Next.JS, React, Redux, Tailwind, Wagmi, and RainbowKit. ## Run Locally -Install deps: `yarn` - -Start server: `yarn dev` +1. Install deps: `yarn` +1. Create a local `.env` from the example: `cp .env.example .env` +1. Start server: `yarn dev` +1. `open http://localhost:3000` ## Deploy -Deployments happen automatically via Vercel's Github app after pushing branch updates. -Production deployments for mento v1 trigger from the `production-v1` branch, and mento v2 from `production-v2`. +- Deployments happen automatically via Vercel's Github app. +- Every push into `main` is automatically deployed to app.mento.org +- Deployment configuration can be changed by Mento Labs Team Members at ## Contribute From 76c87b11b1326dd360c2e724383617c42a60c19a Mon Sep 17 00:00:00 2001 From: Philip Paetz Date: Tue, 12 Dec 2023 13:12:55 +0100 Subject: [PATCH 3/6] chore: updated next.js & postcss to higher minor versions npm audit issued warnings for the versions we were using --- package.json | 4 +- yarn.lock | 187 +++++++++++++++++++++++---------------------------- 2 files changed, 85 insertions(+), 106 deletions(-) diff --git a/package.json b/package.json index 4c6fc35..ec72b5c 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "frappe-charts": "^1.6.2", "jsbi": "^4.3.0", "lottie-react": "^2.4.0", - "next": "13.4.6", + "next": "13.5.6", "react": "^18.2.0", "react-dom": "^18.2.0", "react-redux": "^8.1.0", @@ -68,7 +68,7 @@ "eslint-config-next": "^13.4.6", "eslint-config-prettier": "^8.8.0", "jest": "^29.5.0", - "postcss": "^8.4.24", + "postcss": "^8.4.32", "prettier": "^2.8.8", "tailwindcss": "^3.3.2", "ts-jest": "^29.1.0", diff --git a/yarn.lock b/yarn.lock index 92ee24f..17770eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1756,8 +1756,8 @@ __metadata: jest: ^29.5.0 jsbi: ^4.3.0 lottie-react: ^2.4.0 - next: 13.4.6 - postcss: ^8.4.24 + next: 13.5.6 + postcss: ^8.4.32 prettier: ^2.8.8 react: ^18.2.0 react-dom: ^18.2.0 @@ -1939,10 +1939,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:13.4.6": - version: 13.4.6 - resolution: "@next/env@npm:13.4.6" - checksum: 65d6cfb68adf5067f5e42f339e46908aca5a14fbc78f1e42e0becec1617da108cf68621c98f5a2c2e18da5a7955e355e98d5c4a7894222401bb374b2ca1c08f4 +"@next/env@npm:13.5.6": + version: 13.5.6 + resolution: "@next/env@npm:13.5.6" + checksum: 5e8f3f6f987a15dad3cd7b2bcac64a6382c2ec372d95d0ce6ab295eb59c9731222017eebf71ff3005932de2571f7543bce7e5c6a8c90030207fb819404138dc2 languageName: node linkType: hard @@ -1955,65 +1955,65 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-darwin-arm64@npm:13.4.6" +"@next/swc-darwin-arm64@npm:13.5.6": + version: 13.5.6 + resolution: "@next/swc-darwin-arm64@npm:13.5.6" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-darwin-x64@npm:13.4.6" +"@next/swc-darwin-x64@npm:13.5.6": + version: 13.5.6 + resolution: "@next/swc-darwin-x64@npm:13.5.6" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-linux-arm64-gnu@npm:13.4.6" +"@next/swc-linux-arm64-gnu@npm:13.5.6": + version: 13.5.6 + resolution: "@next/swc-linux-arm64-gnu@npm:13.5.6" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-linux-arm64-musl@npm:13.4.6" +"@next/swc-linux-arm64-musl@npm:13.5.6": + version: 13.5.6 + resolution: "@next/swc-linux-arm64-musl@npm:13.5.6" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-linux-x64-gnu@npm:13.4.6" +"@next/swc-linux-x64-gnu@npm:13.5.6": + version: 13.5.6 + resolution: "@next/swc-linux-x64-gnu@npm:13.5.6" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-linux-x64-musl@npm:13.4.6" +"@next/swc-linux-x64-musl@npm:13.5.6": + version: 13.5.6 + resolution: "@next/swc-linux-x64-musl@npm:13.5.6" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-win32-arm64-msvc@npm:13.4.6" +"@next/swc-win32-arm64-msvc@npm:13.5.6": + version: 13.5.6 + resolution: "@next/swc-win32-arm64-msvc@npm:13.5.6" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-win32-ia32-msvc@npm:13.4.6" +"@next/swc-win32-ia32-msvc@npm:13.5.6": + version: 13.5.6 + resolution: "@next/swc-win32-ia32-msvc@npm:13.5.6" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-win32-x64-msvc@npm:13.4.6" +"@next/swc-win32-x64-msvc@npm:13.5.6": + version: 13.5.6 + resolution: "@next/swc-win32-x64-msvc@npm:13.5.6" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -2448,12 +2448,12 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.1": - version: 0.5.1 - resolution: "@swc/helpers@npm:0.5.1" +"@swc/helpers@npm:0.5.2": + version: 0.5.2 + resolution: "@swc/helpers@npm:0.5.2" dependencies: tslib: ^2.4.0 - checksum: 71e0e27234590435e4c62b97ef5e796f88e786841a38c7116a5e27a3eafa7b9ead7cdec5249b32165902076de78446945311c973e59bddf77c1e24f33a8f272a + checksum: 51d7e3d8bd56818c49d6bfbd715f0dbeedc13cf723af41166e45c03e37f109336bbcb57a1f2020f4015957721aeb21e1a7fff281233d797ff7d3dd1f447fa258 languageName: node linkType: hard @@ -4467,31 +4467,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001400": - version: 1.0.30001431 - resolution: "caniuse-lite@npm:1.0.30001431" - checksum: bc8ab55cd194e240152946b54bfaff7456180cc018674fc7ed134f4f502192405f6643f422feaa0a5e7cc02b5bac564cfac7771ac6d29f5d129482fcfe335ba1 - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001406": - version: 1.0.30001439 - resolution: "caniuse-lite@npm:1.0.30001439" - checksum: 3912dd536c9735713ca85e47721988bbcefb881ddb4886b0b9923fa984247fd22cba032cf268e57d158af0e8a2ae2eae042ae01942a1d6d7849fa9fa5d62fb82 - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001449": - version: 1.0.30001460 - resolution: "caniuse-lite@npm:1.0.30001460" - checksum: dad91eb82aa65aecf33ad6a04ad620b9df6f0152020dc6c1874224e8c6f4aa50695f585201b3dfcd2760b3c43326a86c9505cc03af856698fbef67b267ef786f - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001464": - version: 1.0.30001478 - resolution: "caniuse-lite@npm:1.0.30001478" - checksum: 27a370dcb32a6a35e186307aabc570da1cd0fccc849913665e7df6822a87286de99509b163304e0586c23c539a991717fb68ed84b85bbd21b2cb86475ae5ffb2 +"caniuse-lite@npm:^1.0.30001400, caniuse-lite@npm:^1.0.30001406, caniuse-lite@npm:^1.0.30001449, caniuse-lite@npm:^1.0.30001464": + version: 1.0.30001568 + resolution: "caniuse-lite@npm:1.0.30001568" + checksum: 7092aaa246dc8531fbca5b47be91e92065db7e5c04cc9e3d864e848f8f1be769ac6754429e843a5e939f7331a771e8b0a1bc3b13495c66b748c65e2f5bdb1220 languageName: node linkType: hard @@ -8211,21 +8190,21 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.4": - version: 3.3.4 - resolution: "nanoid@npm:3.3.4" +"nanoid@npm:^3.3.6": + version: 3.3.6 + resolution: "nanoid@npm:3.3.6" bin: nanoid: bin/nanoid.cjs - checksum: 2fddd6dee994b7676f008d3ffa4ab16035a754f4bb586c61df5a22cf8c8c94017aadd360368f47d653829e0569a92b129979152ff97af23a558331e47e37cd9c + checksum: 7d0eda657002738aa5206107bd0580aead6c95c460ef1bdd0b1a87a9c7ae6277ac2e9b945306aaa5b32c6dcb7feaf462d0f552e7f8b5718abfc6ead5c94a71b3 languageName: node linkType: hard -"nanoid@npm:^3.3.6": - version: 3.3.6 - resolution: "nanoid@npm:3.3.6" +"nanoid@npm:^3.3.7": + version: 3.3.7 + resolution: "nanoid@npm:3.3.7" bin: nanoid: bin/nanoid.cjs - checksum: 7d0eda657002738aa5206107bd0580aead6c95c460ef1bdd0b1a87a9c7ae6277ac2e9b945306aaa5b32c6dcb7feaf462d0f552e7f8b5718abfc6ead5c94a71b3 + checksum: d36c427e530713e4ac6567d488b489a36582ef89da1d6d4e3b87eded11eb10d7042a877958c6f104929809b2ab0bafa17652b076cdf84324aa75b30b722204f2 languageName: node linkType: hard @@ -8250,30 +8229,28 @@ __metadata: languageName: node linkType: hard -"next@npm:13.4.6": - version: 13.4.6 - resolution: "next@npm:13.4.6" - dependencies: - "@next/env": 13.4.6 - "@next/swc-darwin-arm64": 13.4.6 - "@next/swc-darwin-x64": 13.4.6 - "@next/swc-linux-arm64-gnu": 13.4.6 - "@next/swc-linux-arm64-musl": 13.4.6 - "@next/swc-linux-x64-gnu": 13.4.6 - "@next/swc-linux-x64-musl": 13.4.6 - "@next/swc-win32-arm64-msvc": 13.4.6 - "@next/swc-win32-ia32-msvc": 13.4.6 - "@next/swc-win32-x64-msvc": 13.4.6 - "@swc/helpers": 0.5.1 +"next@npm:13.5.6": + version: 13.5.6 + resolution: "next@npm:13.5.6" + dependencies: + "@next/env": 13.5.6 + "@next/swc-darwin-arm64": 13.5.6 + "@next/swc-darwin-x64": 13.5.6 + "@next/swc-linux-arm64-gnu": 13.5.6 + "@next/swc-linux-arm64-musl": 13.5.6 + "@next/swc-linux-x64-gnu": 13.5.6 + "@next/swc-linux-x64-musl": 13.5.6 + "@next/swc-win32-arm64-msvc": 13.5.6 + "@next/swc-win32-ia32-msvc": 13.5.6 + "@next/swc-win32-x64-msvc": 13.5.6 + "@swc/helpers": 0.5.2 busboy: 1.6.0 caniuse-lite: ^1.0.30001406 - postcss: 8.4.14 + postcss: 8.4.31 styled-jsx: 5.1.1 watchpack: 2.4.0 - zod: 3.21.4 peerDependencies: "@opentelemetry/api": ^1.1.0 - fibers: ">= 3.1.0" react: ^18.2.0 react-dom: ^18.2.0 sass: ^1.3.0 @@ -8299,13 +8276,11 @@ __metadata: peerDependenciesMeta: "@opentelemetry/api": optional: true - fibers: - optional: true sass: optional: true bin: next: dist/bin/next - checksum: 1d28d4be184b1311c42f01ce12d3636e3439332aebcf211b0b554164966f053a609db529d7194824b68537256625767c5bc9f7655a9d42af72b8c7ce4c0d4104 + checksum: c869b0014ae921ada3bf22301985027ec320aebcd6aa9c16e8afbded68bb8def5874cca034c680e8c351a79578f1e514971d02777f6f0a5a1d7290f25970ac0d languageName: node linkType: hard @@ -8902,18 +8877,18 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.14": - version: 8.4.14 - resolution: "postcss@npm:8.4.14" +"postcss@npm:8.4.31": + version: 8.4.31 + resolution: "postcss@npm:8.4.31" dependencies: - nanoid: ^3.3.4 + nanoid: ^3.3.6 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816 + checksum: 1d8611341b073143ad90486fcdfeab49edd243377b1f51834dc4f6d028e82ce5190e4f11bb2633276864503654fb7cab28e67abdc0fbf9d1f88cad4a0ff0beea languageName: node linkType: hard -"postcss@npm:^8.4.23, postcss@npm:^8.4.24": +"postcss@npm:^8.4.23": version: 8.4.24 resolution: "postcss@npm:8.4.24" dependencies: @@ -8924,6 +8899,17 @@ __metadata: languageName: node linkType: hard +"postcss@npm:^8.4.32": + version: 8.4.32 + resolution: "postcss@npm:8.4.32" + dependencies: + nanoid: ^3.3.7 + picocolors: ^1.0.0 + source-map-js: ^1.0.2 + checksum: 220d9d0bf5d65be7ed31006c523bfb11619461d296245c1231831f90150aeb4a31eab9983ac9c5c89759a3ca8b60b3e0d098574964e1691673c3ce5c494305ae + languageName: node + linkType: hard + "preact@npm:^10.12.0": version: 10.13.2 resolution: "preact@npm:10.13.2" @@ -11082,13 +11068,6 @@ __metadata: languageName: node linkType: hard -"zod@npm:3.21.4": - version: 3.21.4 - resolution: "zod@npm:3.21.4" - checksum: f185ba87342ff16f7a06686767c2b2a7af41110c7edf7c1974095d8db7a73792696bcb4a00853de0d2edeb34a5b2ea6a55871bc864227dace682a0a28de33e1f - languageName: node - linkType: hard - "zustand@npm:^4.3.1": version: 4.3.5 resolution: "zustand@npm:4.3.5" From c44ef132a03022c345742534b5e0e3b67c224b6f Mon Sep 17 00:00:00 2001 From: Philip Paetz Date: Tue, 12 Dec 2023 13:31:12 +0100 Subject: [PATCH 4/6] Revert "chore: updated next.js & postcss to higher minor versions" This reverts commit 76c87b11b1326dd360c2e724383617c42a60c19a. --- package.json | 4 +- yarn.lock | 187 ++++++++++++++++++++++++++++----------------------- 2 files changed, 106 insertions(+), 85 deletions(-) diff --git a/package.json b/package.json index ec72b5c..4c6fc35 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "frappe-charts": "^1.6.2", "jsbi": "^4.3.0", "lottie-react": "^2.4.0", - "next": "13.5.6", + "next": "13.4.6", "react": "^18.2.0", "react-dom": "^18.2.0", "react-redux": "^8.1.0", @@ -68,7 +68,7 @@ "eslint-config-next": "^13.4.6", "eslint-config-prettier": "^8.8.0", "jest": "^29.5.0", - "postcss": "^8.4.32", + "postcss": "^8.4.24", "prettier": "^2.8.8", "tailwindcss": "^3.3.2", "ts-jest": "^29.1.0", diff --git a/yarn.lock b/yarn.lock index 17770eb..92ee24f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1756,8 +1756,8 @@ __metadata: jest: ^29.5.0 jsbi: ^4.3.0 lottie-react: ^2.4.0 - next: 13.5.6 - postcss: ^8.4.32 + next: 13.4.6 + postcss: ^8.4.24 prettier: ^2.8.8 react: ^18.2.0 react-dom: ^18.2.0 @@ -1939,10 +1939,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:13.5.6": - version: 13.5.6 - resolution: "@next/env@npm:13.5.6" - checksum: 5e8f3f6f987a15dad3cd7b2bcac64a6382c2ec372d95d0ce6ab295eb59c9731222017eebf71ff3005932de2571f7543bce7e5c6a8c90030207fb819404138dc2 +"@next/env@npm:13.4.6": + version: 13.4.6 + resolution: "@next/env@npm:13.4.6" + checksum: 65d6cfb68adf5067f5e42f339e46908aca5a14fbc78f1e42e0becec1617da108cf68621c98f5a2c2e18da5a7955e355e98d5c4a7894222401bb374b2ca1c08f4 languageName: node linkType: hard @@ -1955,65 +1955,65 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-darwin-arm64@npm:13.5.6" +"@next/swc-darwin-arm64@npm:13.4.6": + version: 13.4.6 + resolution: "@next/swc-darwin-arm64@npm:13.4.6" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-darwin-x64@npm:13.5.6" +"@next/swc-darwin-x64@npm:13.4.6": + version: 13.4.6 + resolution: "@next/swc-darwin-x64@npm:13.4.6" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-arm64-gnu@npm:13.5.6" +"@next/swc-linux-arm64-gnu@npm:13.4.6": + version: 13.4.6 + resolution: "@next/swc-linux-arm64-gnu@npm:13.4.6" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-arm64-musl@npm:13.5.6" +"@next/swc-linux-arm64-musl@npm:13.4.6": + version: 13.4.6 + resolution: "@next/swc-linux-arm64-musl@npm:13.4.6" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-x64-gnu@npm:13.5.6" +"@next/swc-linux-x64-gnu@npm:13.4.6": + version: 13.4.6 + resolution: "@next/swc-linux-x64-gnu@npm:13.4.6" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-x64-musl@npm:13.5.6" +"@next/swc-linux-x64-musl@npm:13.4.6": + version: 13.4.6 + resolution: "@next/swc-linux-x64-musl@npm:13.4.6" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-win32-arm64-msvc@npm:13.5.6" +"@next/swc-win32-arm64-msvc@npm:13.4.6": + version: 13.4.6 + resolution: "@next/swc-win32-arm64-msvc@npm:13.4.6" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-win32-ia32-msvc@npm:13.5.6" +"@next/swc-win32-ia32-msvc@npm:13.4.6": + version: 13.4.6 + resolution: "@next/swc-win32-ia32-msvc@npm:13.4.6" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-win32-x64-msvc@npm:13.5.6" +"@next/swc-win32-x64-msvc@npm:13.4.6": + version: 13.4.6 + resolution: "@next/swc-win32-x64-msvc@npm:13.4.6" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -2448,12 +2448,12 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.2": - version: 0.5.2 - resolution: "@swc/helpers@npm:0.5.2" +"@swc/helpers@npm:0.5.1": + version: 0.5.1 + resolution: "@swc/helpers@npm:0.5.1" dependencies: tslib: ^2.4.0 - checksum: 51d7e3d8bd56818c49d6bfbd715f0dbeedc13cf723af41166e45c03e37f109336bbcb57a1f2020f4015957721aeb21e1a7fff281233d797ff7d3dd1f447fa258 + checksum: 71e0e27234590435e4c62b97ef5e796f88e786841a38c7116a5e27a3eafa7b9ead7cdec5249b32165902076de78446945311c973e59bddf77c1e24f33a8f272a languageName: node linkType: hard @@ -4467,10 +4467,31 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001400, caniuse-lite@npm:^1.0.30001406, caniuse-lite@npm:^1.0.30001449, caniuse-lite@npm:^1.0.30001464": - version: 1.0.30001568 - resolution: "caniuse-lite@npm:1.0.30001568" - checksum: 7092aaa246dc8531fbca5b47be91e92065db7e5c04cc9e3d864e848f8f1be769ac6754429e843a5e939f7331a771e8b0a1bc3b13495c66b748c65e2f5bdb1220 +"caniuse-lite@npm:^1.0.30001400": + version: 1.0.30001431 + resolution: "caniuse-lite@npm:1.0.30001431" + checksum: bc8ab55cd194e240152946b54bfaff7456180cc018674fc7ed134f4f502192405f6643f422feaa0a5e7cc02b5bac564cfac7771ac6d29f5d129482fcfe335ba1 + languageName: node + linkType: hard + +"caniuse-lite@npm:^1.0.30001406": + version: 1.0.30001439 + resolution: "caniuse-lite@npm:1.0.30001439" + checksum: 3912dd536c9735713ca85e47721988bbcefb881ddb4886b0b9923fa984247fd22cba032cf268e57d158af0e8a2ae2eae042ae01942a1d6d7849fa9fa5d62fb82 + languageName: node + linkType: hard + +"caniuse-lite@npm:^1.0.30001449": + version: 1.0.30001460 + resolution: "caniuse-lite@npm:1.0.30001460" + checksum: dad91eb82aa65aecf33ad6a04ad620b9df6f0152020dc6c1874224e8c6f4aa50695f585201b3dfcd2760b3c43326a86c9505cc03af856698fbef67b267ef786f + languageName: node + linkType: hard + +"caniuse-lite@npm:^1.0.30001464": + version: 1.0.30001478 + resolution: "caniuse-lite@npm:1.0.30001478" + checksum: 27a370dcb32a6a35e186307aabc570da1cd0fccc849913665e7df6822a87286de99509b163304e0586c23c539a991717fb68ed84b85bbd21b2cb86475ae5ffb2 languageName: node linkType: hard @@ -8190,21 +8211,21 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.6": - version: 3.3.6 - resolution: "nanoid@npm:3.3.6" +"nanoid@npm:^3.3.4": + version: 3.3.4 + resolution: "nanoid@npm:3.3.4" bin: nanoid: bin/nanoid.cjs - checksum: 7d0eda657002738aa5206107bd0580aead6c95c460ef1bdd0b1a87a9c7ae6277ac2e9b945306aaa5b32c6dcb7feaf462d0f552e7f8b5718abfc6ead5c94a71b3 + checksum: 2fddd6dee994b7676f008d3ffa4ab16035a754f4bb586c61df5a22cf8c8c94017aadd360368f47d653829e0569a92b129979152ff97af23a558331e47e37cd9c languageName: node linkType: hard -"nanoid@npm:^3.3.7": - version: 3.3.7 - resolution: "nanoid@npm:3.3.7" +"nanoid@npm:^3.3.6": + version: 3.3.6 + resolution: "nanoid@npm:3.3.6" bin: nanoid: bin/nanoid.cjs - checksum: d36c427e530713e4ac6567d488b489a36582ef89da1d6d4e3b87eded11eb10d7042a877958c6f104929809b2ab0bafa17652b076cdf84324aa75b30b722204f2 + checksum: 7d0eda657002738aa5206107bd0580aead6c95c460ef1bdd0b1a87a9c7ae6277ac2e9b945306aaa5b32c6dcb7feaf462d0f552e7f8b5718abfc6ead5c94a71b3 languageName: node linkType: hard @@ -8229,28 +8250,30 @@ __metadata: languageName: node linkType: hard -"next@npm:13.5.6": - version: 13.5.6 - resolution: "next@npm:13.5.6" - dependencies: - "@next/env": 13.5.6 - "@next/swc-darwin-arm64": 13.5.6 - "@next/swc-darwin-x64": 13.5.6 - "@next/swc-linux-arm64-gnu": 13.5.6 - "@next/swc-linux-arm64-musl": 13.5.6 - "@next/swc-linux-x64-gnu": 13.5.6 - "@next/swc-linux-x64-musl": 13.5.6 - "@next/swc-win32-arm64-msvc": 13.5.6 - "@next/swc-win32-ia32-msvc": 13.5.6 - "@next/swc-win32-x64-msvc": 13.5.6 - "@swc/helpers": 0.5.2 +"next@npm:13.4.6": + version: 13.4.6 + resolution: "next@npm:13.4.6" + dependencies: + "@next/env": 13.4.6 + "@next/swc-darwin-arm64": 13.4.6 + "@next/swc-darwin-x64": 13.4.6 + "@next/swc-linux-arm64-gnu": 13.4.6 + "@next/swc-linux-arm64-musl": 13.4.6 + "@next/swc-linux-x64-gnu": 13.4.6 + "@next/swc-linux-x64-musl": 13.4.6 + "@next/swc-win32-arm64-msvc": 13.4.6 + "@next/swc-win32-ia32-msvc": 13.4.6 + "@next/swc-win32-x64-msvc": 13.4.6 + "@swc/helpers": 0.5.1 busboy: 1.6.0 caniuse-lite: ^1.0.30001406 - postcss: 8.4.31 + postcss: 8.4.14 styled-jsx: 5.1.1 watchpack: 2.4.0 + zod: 3.21.4 peerDependencies: "@opentelemetry/api": ^1.1.0 + fibers: ">= 3.1.0" react: ^18.2.0 react-dom: ^18.2.0 sass: ^1.3.0 @@ -8276,11 +8299,13 @@ __metadata: peerDependenciesMeta: "@opentelemetry/api": optional: true + fibers: + optional: true sass: optional: true bin: next: dist/bin/next - checksum: c869b0014ae921ada3bf22301985027ec320aebcd6aa9c16e8afbded68bb8def5874cca034c680e8c351a79578f1e514971d02777f6f0a5a1d7290f25970ac0d + checksum: 1d28d4be184b1311c42f01ce12d3636e3439332aebcf211b0b554164966f053a609db529d7194824b68537256625767c5bc9f7655a9d42af72b8c7ce4c0d4104 languageName: node linkType: hard @@ -8877,18 +8902,18 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.31": - version: 8.4.31 - resolution: "postcss@npm:8.4.31" +"postcss@npm:8.4.14": + version: 8.4.14 + resolution: "postcss@npm:8.4.14" dependencies: - nanoid: ^3.3.6 + nanoid: ^3.3.4 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: 1d8611341b073143ad90486fcdfeab49edd243377b1f51834dc4f6d028e82ce5190e4f11bb2633276864503654fb7cab28e67abdc0fbf9d1f88cad4a0ff0beea + checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816 languageName: node linkType: hard -"postcss@npm:^8.4.23": +"postcss@npm:^8.4.23, postcss@npm:^8.4.24": version: 8.4.24 resolution: "postcss@npm:8.4.24" dependencies: @@ -8899,17 +8924,6 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.32": - version: 8.4.32 - resolution: "postcss@npm:8.4.32" - dependencies: - nanoid: ^3.3.7 - picocolors: ^1.0.0 - source-map-js: ^1.0.2 - checksum: 220d9d0bf5d65be7ed31006c523bfb11619461d296245c1231831f90150aeb4a31eab9983ac9c5c89759a3ca8b60b3e0d098574964e1691673c3ce5c494305ae - languageName: node - linkType: hard - "preact@npm:^10.12.0": version: 10.13.2 resolution: "preact@npm:10.13.2" @@ -11068,6 +11082,13 @@ __metadata: languageName: node linkType: hard +"zod@npm:3.21.4": + version: 3.21.4 + resolution: "zod@npm:3.21.4" + checksum: f185ba87342ff16f7a06686767c2b2a7af41110c7edf7c1974095d8db7a73792696bcb4a00853de0d2edeb34a5b2ea6a55871bc864227dace682a0a28de33e1f + languageName: node + linkType: hard + "zustand@npm:^4.3.1": version: 4.3.5 resolution: "zustand@npm:4.3.5" From cbe9509d59524eb26ffecfaa8b5437b4303ca04b Mon Sep 17 00:00:00 2001 From: Philip Paetz Date: Tue, 12 Dec 2023 13:56:27 +0100 Subject: [PATCH 5/6] chore: fixed minor npm audit warnings for next.js and postcss --- package.json | 4 +- yarn.lock | 184 +++++++++++++++++++++------------------------------ 2 files changed, 78 insertions(+), 110 deletions(-) diff --git a/package.json b/package.json index 4c6fc35..14aae2c 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "frappe-charts": "^1.6.2", "jsbi": "^4.3.0", "lottie-react": "^2.4.0", - "next": "13.4.6", + "next": "13.5.7-canary.37", "react": "^18.2.0", "react-dom": "^18.2.0", "react-redux": "^8.1.0", @@ -68,7 +68,7 @@ "eslint-config-next": "^13.4.6", "eslint-config-prettier": "^8.8.0", "jest": "^29.5.0", - "postcss": "^8.4.24", + "postcss": "^8.4.32", "prettier": "^2.8.8", "tailwindcss": "^3.3.2", "ts-jest": "^29.1.0", diff --git a/yarn.lock b/yarn.lock index 92ee24f..55dc53f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1756,8 +1756,8 @@ __metadata: jest: ^29.5.0 jsbi: ^4.3.0 lottie-react: ^2.4.0 - next: 13.4.6 - postcss: ^8.4.24 + next: 13.5.7-canary.37 + postcss: ^8.4.32 prettier: ^2.8.8 react: ^18.2.0 react-dom: ^18.2.0 @@ -1939,10 +1939,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:13.4.6": - version: 13.4.6 - resolution: "@next/env@npm:13.4.6" - checksum: 65d6cfb68adf5067f5e42f339e46908aca5a14fbc78f1e42e0becec1617da108cf68621c98f5a2c2e18da5a7955e355e98d5c4a7894222401bb374b2ca1c08f4 +"@next/env@npm:13.5.7-canary.37": + version: 13.5.7-canary.37 + resolution: "@next/env@npm:13.5.7-canary.37" + checksum: cbeba53f806a30fdbbbaa48785b0784702953d2e4e3a7bc6a14cb7e6e6e005232050cc627368b233257b1d60bcc41af5cfd6d0ee789497e4c4736f40e3956177 languageName: node linkType: hard @@ -1955,65 +1955,65 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-darwin-arm64@npm:13.4.6" +"@next/swc-darwin-arm64@npm:13.5.7-canary.37": + version: 13.5.7-canary.37 + resolution: "@next/swc-darwin-arm64@npm:13.5.7-canary.37" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-darwin-x64@npm:13.4.6" +"@next/swc-darwin-x64@npm:13.5.7-canary.37": + version: 13.5.7-canary.37 + resolution: "@next/swc-darwin-x64@npm:13.5.7-canary.37" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-linux-arm64-gnu@npm:13.4.6" +"@next/swc-linux-arm64-gnu@npm:13.5.7-canary.37": + version: 13.5.7-canary.37 + resolution: "@next/swc-linux-arm64-gnu@npm:13.5.7-canary.37" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-linux-arm64-musl@npm:13.4.6" +"@next/swc-linux-arm64-musl@npm:13.5.7-canary.37": + version: 13.5.7-canary.37 + resolution: "@next/swc-linux-arm64-musl@npm:13.5.7-canary.37" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-linux-x64-gnu@npm:13.4.6" +"@next/swc-linux-x64-gnu@npm:13.5.7-canary.37": + version: 13.5.7-canary.37 + resolution: "@next/swc-linux-x64-gnu@npm:13.5.7-canary.37" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-linux-x64-musl@npm:13.4.6" +"@next/swc-linux-x64-musl@npm:13.5.7-canary.37": + version: 13.5.7-canary.37 + resolution: "@next/swc-linux-x64-musl@npm:13.5.7-canary.37" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-win32-arm64-msvc@npm:13.4.6" +"@next/swc-win32-arm64-msvc@npm:13.5.7-canary.37": + version: 13.5.7-canary.37 + resolution: "@next/swc-win32-arm64-msvc@npm:13.5.7-canary.37" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-win32-ia32-msvc@npm:13.4.6" +"@next/swc-win32-ia32-msvc@npm:13.5.7-canary.37": + version: 13.5.7-canary.37 + resolution: "@next/swc-win32-ia32-msvc@npm:13.5.7-canary.37" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.4.6": - version: 13.4.6 - resolution: "@next/swc-win32-x64-msvc@npm:13.4.6" +"@next/swc-win32-x64-msvc@npm:13.5.7-canary.37": + version: 13.5.7-canary.37 + resolution: "@next/swc-win32-x64-msvc@npm:13.5.7-canary.37" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -2448,12 +2448,12 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.1": - version: 0.5.1 - resolution: "@swc/helpers@npm:0.5.1" +"@swc/helpers@npm:0.5.2": + version: 0.5.2 + resolution: "@swc/helpers@npm:0.5.2" dependencies: tslib: ^2.4.0 - checksum: 71e0e27234590435e4c62b97ef5e796f88e786841a38c7116a5e27a3eafa7b9ead7cdec5249b32165902076de78446945311c973e59bddf77c1e24f33a8f272a + checksum: 51d7e3d8bd56818c49d6bfbd715f0dbeedc13cf723af41166e45c03e37f109336bbcb57a1f2020f4015957721aeb21e1a7fff281233d797ff7d3dd1f447fa258 languageName: node linkType: hard @@ -4467,31 +4467,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001400": - version: 1.0.30001431 - resolution: "caniuse-lite@npm:1.0.30001431" - checksum: bc8ab55cd194e240152946b54bfaff7456180cc018674fc7ed134f4f502192405f6643f422feaa0a5e7cc02b5bac564cfac7771ac6d29f5d129482fcfe335ba1 - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001406": - version: 1.0.30001439 - resolution: "caniuse-lite@npm:1.0.30001439" - checksum: 3912dd536c9735713ca85e47721988bbcefb881ddb4886b0b9923fa984247fd22cba032cf268e57d158af0e8a2ae2eae042ae01942a1d6d7849fa9fa5d62fb82 - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001449": - version: 1.0.30001460 - resolution: "caniuse-lite@npm:1.0.30001460" - checksum: dad91eb82aa65aecf33ad6a04ad620b9df6f0152020dc6c1874224e8c6f4aa50695f585201b3dfcd2760b3c43326a86c9505cc03af856698fbef67b267ef786f - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001464": - version: 1.0.30001478 - resolution: "caniuse-lite@npm:1.0.30001478" - checksum: 27a370dcb32a6a35e186307aabc570da1cd0fccc849913665e7df6822a87286de99509b163304e0586c23c539a991717fb68ed84b85bbd21b2cb86475ae5ffb2 +"caniuse-lite@npm:^1.0.30001400, caniuse-lite@npm:^1.0.30001406, caniuse-lite@npm:^1.0.30001449, caniuse-lite@npm:^1.0.30001464": + version: 1.0.30001568 + resolution: "caniuse-lite@npm:1.0.30001568" + checksum: 7092aaa246dc8531fbca5b47be91e92065db7e5c04cc9e3d864e848f8f1be769ac6754429e843a5e939f7331a771e8b0a1bc3b13495c66b748c65e2f5bdb1220 languageName: node linkType: hard @@ -8211,21 +8190,21 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.4": - version: 3.3.4 - resolution: "nanoid@npm:3.3.4" +"nanoid@npm:^3.3.6": + version: 3.3.6 + resolution: "nanoid@npm:3.3.6" bin: nanoid: bin/nanoid.cjs - checksum: 2fddd6dee994b7676f008d3ffa4ab16035a754f4bb586c61df5a22cf8c8c94017aadd360368f47d653829e0569a92b129979152ff97af23a558331e47e37cd9c + checksum: 7d0eda657002738aa5206107bd0580aead6c95c460ef1bdd0b1a87a9c7ae6277ac2e9b945306aaa5b32c6dcb7feaf462d0f552e7f8b5718abfc6ead5c94a71b3 languageName: node linkType: hard -"nanoid@npm:^3.3.6": - version: 3.3.6 - resolution: "nanoid@npm:3.3.6" +"nanoid@npm:^3.3.7": + version: 3.3.7 + resolution: "nanoid@npm:3.3.7" bin: nanoid: bin/nanoid.cjs - checksum: 7d0eda657002738aa5206107bd0580aead6c95c460ef1bdd0b1a87a9c7ae6277ac2e9b945306aaa5b32c6dcb7feaf462d0f552e7f8b5718abfc6ead5c94a71b3 + checksum: d36c427e530713e4ac6567d488b489a36582ef89da1d6d4e3b87eded11eb10d7042a877958c6f104929809b2ab0bafa17652b076cdf84324aa75b30b722204f2 languageName: node linkType: hard @@ -8250,30 +8229,28 @@ __metadata: languageName: node linkType: hard -"next@npm:13.4.6": - version: 13.4.6 - resolution: "next@npm:13.4.6" - dependencies: - "@next/env": 13.4.6 - "@next/swc-darwin-arm64": 13.4.6 - "@next/swc-darwin-x64": 13.4.6 - "@next/swc-linux-arm64-gnu": 13.4.6 - "@next/swc-linux-arm64-musl": 13.4.6 - "@next/swc-linux-x64-gnu": 13.4.6 - "@next/swc-linux-x64-musl": 13.4.6 - "@next/swc-win32-arm64-msvc": 13.4.6 - "@next/swc-win32-ia32-msvc": 13.4.6 - "@next/swc-win32-x64-msvc": 13.4.6 - "@swc/helpers": 0.5.1 +"next@npm:13.5.7-canary.37": + version: 13.5.7-canary.37 + resolution: "next@npm:13.5.7-canary.37" + dependencies: + "@next/env": 13.5.7-canary.37 + "@next/swc-darwin-arm64": 13.5.7-canary.37 + "@next/swc-darwin-x64": 13.5.7-canary.37 + "@next/swc-linux-arm64-gnu": 13.5.7-canary.37 + "@next/swc-linux-arm64-musl": 13.5.7-canary.37 + "@next/swc-linux-x64-gnu": 13.5.7-canary.37 + "@next/swc-linux-x64-musl": 13.5.7-canary.37 + "@next/swc-win32-arm64-msvc": 13.5.7-canary.37 + "@next/swc-win32-ia32-msvc": 13.5.7-canary.37 + "@next/swc-win32-x64-msvc": 13.5.7-canary.37 + "@swc/helpers": 0.5.2 busboy: 1.6.0 caniuse-lite: ^1.0.30001406 - postcss: 8.4.14 + postcss: 8.4.31 styled-jsx: 5.1.1 watchpack: 2.4.0 - zod: 3.21.4 peerDependencies: "@opentelemetry/api": ^1.1.0 - fibers: ">= 3.1.0" react: ^18.2.0 react-dom: ^18.2.0 sass: ^1.3.0 @@ -8299,13 +8276,11 @@ __metadata: peerDependenciesMeta: "@opentelemetry/api": optional: true - fibers: - optional: true sass: optional: true bin: next: dist/bin/next - checksum: 1d28d4be184b1311c42f01ce12d3636e3439332aebcf211b0b554164966f053a609db529d7194824b68537256625767c5bc9f7655a9d42af72b8c7ce4c0d4104 + checksum: 1b10587ee764d86e4a9135359fdf6d636f549326518a8c45efdbc6fc55ad8dd4e3214d6db7bc0ec35992b87c07ae34da4452a794c16a60e1aa59d5f324ce0183 languageName: node linkType: hard @@ -8902,25 +8877,25 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.14": - version: 8.4.14 - resolution: "postcss@npm:8.4.14" +"postcss@npm:8.4.31": + version: 8.4.31 + resolution: "postcss@npm:8.4.31" dependencies: - nanoid: ^3.3.4 + nanoid: ^3.3.6 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816 + checksum: 1d8611341b073143ad90486fcdfeab49edd243377b1f51834dc4f6d028e82ce5190e4f11bb2633276864503654fb7cab28e67abdc0fbf9d1f88cad4a0ff0beea languageName: node linkType: hard -"postcss@npm:^8.4.23, postcss@npm:^8.4.24": - version: 8.4.24 - resolution: "postcss@npm:8.4.24" +"postcss@npm:^8.4.23, postcss@npm:^8.4.32": + version: 8.4.32 + resolution: "postcss@npm:8.4.32" dependencies: - nanoid: ^3.3.6 + nanoid: ^3.3.7 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: 814e2126dacfea313588eda09cc99a9b4c26ec55c059188aa7a916d20d26d483483106dc5ff9e560731b59f45c5bb91b945dfadc670aed875cc90ddbbf4e787d + checksum: 220d9d0bf5d65be7ed31006c523bfb11619461d296245c1231831f90150aeb4a31eab9983ac9c5c89759a3ca8b60b3e0d098574964e1691673c3ce5c494305ae languageName: node linkType: hard @@ -11082,13 +11057,6 @@ __metadata: languageName: node linkType: hard -"zod@npm:3.21.4": - version: 3.21.4 - resolution: "zod@npm:3.21.4" - checksum: f185ba87342ff16f7a06686767c2b2a7af41110c7edf7c1974095d8db7a73792696bcb4a00853de0d2edeb34a5b2ea6a55871bc864227dace682a0a28de33e1f - languageName: node - linkType: hard - "zustand@npm:^4.3.1": version: 4.3.5 resolution: "zustand@npm:4.3.5" From 479e5fca2bed46bcac673a87c7a0cf1cab3302a3 Mon Sep 17 00:00:00 2001 From: Philip Paetz Date: Tue, 12 Dec 2023 14:23:01 +0100 Subject: [PATCH 6/6] feat: added 'sharp' package for image optimization was recommended by next.js in a warning on 'next start' --- package.json | 1 + yarn.lock | 310 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 310 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 14aae2c..84e5785 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "react-dom": "^18.2.0", "react-redux": "^8.1.0", "react-toastify": "^9.1.3", + "sharp": "^0.33.0", "toformat": "^2.0.0", "wagmi": "0.12.18" }, diff --git a/yarn.lock b/yarn.lock index 55dc53f..1cf8c82 100644 --- a/yarn.lock +++ b/yarn.lock @@ -726,6 +726,15 @@ __metadata: languageName: node linkType: hard +"@emnapi/runtime@npm:^0.44.0": + version: 0.44.0 + resolution: "@emnapi/runtime@npm:0.44.0" + dependencies: + tslib: ^2.4.0 + checksum: e07235d6347bfb7cececb6b06e91177e73ec57fdeb2ec371725a7feec684699b739d9e295be8c58a5b2a3cb2db2351c0a2a3b212dd1f400e0455c73445f199d3 + languageName: node + linkType: hard + "@emotion/hash@npm:^0.8.0": version: 0.8.0 resolution: "@emotion/hash@npm:0.8.0" @@ -1327,6 +1336,181 @@ __metadata: languageName: node linkType: hard +"@img/sharp-darwin-arm64@npm:0.33.0": + version: 0.33.0 + resolution: "@img/sharp-darwin-arm64@npm:0.33.0" + dependencies: + "@img/sharp-libvips-darwin-arm64": 1.0.0 + dependenciesMeta: + "@img/sharp-libvips-darwin-arm64": + optional: true + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@img/sharp-darwin-x64@npm:0.33.0": + version: 0.33.0 + resolution: "@img/sharp-darwin-x64@npm:0.33.0" + dependencies: + "@img/sharp-libvips-darwin-x64": 1.0.0 + dependenciesMeta: + "@img/sharp-libvips-darwin-x64": + optional: true + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@img/sharp-libvips-darwin-arm64@npm:1.0.0": + version: 1.0.0 + resolution: "@img/sharp-libvips-darwin-arm64@npm:1.0.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@img/sharp-libvips-darwin-x64@npm:1.0.0": + version: 1.0.0 + resolution: "@img/sharp-libvips-darwin-x64@npm:1.0.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-arm64@npm:1.0.0": + version: 1.0.0 + resolution: "@img/sharp-libvips-linux-arm64@npm:1.0.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-arm@npm:1.0.0": + version: 1.0.0 + resolution: "@img/sharp-libvips-linux-arm@npm:1.0.0" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-s390x@npm:1.0.0": + version: 1.0.0 + resolution: "@img/sharp-libvips-linux-s390x@npm:1.0.0" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-x64@npm:1.0.0": + version: 1.0.0 + resolution: "@img/sharp-libvips-linux-x64@npm:1.0.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linuxmusl-arm64@npm:1.0.0": + version: 1.0.0 + resolution: "@img/sharp-libvips-linuxmusl-arm64@npm:1.0.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-libvips-linuxmusl-x64@npm:1.0.0": + version: 1.0.0 + resolution: "@img/sharp-libvips-linuxmusl-x64@npm:1.0.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-linux-arm64@npm:0.33.0": + version: 0.33.0 + resolution: "@img/sharp-linux-arm64@npm:0.33.0" + dependencies: + "@img/sharp-libvips-linux-arm64": 1.0.0 + dependenciesMeta: + "@img/sharp-libvips-linux-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-arm@npm:0.33.0": + version: 0.33.0 + resolution: "@img/sharp-linux-arm@npm:0.33.0" + dependencies: + "@img/sharp-libvips-linux-arm": 1.0.0 + dependenciesMeta: + "@img/sharp-libvips-linux-arm": + optional: true + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-s390x@npm:0.33.0": + version: 0.33.0 + resolution: "@img/sharp-linux-s390x@npm:0.33.0" + dependencies: + "@img/sharp-libvips-linux-s390x": 1.0.0 + dependenciesMeta: + "@img/sharp-libvips-linux-s390x": + optional: true + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-x64@npm:0.33.0": + version: 0.33.0 + resolution: "@img/sharp-linux-x64@npm:0.33.0" + dependencies: + "@img/sharp-libvips-linux-x64": 1.0.0 + dependenciesMeta: + "@img/sharp-libvips-linux-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linuxmusl-arm64@npm:0.33.0": + version: 0.33.0 + resolution: "@img/sharp-linuxmusl-arm64@npm:0.33.0" + dependencies: + "@img/sharp-libvips-linuxmusl-arm64": 1.0.0 + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-linuxmusl-x64@npm:0.33.0": + version: 0.33.0 + resolution: "@img/sharp-linuxmusl-x64@npm:0.33.0" + dependencies: + "@img/sharp-libvips-linuxmusl-x64": 1.0.0 + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-wasm32@npm:0.33.0": + version: 0.33.0 + resolution: "@img/sharp-wasm32@npm:0.33.0" + dependencies: + "@emnapi/runtime": ^0.44.0 + conditions: cpu=wasm32 + languageName: node + linkType: hard + +"@img/sharp-win32-ia32@npm:0.33.0": + version: 0.33.0 + resolution: "@img/sharp-win32-ia32@npm:0.33.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@img/sharp-win32-x64@npm:0.33.0": + version: 0.33.0 + resolution: "@img/sharp-win32-x64@npm:0.33.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@istanbuljs/load-nyc-config@npm:^1.0.0": version: 1.1.0 resolution: "@istanbuljs/load-nyc-config@npm:1.1.0" @@ -1763,6 +1947,7 @@ __metadata: react-dom: ^18.2.0 react-redux: ^8.1.0 react-toastify: ^9.1.3 + sharp: ^0.33.0 tailwindcss: ^3.3.2 toformat: ^2.0.0 ts-jest: ^29.1.0 @@ -4648,13 +4833,23 @@ __metadata: languageName: node linkType: hard -"color-name@npm:~1.1.4": +"color-name@npm:^1.0.0, color-name@npm:~1.1.4": version: 1.1.4 resolution: "color-name@npm:1.1.4" checksum: b0445859521eb4021cd0fb0cc1a75cecf67fceecae89b63f62b201cca8d345baf8b952c966862a9d9a2632987d4f6581f0ec8d957dfacece86f0a7919316f610 languageName: node linkType: hard +"color-string@npm:^1.9.0": + version: 1.9.1 + resolution: "color-string@npm:1.9.1" + dependencies: + color-name: ^1.0.0 + simple-swizzle: ^0.2.2 + checksum: c13fe7cff7885f603f49105827d621ce87f4571d78ba28ef4a3f1a104304748f620615e6bf065ecd2145d0d9dad83a3553f52bb25ede7239d18e9f81622f1cc5 + languageName: node + linkType: hard + "color-support@npm:^1.1.3": version: 1.1.3 resolution: "color-support@npm:1.1.3" @@ -4664,6 +4859,16 @@ __metadata: languageName: node linkType: hard +"color@npm:^4.2.3": + version: 4.2.3 + resolution: "color@npm:4.2.3" + dependencies: + color-convert: ^2.0.1 + color-string: ^1.9.0 + checksum: 0579629c02c631b426780038da929cca8e8d80a40158b09811a0112a107c62e10e4aad719843b791b1e658ab4e800558f2e87ca4522c8b32349d497ecb6adeb4 + languageName: node + linkType: hard + "commander@npm:^2.20.3": version: 2.20.3 resolution: "commander@npm:2.20.3" @@ -4968,6 +5173,13 @@ __metadata: languageName: node linkType: hard +"detect-libc@npm:^2.0.2": + version: 2.0.2 + resolution: "detect-libc@npm:2.0.2" + checksum: 2b2cd3649b83d576f4be7cc37eb3b1815c79969c8b1a03a40a4d55d83bc74d010753485753448eacb98784abf22f7dbd3911fd3b60e29fda28fed2d1a997944d + languageName: node + linkType: hard + "detect-newline@npm:^3.0.0": version: 3.1.0 resolution: "detect-newline@npm:3.1.0" @@ -6611,6 +6823,13 @@ __metadata: languageName: node linkType: hard +"is-arrayish@npm:^0.3.1": + version: 0.3.2 + resolution: "is-arrayish@npm:0.3.2" + checksum: 977e64f54d91c8f169b59afcd80ff19227e9f5c791fa28fa2e5bce355cbaf6c2c356711b734656e80c9dd4a854dd7efcf7894402f1031dfc5de5d620775b4d5f + languageName: node + linkType: hard + "is-bigint@npm:^1.0.1": version: 1.0.2 resolution: "is-bigint@npm:1.0.2" @@ -9707,6 +9926,17 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.5.4": + version: 7.5.4 + resolution: "semver@npm:7.5.4" + dependencies: + lru-cache: ^6.0.0 + bin: + semver: bin/semver.js + checksum: 12d8ad952fa353b0995bf180cdac205a4068b759a140e5d3c608317098b3575ac2f1e09182206bf2eb26120e1c0ed8fb92c48c592f6099680de56bb071423ca3 + languageName: node + linkType: hard + "set-blocking@npm:^2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -9726,6 +9956,75 @@ __metadata: languageName: node linkType: hard +"sharp@npm:^0.33.0": + version: 0.33.0 + resolution: "sharp@npm:0.33.0" + dependencies: + "@img/sharp-darwin-arm64": 0.33.0 + "@img/sharp-darwin-x64": 0.33.0 + "@img/sharp-libvips-darwin-arm64": 1.0.0 + "@img/sharp-libvips-darwin-x64": 1.0.0 + "@img/sharp-libvips-linux-arm": 1.0.0 + "@img/sharp-libvips-linux-arm64": 1.0.0 + "@img/sharp-libvips-linux-s390x": 1.0.0 + "@img/sharp-libvips-linux-x64": 1.0.0 + "@img/sharp-libvips-linuxmusl-arm64": 1.0.0 + "@img/sharp-libvips-linuxmusl-x64": 1.0.0 + "@img/sharp-linux-arm": 0.33.0 + "@img/sharp-linux-arm64": 0.33.0 + "@img/sharp-linux-s390x": 0.33.0 + "@img/sharp-linux-x64": 0.33.0 + "@img/sharp-linuxmusl-arm64": 0.33.0 + "@img/sharp-linuxmusl-x64": 0.33.0 + "@img/sharp-wasm32": 0.33.0 + "@img/sharp-win32-ia32": 0.33.0 + "@img/sharp-win32-x64": 0.33.0 + color: ^4.2.3 + detect-libc: ^2.0.2 + semver: ^7.5.4 + dependenciesMeta: + "@img/sharp-darwin-arm64": + optional: true + "@img/sharp-darwin-x64": + optional: true + "@img/sharp-libvips-darwin-arm64": + optional: true + "@img/sharp-libvips-darwin-x64": + optional: true + "@img/sharp-libvips-linux-arm": + optional: true + "@img/sharp-libvips-linux-arm64": + optional: true + "@img/sharp-libvips-linux-s390x": + optional: true + "@img/sharp-libvips-linux-x64": + optional: true + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + "@img/sharp-libvips-linuxmusl-x64": + optional: true + "@img/sharp-linux-arm": + optional: true + "@img/sharp-linux-arm64": + optional: true + "@img/sharp-linux-s390x": + optional: true + "@img/sharp-linux-x64": + optional: true + "@img/sharp-linuxmusl-arm64": + optional: true + "@img/sharp-linuxmusl-x64": + optional: true + "@img/sharp-wasm32": + optional: true + "@img/sharp-win32-ia32": + optional: true + "@img/sharp-win32-x64": + optional: true + checksum: a140577f7a316642c4bbc3f654e7ee7b86d32f0c5ee572df1a09519ca5972d2fe45fbb3213df65fcffafbe4b2acbc57172dc035cca844153eba2b66465910d02 + languageName: node + linkType: hard + "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -9767,6 +10066,15 @@ __metadata: languageName: node linkType: hard +"simple-swizzle@npm:^0.2.2": + version: 0.2.2 + resolution: "simple-swizzle@npm:0.2.2" + dependencies: + is-arrayish: ^0.3.1 + checksum: a7f3f2ab5c76c4472d5c578df892e857323e452d9f392e1b5cf74b74db66e6294a1e1b8b390b519fa1b96b5b613f2a37db6cffef52c3f1f8f3c5ea64eb2d54c0 + languageName: node + linkType: hard + "sisteransi@npm:^1.0.5": version: 1.0.5 resolution: "sisteransi@npm:1.0.5"