From 4abfcf1f4547eea388bac5173871cff3b1d38399 Mon Sep 17 00:00:00 2001 From: dependabot <49699333+dependabot@users.noreply.github.com> Date: Mon, 17 Jun 2024 18:31:10 +0000 Subject: [PATCH 1/5] build(deps): bump thirdweb from 5.29.2 to 5.29.4 (#2676) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [thirdweb](https://github.com/thirdweb-dev/js) from 5.29.2 to 5.29.4.
Release notes

Sourced from thirdweb's releases.

thirdweb@5.29.4

Patch Changes

thirdweb@5.29.3

Patch Changes

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=thirdweb&package-manager=npm_and_yarn&previous-version=5.29.2&new-version=5.29.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- ## PR-Codex overview This PR updates dependencies in `package.json` and `pnpm-lock.yaml` files. It specifically upgrades `thirdweb` to version `5.29.4` and `picocolors` to `1.0.1`. ### Detailed summary - Updated `thirdweb` dependency to version `5.29.4` - Updated `picocolors` dependency to version `1.0.1` - Minor version upgrades for various dependencies in `thirdweb@5.29.4` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- package.json | 2 +- pnpm-lock.yaml | 137 +++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 112 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index f39a5fad1c..0dd7931300 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "swagger-ui-react": "^5.17.14", "tailwind-merge": "^2.3.0", "tailwindcss-animate": "^1.0.7", - "thirdweb": "5.29.2", + "thirdweb": "5.29.4", "tiny-invariant": "^1.3.3", "use-debounce": "^10.0.1", "zksync-ethers": "^5.8.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5c12300cba..e8ac8c0c0d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -251,8 +251,8 @@ dependencies: specifier: ^1.0.7 version: 1.0.7(tailwindcss@3.4.4) thirdweb: - specifier: 5.29.2 - version: 5.29.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(ethers@5.7.2)(react-dom@18.3.1)(react@18.3.1)(typescript@5.4.5)(zod@3.23.4) + specifier: 5.29.4 + version: 5.29.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(ethers@5.7.2)(react-dom@18.3.1)(react@18.3.1)(typescript@5.4.5)(zod@3.23.4) tiny-invariant: specifier: ^1.3.3 version: 1.3.3 @@ -484,7 +484,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/highlight': 7.24.2 - picocolors: 1.0.0 + picocolors: 1.0.1 /@babel/compat-data@7.24.4: resolution: {integrity: sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==} @@ -671,7 +671,7 @@ packages: '@babel/helper-validator-identifier': 7.22.20 chalk: 2.4.2 js-tokens: 4.0.0 - picocolors: 1.0.0 + picocolors: 1.0.1 /@babel/parser@7.24.4: resolution: {integrity: sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==} @@ -9078,24 +9078,16 @@ packages: resolution: {integrity: sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==} dev: false - /acorn-import-assertions@1.9.0(acorn@8.11.3): + /acorn-import-assertions@1.9.0(acorn@8.12.0): resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} requiresBuild: true peerDependencies: acorn: ^8 dependencies: - acorn: 8.11.3 + acorn: 8.12.0 dev: false optional: true - /acorn-import-attributes@1.9.5(acorn@8.11.3): - resolution: {integrity: sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==} - peerDependencies: - acorn: ^8 - dependencies: - acorn: 8.11.3 - dev: false - /acorn-import-attributes@1.9.5(acorn@8.12.0): resolution: {integrity: sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==} peerDependencies: @@ -9126,12 +9118,12 @@ packages: resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} engines: {node: '>=0.4.0'} hasBin: true + dev: true /acorn@8.12.0: resolution: {integrity: sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==} engines: {node: '>=0.4.0'} hasBin: true - dev: false /acorn@8.8.1: resolution: {integrity: sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==} @@ -12110,7 +12102,6 @@ packages: is-hex-prefixed: 1.0.0 strip-hex-prefix: 1.0.0 dev: false - bundledDependencies: false /event-emitter@0.3.5: resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==} @@ -13309,8 +13300,8 @@ packages: resolution: {integrity: sha512-9WOz1Yh/cvO/p69sxRmhyQwrIGGSp7EIdcb+fFNVi7CzQGQB8U1/1XrKVSbEd/GNOAeM0peJtmi7+qphe7NvAw==} requiresBuild: true dependencies: - acorn: 8.11.3 - acorn-import-assertions: 1.9.0(acorn@8.11.3) + acorn: 8.12.0 + acorn-import-assertions: 1.9.0(acorn@8.12.0) cjs-module-lexer: 1.3.1 module-details-from-path: 1.0.3 dev: false @@ -13319,8 +13310,8 @@ packages: /import-in-the-middle@1.7.4: resolution: {integrity: sha512-Lk+qzWmiQuRPPulGQeK5qq0v32k2bHnWrRPFgqyvhw7Kkov5L6MOLOIU3pcWeujc9W4q54Cp3Q2WV16eQkc7Bg==} dependencies: - acorn: 8.11.3 - acorn-import-attributes: 1.9.5(acorn@8.11.3) + acorn: 8.12.0 + acorn-import-attributes: 1.9.5(acorn@8.12.0) cjs-module-lexer: 1.3.1 module-details-from-path: 1.0.3 dev: false @@ -13328,8 +13319,8 @@ packages: /import-in-the-middle@1.8.0: resolution: {integrity: sha512-/xQjze8szLNnJ5rvHSzn+dcVXqCAU6Plbk4P24U/jwPmg1wy7IIp9OjKIO5tYue8GSPhDpPDiApQjvBUmWwhsQ==} dependencies: - acorn: 8.11.3 - acorn-import-attributes: 1.9.5(acorn@8.11.3) + acorn: 8.12.0 + acorn-import-attributes: 1.9.5(acorn@8.12.0) cjs-module-lexer: 1.3.1 module-details-from-path: 1.0.3 dev: false @@ -15155,7 +15146,7 @@ packages: /mlly@1.6.1: resolution: {integrity: sha512-vLgaHvaeunuOXHSmEbZ9izxPx3USsk8KCQ8iC+aTlp5sKRSoZvwhHh5L9VbKSaVC6sJDqbyohIS76E2VmHIPAA==} dependencies: - acorn: 8.11.3 + acorn: 8.12.0 pathe: 1.1.2 pkg-types: 1.1.0 ufo: 1.5.3 @@ -18629,6 +18620,100 @@ packages: - zod dev: false + /thirdweb@5.29.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(ethers@5.7.2)(react-dom@18.3.1)(react@18.3.1)(typescript@5.4.5)(zod@3.23.4): + resolution: {integrity: sha512-XefgyoGlX3jlZYYXdt3hgB4prYSNvdNjkqBMoOFr525PIJ5KOydfrtH/wT5cDV70KXxkdg7uYA5oCNNoyyz8EA==} + engines: {node: '>=18'} + hasBin: true + peerDependencies: + '@aws-sdk/client-lambda': ^3 + '@aws-sdk/credential-providers': ^3 + '@coinbase/wallet-mobile-sdk': ^1 + '@react-native-async-storage/async-storage': ^1 + amazon-cognito-identity-js: ^6 + aws-amplify: ^5 + ethers: ^5 || ^6 + expo-web-browser: ^13 + react: '>=18' + react-native: '>=0.70' + react-native-aes-gcm-crypto: ^0.2 + react-native-quick-crypto: '>=0.7.0-rc.6 || >=0.7' + typescript: '>=5.0.4' + peerDependenciesMeta: + '@aws-sdk/client-lambda': + optional: true + '@aws-sdk/credential-providers': + optional: true + '@coinbase/wallet-mobile-sdk': + optional: true + '@react-native-async-storage/async-storage': + optional: true + amazon-cognito-identity-js: + optional: true + aws-amplify: + optional: true + ethers: + optional: true + expo-web-browser: + optional: true + react: + optional: true + react-native: + optional: true + react-native-aes-gcm-crypto: + optional: true + react-native-quick-crypto: + optional: true + typescript: + optional: true + dependencies: + '@coinbase/wallet-sdk': 4.0.3 + '@emotion/react': 11.11.4(@types/react@18.3.3)(react@18.3.1) + '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.3.3)(react@18.3.1) + '@google/model-viewer': 2.1.1 + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 + '@passwordless-id/webauthn': 1.6.1 + '@radix-ui/react-dialog': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-icons': 1.3.0(react@18.3.1) + '@radix-ui/react-tooltip': 1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@tanstack/react-query': 5.29.2(react@18.3.1) + '@walletconnect/ethereum-provider': 2.12.2(@types/react@18.3.3)(react@18.3.1) + '@walletconnect/sign-client': 2.13.2 + abitype: 1.0.0(typescript@5.4.5)(zod@3.23.4) + ethers: 5.7.2 + fast-text-encoding: 1.0.6 + fuse.js: 7.0.0 + input-otp: 1.2.4(react-dom@18.3.1)(react@18.3.1) + mipd: 0.0.7(typescript@5.4.5) + node-libs-browser: 2.2.1 + react: 18.3.1 + typescript: 5.4.5 + uqr: 0.1.2 + viem: 2.13.7(typescript@5.4.5)(zod@3.23.4) + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@types/react' + - '@types/react-dom' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - encoding + - ioredis + - react-dom + - uWebSockets.js + - utf-8-validate + - zod + dev: false + /thread-stream@0.15.2: resolution: {integrity: sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA==} dependencies: @@ -18833,7 +18918,7 @@ packages: '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 '@types/node': 20.14.2 - acorn: 8.11.3 + acorn: 8.12.0 acorn-walk: 8.3.2 arg: 4.1.3 create-require: 1.1.1 @@ -19163,7 +19248,7 @@ packages: /unplugin@1.0.1: resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==} dependencies: - acorn: 8.11.3 + acorn: 8.12.0 chokidar: 3.6.0 webpack-sources: 3.2.3 webpack-virtual-modules: 0.5.0 @@ -19249,7 +19334,7 @@ packages: dependencies: browserslist: 4.23.0 escalade: 3.1.2 - picocolors: 1.0.0 + picocolors: 1.0.1 /update-browserslist-db@1.0.16(browserslist@4.23.1): resolution: {integrity: sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==} From 09560bf65b335e3c10d9ead286cf1eab9c31ae1c Mon Sep 17 00:00:00 2001 From: dependabot <49699333+dependabot@users.noreply.github.com> Date: Mon, 17 Jun 2024 18:51:46 +0000 Subject: [PATCH 2/5] build(deps): bump @thirdweb-dev/chains from 0.1.118 to 0.1.119 (#2678) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [@thirdweb-dev/chains](https://github.com/thirdweb-dev/js) from 0.1.118 to 0.1.119.
Release notes

Sourced from @​thirdweb-dev/chains's releases.

@​thirdweb-dev/chains@​0.1.119

Patch Changes

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@thirdweb-dev/chains&package-manager=npm_and_yarn&previous-version=0.1.118&new-version=0.1.119)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- ## PR-Codex overview This PR updates dependencies to their latest versions, including `@thirdweb-dev/chains` to `0.1.119`. ### Detailed summary - Updated `@thirdweb-dev/chains` dependency to version `0.1.119` - Updated various dependencies to their latest versions - Removed `bundledDependencies` from `/event-emitter@0.3.5` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- package.json | 2 +- pnpm-lock.yaml | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0dd7931300..d2441b693f 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "@tanstack/react-query": "^4.36.1", "@tanstack/react-query-persist-client": "^4.36.1", "@tanstack/react-table": "^8.17.3", - "@thirdweb-dev/chains": "0.1.118", + "@thirdweb-dev/chains": "0.1.119", "@thirdweb-dev/react": "4.9.0", "@thirdweb-dev/react-core": "4.9.0", "@thirdweb-dev/sdk": "4.0.95", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e8ac8c0c0d..fdb0488ef4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -83,8 +83,8 @@ dependencies: specifier: ^8.17.3 version: 8.17.3(react-dom@18.3.1)(react@18.3.1) '@thirdweb-dev/chains': - specifier: 0.1.118 - version: 0.1.118 + specifier: 0.1.119 + version: 0.1.119 '@thirdweb-dev/react': specifier: 4.9.0 version: 4.9.0(@babel/core@7.24.4)(@ethersproject/abstract-provider@5.7.0)(@ethersproject/abstract-signer@5.7.0)(@ethersproject/bignumber@5.7.0)(@ethersproject/properties@5.7.0)(@thirdweb-dev/sdk@4.0.95)(@types/react-dom@18.3.0)(@types/react@18.3.3)(ethers@5.7.2)(fastify@4.28.0)(localforage@1.10.0)(next@14.2.4)(react-dom@18.3.1)(react@18.3.1)(typescript@5.4.5)(zksync-ethers@5.8.0) @@ -7152,6 +7152,11 @@ packages: engines: {node: '>=18'} dev: false + /@thirdweb-dev/chains@0.1.119: + resolution: {integrity: sha512-mTcuF4OTTtqliphq0jWKUUtfnHTD+1qjcZqWz8JP3VwbTASodzWOSjXSBv4g9s3CB8ExpekkUOCpCZa6BK+dDA==} + engines: {node: '>=18'} + dev: false + /@thirdweb-dev/contracts-js@1.3.23(ethers@5.7.2): resolution: {integrity: sha512-AC8VbiYCZlWhiJl+uzScvbPznZce0mMzVwAZdBFZcfX7QE1kpDssocWna70ksmfCFkWLOrZuzTLYUoLatvOiBQ==} peerDependencies: From a82df768065f3c81c00d674fefa925dfa9801959 Mon Sep 17 00:00:00 2001 From: dependabot <49699333+dependabot@users.noreply.github.com> Date: Mon, 17 Jun 2024 19:04:28 +0000 Subject: [PATCH 3/5] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.13.0 to 7.13.1 (#2679) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.13.0 to 7.13.1.
Release notes

Sourced from @​typescript-eslint/eslint-plugin's releases.

v7.13.1

7.13.1 (2024-06-17)

🩹 Fixes

❤️ Thank You

You can read about our versioning strategy and releases on our website.

Changelog

Sourced from @​typescript-eslint/eslint-plugin's changelog.

7.13.1 (2024-06-17)

🩹 Fixes

❤️ Thank You

You can read about our versioning strategy and releases on our website.

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/eslint-plugin&package-manager=npm_and_yarn&previous-version=7.13.0&new-version=7.13.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- ## PR-Codex overview This PR updates `@typescript-eslint/eslint-plugin` to version `7.13.1` and `semver` to `7.6.2` across various dependencies. ### Detailed summary - Updated `@typescript-eslint/eslint-plugin` to `7.13.1` - Updated `semver` to `7.6.2` in multiple packages - Updated `@typescript-eslint/scope-manager` and related dependencies to `7.13.1` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- package.json | 2 +- pnpm-lock.yaml | 109 ++++++++++++++++++++++++++++++++++--------------- 2 files changed, 78 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index d2441b693f..65ceca699d 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "@types/react-table": "^7.7.20", "@types/spdx-correct": "^3.1.3", "@types/swagger-ui-react": "^4.18.3", - "@typescript-eslint/eslint-plugin": "^7.13.0", + "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.0", "autoprefixer": "^10.4.19", "checkly": "^4.6.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fdb0488ef4..b8f26f95ab 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -322,8 +322,8 @@ devDependencies: specifier: ^4.18.3 version: 4.18.3 '@typescript-eslint/eslint-plugin': - specifier: ^7.13.0 - version: 7.13.0(@typescript-eslint/parser@7.13.0)(eslint@8.57.0)(typescript@5.4.5) + specifier: ^7.13.1 + version: 7.13.1(@typescript-eslint/parser@7.13.0)(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/parser': specifier: ^7.13.0 version: 7.13.0(eslint@8.57.0)(typescript@5.4.5) @@ -2694,7 +2694,7 @@ packages: lodash: 4.17.21 merkletreejs: 0.3.11 rlp: 2.2.7 - semver: 7.6.0 + semver: 7.6.2 transitivePeerDependencies: - bufferutil - encoding @@ -4136,7 +4136,7 @@ packages: '@ethereumjs/tx': 4.2.0 '@types/debug': 4.1.12 debug: 4.3.4(supports-color@8.1.1) - semver: 7.6.0 + semver: 7.6.2 superstruct: 1.0.4 transitivePeerDependencies: - supports-color @@ -4152,7 +4152,7 @@ packages: '@types/debug': 4.1.12 debug: 4.3.4(supports-color@8.1.1) pony-cause: 2.1.11 - semver: 7.6.0 + semver: 7.6.2 superstruct: 1.0.4 uuid: 9.0.1 transitivePeerDependencies: @@ -4436,7 +4436,7 @@ packages: natural-orderby: 2.0.3 object-treeify: 1.1.33 password-prompt: 1.1.3 - semver: 7.6.0 + semver: 7.6.2 string-width: 4.2.3 strip-ansi: 6.0.1 supports-color: 8.1.1 @@ -4714,7 +4714,7 @@ packages: '@opentelemetry/core': 1.25.0(@opentelemetry/api@1.9.0) '@opentelemetry/instrumentation': 0.52.0(@opentelemetry/api@1.9.0) '@opentelemetry/semantic-conventions': 1.25.0 - semver: 7.6.0 + semver: 7.6.2 transitivePeerDependencies: - supports-color dev: false @@ -4845,7 +4845,7 @@ packages: '@types/shimmer': 1.0.5 import-in-the-middle: 1.4.2 require-in-the-middle: 7.3.0 - semver: 7.6.0 + semver: 7.6.2 shimmer: 1.2.1 transitivePeerDependencies: - supports-color @@ -4863,7 +4863,7 @@ packages: '@types/shimmer': 1.0.5 import-in-the-middle: 1.7.4 require-in-the-middle: 7.3.0 - semver: 7.6.0 + semver: 7.6.2 shimmer: 1.2.1 transitivePeerDependencies: - supports-color @@ -4880,7 +4880,7 @@ packages: '@types/shimmer': 1.0.5 import-in-the-middle: 1.8.0 require-in-the-middle: 7.3.0 - semver: 7.6.0 + semver: 7.6.2 shimmer: 1.2.1 transitivePeerDependencies: - supports-color @@ -5982,7 +5982,7 @@ packages: resolution: {integrity: sha512-ITocwSWlFUA1K9VMP/eJiMfgbP/I9qDxAaFz7ukj5N5NZD3ihVQZkmqML6hjse5UhrfjCnfIEcLkNZhtB2XC2Q==} dependencies: '@safe-global/safe-core-sdk-types': 1.10.1 - semver: 7.6.0 + semver: 7.6.2 web3-utils: 1.10.4 transitivePeerDependencies: - encoding @@ -5998,7 +5998,7 @@ packages: '@safe-global/safe-core-sdk-utils': 1.7.4 '@safe-global/safe-deployments': 1.34.0 ethereumjs-util: 7.1.5 - semver: 7.6.0 + semver: 7.6.2 web3-utils: 1.10.4 zksync-web3: 0.14.4(ethers@5.7.2) transitivePeerDependencies: @@ -6010,7 +6010,7 @@ packages: /@safe-global/safe-deployments@1.34.0: resolution: {integrity: sha512-J55iHhB1tiNoPeVQ5s943zrfeKRYPqBtnz/EM7d878WzUmmDlTGKHN98qPYKBxkRKP1UjEWuQDrZxy80lx1rJw==} dependencies: - semver: 7.6.0 + semver: 7.6.2 dev: false /@safe-global/safe-ethers-adapters@0.1.0-alpha.19(@ethersproject/abstract-provider@5.7.0)(@ethersproject/abstract-signer@5.7.0)(@ethersproject/bignumber@5.7.0)(@ethersproject/properties@5.7.0)(ethers@5.7.2): @@ -8014,8 +8014,8 @@ packages: '@types/node': 20.14.2 dev: true - /@typescript-eslint/eslint-plugin@7.13.0(@typescript-eslint/parser@7.13.0)(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-FX1X6AF0w8MdVFLSdqwqN/me2hyhuQg4ykN6ZpVhh1ij/80pTvDKclX1sZB9iqex8SjQfVhwMKs3JtnnMLzG9w==} + /@typescript-eslint/eslint-plugin@7.13.1(@typescript-eslint/parser@7.13.0)(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-kZqi+WZQaZfPKnsflLJQCz6Ze9FFSMfXrrIOcyargekQxG37ES7DJNpJUE9Q/X5n3yTIP/WPutVNzgknQ7biLg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: '@typescript-eslint/parser': ^7.0.0 @@ -8027,10 +8027,10 @@ packages: dependencies: '@eslint-community/regexpp': 4.10.0 '@typescript-eslint/parser': 7.13.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/scope-manager': 7.13.0 - '@typescript-eslint/type-utils': 7.13.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.13.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.13.0 + '@typescript-eslint/scope-manager': 7.13.1 + '@typescript-eslint/type-utils': 7.13.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.13.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/visitor-keys': 7.13.1 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -8070,8 +8070,16 @@ packages: '@typescript-eslint/visitor-keys': 7.13.0 dev: true - /@typescript-eslint/type-utils@7.13.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-xMEtMzxq9eRkZy48XuxlBFzpVMDurUAfDu5Rz16GouAtXm0TaAoTFzqWUFPPuQYXI/CDaH/Bgx/fk/84t/Bc9A==} + /@typescript-eslint/scope-manager@7.13.1: + resolution: {integrity: sha512-adbXNVEs6GmbzaCpymHQ0MB6E4TqoiVbC0iqG3uijR8ZYfpAXMGttouQzF4Oat3P2GxDVIrg7bMI/P65LiQZdg==} + engines: {node: ^18.18.0 || >=20.0.0} + dependencies: + '@typescript-eslint/types': 7.13.1 + '@typescript-eslint/visitor-keys': 7.13.1 + dev: true + + /@typescript-eslint/type-utils@7.13.1(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-aWDbLu1s9bmgPGXSzNCxELu+0+HQOapV/y+60gPXafR8e2g1Bifxzevaa+4L2ytCWm+CHqpELq4CSoN9ELiwCg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -8080,8 +8088,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.13.0(typescript@5.4.5) - '@typescript-eslint/utils': 7.13.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.13.1(typescript@5.4.5) + '@typescript-eslint/utils': 7.13.1(eslint@8.57.0)(typescript@5.4.5) debug: 4.3.4(supports-color@8.1.1) eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.4.5) @@ -8105,6 +8113,11 @@ packages: engines: {node: ^18.18.0 || >=20.0.0} dev: true + /@typescript-eslint/types@7.13.1: + resolution: {integrity: sha512-7K7HMcSQIAND6RBL4kDl24sG/xKM13cA85dc7JnmQXw2cBDngg7c19B++JzvJHRG3zG36n9j1i451GBzRuHchw==} + engines: {node: ^18.18.0 || >=20.0.0} + dev: true + /@typescript-eslint/typescript-estree@4.33.0(typescript@3.9.10): resolution: {integrity: sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==} engines: {node: ^10.12.0 || >=12.0.0} @@ -8119,7 +8132,7 @@ packages: debug: 4.3.4(supports-color@8.1.1) globby: 11.1.0 is-glob: 4.0.3 - semver: 7.6.0 + semver: 7.6.2 tsutils: 3.21.0(typescript@3.9.10) typescript: 3.9.10 transitivePeerDependencies: @@ -8170,16 +8183,38 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@7.13.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-jceD8RgdKORVnB4Y6BqasfIkFhl4pajB1wVxrF4akxD2QPM8GNYjgGwEzYS+437ewlqqrg7Dw+6dhdpjMpeBFQ==} + /@typescript-eslint/typescript-estree@7.13.1(typescript@5.4.5): + resolution: {integrity: sha512-uxNr51CMV7npU1BxZzYjoVz9iyjckBduFBP0S5sLlh1tXYzHzgZ3BR9SVsNed+LmwKrmnqN3Kdl5t7eZ5TS1Yw==} + engines: {node: ^18.18.0 || >=20.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/types': 7.13.1 + '@typescript-eslint/visitor-keys': 7.13.1 + debug: 4.3.4(supports-color@8.1.1) + globby: 11.1.0 + is-glob: 4.0.3 + minimatch: 9.0.4 + semver: 7.6.2 + ts-api-utils: 1.3.0(typescript@5.4.5) + typescript: 5.4.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/utils@7.13.1(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-h5MzFBD5a/Gh/fvNdp9pTfqJAbuQC4sCN2WzuXme71lqFJsZtLbjxfSk4r3p02WIArOF9N94pdsLiGutpDbrXQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@typescript-eslint/scope-manager': 7.13.0 - '@typescript-eslint/types': 7.13.0 - '@typescript-eslint/typescript-estree': 7.13.0(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.13.1 + '@typescript-eslint/types': 7.13.1 + '@typescript-eslint/typescript-estree': 7.13.1(typescript@5.4.5) eslint: 8.57.0 transitivePeerDependencies: - supports-color @@ -8210,6 +8245,14 @@ packages: eslint-visitor-keys: 3.4.3 dev: true + /@typescript-eslint/visitor-keys@7.13.1: + resolution: {integrity: sha512-k/Bfne7lrP7hcb7m9zSsgcBmo+8eicqqfNAJ7uUY+jkTFpKeH2FSkWpFRtimBxgkyvqfu9jTPRbYOvud6isdXA==} + engines: {node: ^18.18.0 || >=20.0.0} + dependencies: + '@typescript-eslint/types': 7.13.1 + eslint-visitor-keys: 3.4.3 + dev: true + /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -9918,7 +9961,7 @@ packages: /builtins@5.1.0: resolution: {integrity: sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg==} dependencies: - semver: 7.6.0 + semver: 7.6.2 dev: true /busboy@1.6.0: @@ -14410,6 +14453,7 @@ packages: engines: {node: '>=10'} dependencies: yallist: 4.0.0 + dev: true /lucide-react@0.394.0(react@18.3.1): resolution: {integrity: sha512-PzTbJ0bsyXRhH59k5qe7MpTd5MxlpYZUcM9kGSwvPGAfnn0J6FElDwu2EX6Vuh//F7y60rcVJiFQ7EK9DCMgfw==} @@ -15459,7 +15503,7 @@ packages: engines: {node: '>=10'} requiresBuild: true dependencies: - semver: 7.6.0 + semver: 7.6.2 dev: false optional: true @@ -17706,12 +17750,12 @@ packages: hasBin: true dependencies: lru-cache: 6.0.0 + dev: true /semver@7.6.2: resolution: {integrity: sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==} engines: {node: '>=10'} hasBin: true - dev: false /sentence-case@3.0.4: resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==} @@ -20221,6 +20265,7 @@ packages: /yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + dev: true /yaml-ast-parser@0.0.43: resolution: {integrity: sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==} From e95bf7f62e44b3cfd47677c65ba0471952fb3038 Mon Sep 17 00:00:00 2001 From: kien-ngo <26052673+kien-ngo@users.noreply.github.com> Date: Mon, 17 Jun 2024 19:40:09 +0000 Subject: [PATCH 4/5] Allow uploading to IPFS without a folder (when upload a single file) (#2667) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit image --- ## PR-Codex overview The focus of this PR is to add a feature that allows users to choose whether to upload a file to a folder or without a folder in the IPFS uploader component. ### Detailed summary - Added a `Checkbox` component for users to choose upload options - Introduced state for tracking upload preferences - Updated UI elements based on user's upload selection > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- src/components/ipfs-upload/dropzone.tsx | 128 +++++++++++++++--------- 1 file changed, 79 insertions(+), 49 deletions(-) diff --git a/src/components/ipfs-upload/dropzone.tsx b/src/components/ipfs-upload/dropzone.tsx index 0fb8b9d990..1cad1c88bc 100644 --- a/src/components/ipfs-upload/dropzone.tsx +++ b/src/components/ipfs-upload/dropzone.tsx @@ -31,12 +31,14 @@ import { FiExternalLink, FiTrash2, FiUploadCloud } from "react-icons/fi"; import { Button, Card, + Checkbox, Heading, Text, TrackedCopyButton, TrackedIconButton, TrackedLink, } from "tw-components"; +import { Label } from "../../@/components/ui/label"; const TRACKING_CATEGORY = "ipfs_uploader"; @@ -142,7 +144,12 @@ const FileUpload: React.FC = ({ files, updateFiles }) => { progress: 0, total: 100, }); + const [uploadWithoutDirectory, setUploadWithoutDirectory] = useState( + files.length === 1, + ); + const uploadToAFolder = !uploadWithoutDirectory; const storageUpload = useStorageUpload({ + uploadWithoutDirectory, onProgress: setProgress, metadata: { address, @@ -369,62 +376,85 @@ const FileUpload: React.FC = ({ files, updateFiles }) => { align="center" gap={{ base: 2, md: 8 }} flexShrink={0} - p={{ base: 0, md: 2 }} + p={{ base: 2, md: 2 }} pt={2} bg="bgWhite" + justifyContent={"space-between"} > - - + setUploadWithoutDirectory(!e.target.checked)} + /> + + + )} + {storageUpload.isLoading && ( + -
- 50 && progress.progress !== progress.total - ? "black" - : "white", - }} - _light={{ - color: - progressPercent > 50 && progress.progress !== progress.total - ? "white" - : "black", - }} - willChange="color" - transition="color 0.2s" + +
- {Math.round(progressPercent)}% - -
- - + 50 && + progress.progress !== progress.total + ? "black" + : "white", + }} + _light={{ + color: + progressPercent > 50 && + progress.progress !== progress.total + ? "white" + : "black", + }} + willChange="color" + transition="color 0.2s" + > + {Math.round(progressPercent)}% + +
+
+ )} +