From 566adb7c0a0c0845e90a6e867a2c0ef5d2ada575 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 5 Jun 2024 17:24:52 -0400 Subject: fix(npm): use configured auth for tarball urls instead of scope auth (#24111) Deno was using the scope auth for the tarball urls, which is not always correct. We are going to do a release immediately for this issue. --- tests/specs/npm/npmrc_basic_auth/.npmrc | 8 ++++---- tests/specs/npm/npmrc_basic_auth/install.out | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/specs/npm/npmrc_basic_auth') diff --git a/tests/specs/npm/npmrc_basic_auth/.npmrc b/tests/specs/npm/npmrc_basic_auth/.npmrc index c5548f6f6..71177b979 100644 --- a/tests/specs/npm/npmrc_basic_auth/.npmrc +++ b/tests/specs/npm/npmrc_basic_auth/.npmrc @@ -1,4 +1,4 @@ -@denotest:registry=http://127.0.0.1:4261/ -//127.0.0.1:4261/:_auth=ZGVubzpsYW5k -@denotest2:registry=http://127.0.0.1:4262/ -//127.0.0.1:4262/:_auth=ZGVubzpsYW5kMg== +@denotest:registry=http://localhost:4261/ +//localhost:4261/:_auth=ZGVubzpsYW5k +@denotest2:registry=http://localhost:4262/ +//localhost:4262/:_auth=ZGVubzpsYW5kMg== diff --git a/tests/specs/npm/npmrc_basic_auth/install.out b/tests/specs/npm/npmrc_basic_auth/install.out index 7484405db..5c2ff3562 100644 --- a/tests/specs/npm/npmrc_basic_auth/install.out +++ b/tests/specs/npm/npmrc_basic_auth/install.out @@ -1,7 +1,7 @@ ⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use the `-g` or `--global` flag. [UNORDERED_START] -Download http://127.0.0.1:4261/@denotest/basic -Download http://127.0.0.1:4262/@denotest2/basic +Download http://localhost:4261/@denotest/basic +Download http://localhost:4262/@denotest2/basic Download http://localhost:4261/@denotest/basic/1.0.0.tgz Download http://localhost:4262/@denotest2/basic/1.0.0.tgz Initialize @denotest2/basic@1.0.0 -- cgit v1.2.3