From b88415d5e68d1cef2891733e27d26c76240098b3 Mon Sep 17 00:00:00 2001 From: Kyle Date: Fri, 13 Dec 2024 14:39:17 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Downgrade=20undici=20to?= =?UTF-8?q?=20v6=20to=20support=20Node.js=20v18?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/modern-clocks-kick.md | 5 +++++ package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .changeset/modern-clocks-kick.md diff --git a/.changeset/modern-clocks-kick.md b/.changeset/modern-clocks-kick.md new file mode 100644 index 0000000..7efc3cb --- /dev/null +++ b/.changeset/modern-clocks-kick.md @@ -0,0 +1,5 @@ +--- +"@fleek-platform/cli": patch +--- + +fix: 🐛 Downgrade 'undici' to v6 to support Node.js v18 diff --git a/package.json b/package.json index 699049c..f59094f 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "prompts": "^2.4.2", "semver": "^7.3.8", "ts-node": "10.9.1", - "undici": "^7.1.0", + "undici": "^6.21.0", "unique-names-generator": "^4.7.1", "update-notifier-cjs": "^5.1.6" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aec50bb..42ed47e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -55,7 +55,7 @@ specifiers: semver: ^7.3.8 ts-node: 10.9.1 typescript: 4.9.3 - undici: ^7.1.0 + undici: ^6.21.0 unique-names-generator: ^4.7.1 update-notifier-cjs: ^5.1.6 vitest: 1.3.1 @@ -84,13 +84,13 @@ dependencies: lodash-es: 4.17.21 multiformats: 9.9.0 nanoid: 3.3.7 - native-fetch: 4.0.2_undici@7.1.0 + native-fetch: 4.0.2_undici@6.21.0 ora: 3.4.0 press-any-key: 0.1.1 prompts: 2.4.2 semver: 7.6.3 ts-node: 10.9.1_typescript@4.9.3 - undici: 7.1.0 + undici: 6.21.0 unique-names-generator: 4.7.1 update-notifier-cjs: 5.1.6 @@ -5175,12 +5175,12 @@ packages: resolution: {integrity: sha512-E7QQoM+3jvNtlmyfqRZ0/U75VFgCls+fSkbml2MpgWkWyz3ox8Y58gNhfuziuQYGNNQAbFZJQck55LHCnCK6CA==} dev: true - /native-fetch/4.0.2_undici@7.1.0: + /native-fetch/4.0.2_undici@6.21.0: resolution: {integrity: sha512-4QcVlKFtv2EYVS5MBgsGX5+NWKtbDbIECdUXDBGDMAZXq3Jkv9zf+y8iS7Ub8fEdga3GpYeazp9gauNqXHJOCg==} peerDependencies: undici: '*' dependencies: - undici: 7.1.0 + undici: 6.21.0 dev: false /negotiator/0.6.3: @@ -6483,9 +6483,9 @@ packages: resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} dev: true - /undici/7.1.0: - resolution: {integrity: sha512-3+mdX2R31khuLCm2mKExSlMdJsfol7bJkIMH80tdXA74W34rT1jKemUTlYR7WY3TqsV4wfOgpatWmmB2Jl1+5g==} - engines: {node: '>=20.18.1'} + /undici/6.21.0: + resolution: {integrity: sha512-BUgJXc752Kou3oOIuU1i+yZZypyZRqNPW0vqoMPl8VaoalSfeR0D8/t4iAS3yirs79SSMTxTag+ZC86uswv+Cw==} + engines: {node: '>=18.17'} dev: false /unique-names-generator/4.7.1: