From ab4dd0ad6a7e6e83839cd82d6fff3845e198b36c Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 17 Dec 2024 10:07:02 +1300 Subject: [PATCH] move to peerDependencies --- .changeset/serious-eels-rule.md | 4 ++-- packages/platform-node/package.json | 7 ++++--- pnpm-lock.yaml | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.changeset/serious-eels-rule.md b/.changeset/serious-eels-rule.md index f9f339e7f9..af0ad388cb 100644 --- a/.changeset/serious-eels-rule.md +++ b/.changeset/serious-eels-rule.md @@ -1,5 +1,5 @@ --- -"@effect/platform-node": patch +"@effect/platform-node": minor --- -Use Undici 7 +upgrade undici to 7.x and move to peerDependencies diff --git a/packages/platform-node/package.json b/packages/platform-node/package.json index 9082aca176..70d4c662df 100644 --- a/packages/platform-node/package.json +++ b/packages/platform-node/package.json @@ -46,17 +46,18 @@ "dependencies": { "@effect/platform-node-shared": "workspace:^", "mime": "^3.0.0", - "undici": "^7.1.0", "ws": "^8.18.0" }, "peerDependencies": { "@effect/platform": "workspace:^", - "effect": "workspace:^" + "effect": "workspace:^", + "undici": "^7.1.0" }, "devDependencies": { "@effect/platform": "workspace:^", "@types/mime": "^3.0.4", "@types/ws": "^8.5.12", - "effect": "workspace:^" + "effect": "workspace:^", + "undici": "^7.1.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5da2309739..0b413b0f7a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -467,9 +467,6 @@ importers: mime: specifier: ^3.0.0 version: 3.0.0 - undici: - specifier: ^7.1.0 - version: 7.1.0 ws: specifier: ^8.18.0 version: 8.18.0 @@ -486,6 +483,9 @@ importers: effect: specifier: workspace:^ version: link:../effect/dist + undici: + specifier: ^7.1.0 + version: 7.1.0 publishDirectory: dist packages/platform-node-shared: @@ -5523,7 +5523,6 @@ packages: libsql@0.4.5: resolution: {integrity: sha512-sorTJV6PNt94Wap27Sai5gtVLIea4Otb2LUiAUyr3p6BPOScGMKGt5F1b5X/XgkNtcsDKeX5qfeBDj+PdShclQ==} - cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] libsql@0.4.6: @@ -6928,6 +6927,7 @@ packages: sudo-prompt@9.2.1: resolution: {integrity: sha512-Mu7R0g4ig9TUuGSxJavny5Rv0egCEtpZRNMrZaYS1vxkiIxGiGUwoezU3LazIQ+KE04hTrTfNPgxU5gzi7F5Pw==} + deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. supports-color@5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}