From 2c2c65297a18c52691f09621ead55144efd601d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E9=9B=A8=E8=88=AA?= Date: Thu, 15 Dec 2022 03:08:44 +0800 Subject: [PATCH] upgrade giget for support proxy config (#5579) --- .changeset/hip-scissors-live.md | 5 +++++ packages/create-astro/package.json | 2 +- pnpm-lock.yaml | 23 +++++++++++++---------- 3 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 .changeset/hip-scissors-live.md diff --git a/.changeset/hip-scissors-live.md b/.changeset/hip-scissors-live.md new file mode 100644 index 000000000..aab0826b8 --- /dev/null +++ b/.changeset/hip-scissors-live.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +Upgrade giget to support env proxy config diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index 06a3daa06..6a6fa0664 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -33,7 +33,7 @@ "chalk": "^5.0.1", "comment-json": "^4.2.3", "execa": "^6.1.0", - "giget": "^0.1.7", + "giget": "^1.0.0", "kleur": "^4.1.4", "ora": "^6.1.0", "prompts": "^2.4.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c895ce128..31afd68d4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2543,7 +2543,7 @@ importers: chalk: ^5.0.1 comment-json: ^4.2.3 execa: ^6.1.0 - giget: ^0.1.7 + giget: ^1.0.0 kleur: ^4.1.4 mocha: ^9.2.2 ora: ^6.1.0 @@ -2557,7 +2557,7 @@ importers: chalk: 5.1.2 comment-json: 4.2.3 execa: 6.1.0 - giget: 0.1.7 + giget: 1.0.0 kleur: 4.1.5 ora: 6.1.2 prompts: 2.4.2 @@ -13268,16 +13268,19 @@ packages: - supports-color dev: true - /giget/0.1.7: - resolution: {integrity: sha512-bvIVgRxfiYDTr6MWOdNjTI5o87sDUjbiFdad4P7j5yYrBJN3c3l0vaNICSrVE81X0Z6qFG0GkAoDgTrJ3K63XA==} + /giget/1.0.0: + resolution: {integrity: sha512-KWELZn3Nxq5+0So485poHrFriK9Bn3V/x9y+wgqrHkbmnGbjfLmZ685/SVA/ovW+ewoqW0gVI47pI4yW/VNobQ==} hasBin: true dependencies: colorette: 2.0.19 defu: 6.1.1 + https-proxy-agent: 5.0.1 mri: 1.2.0 - node-fetch-native: 0.1.8 - pathe: 0.3.9 + node-fetch-native: 1.0.1 + pathe: 1.0.0 tar: 6.1.12 + transitivePeerDependencies: + - supports-color dev: false /github-from-package/0.0.0: @@ -15316,8 +15319,8 @@ packages: resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} engines: {node: '>=10.5.0'} - /node-fetch-native/0.1.8: - resolution: {integrity: sha512-ZNaury9r0NxaT2oL65GvdGDy+5PlSaHTovT6JV5tOW07k1TQmgC0olZETa4C9KZg0+6zBr99ctTYa3Utqj9P/Q==} + /node-fetch-native/1.0.1: + resolution: {integrity: sha512-VzW+TAk2wE4X9maiKMlT+GsPU4OMmR1U9CrHSmd3DFLn2IcZ9VJ6M6BBugGfYUnPCLSYxXdZy17M0BEJyhUTwg==} dev: false /node-fetch/2.6.7: @@ -15741,8 +15744,8 @@ packages: resolution: {integrity: sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw==} dev: false - /pathe/0.3.9: - resolution: {integrity: sha512-6Y6s0vT112P3jD8dGfuS6r+lpa0qqNrLyHPOwvXMnyNTQaYiwgau2DP3aNDsR13xqtGj7rrPo+jFUATpU6/s+g==} + /pathe/1.0.0: + resolution: {integrity: sha512-nPdMG0Pd09HuSsr7QOKUXO2Jr9eqaDiZvDwdyIhNG5SHYujkQHYKDfGQkulBxvbDHz8oHLsTgKN86LSwYzSHAg==} dev: false /pathval/1.1.1: