summaryrefslogtreecommitdiff
path: root/tests/specs/npm/npmrc_bad_token
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-06-05 17:24:52 -0400
committerGitHub <noreply@github.com>2024-06-05 21:24:52 +0000
commit566adb7c0a0c0845e90a6e867a2c0ef5d2ada575 (patch)
tree959bd78188a6964fae3ffb8e3df97a0296c6097f /tests/specs/npm/npmrc_bad_token
parent0db73f6333639bf74a9c12dfe779287623891ab7 (diff)
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.
Diffstat (limited to 'tests/specs/npm/npmrc_bad_token')
-rw-r--r--tests/specs/npm/npmrc_bad_token/.npmrc4
-rw-r--r--tests/specs/npm/npmrc_bad_token/main.out4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/specs/npm/npmrc_bad_token/.npmrc b/tests/specs/npm/npmrc_bad_token/.npmrc
index 6ead678f4..04f7c3109 100644
--- a/tests/specs/npm/npmrc_bad_token/.npmrc
+++ b/tests/specs/npm/npmrc_bad_token/.npmrc
@@ -1,2 +1,2 @@
-@denotest:registry=http://127.0.0.1:4261/
-//127.0.0.1:4261/:_authToken=invalid-token
+@denotest:registry=http://localhost:4261/
+//localhost:4261/:_authToken=invalid-token
diff --git a/tests/specs/npm/npmrc_bad_token/main.out b/tests/specs/npm/npmrc_bad_token/main.out
index ceee1fed4..17619e5ce 100644
--- a/tests/specs/npm/npmrc_bad_token/main.out
+++ b/tests/specs/npm/npmrc_bad_token/main.out
@@ -1,4 +1,4 @@
⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use the `-g` or `--global` flag.
-Download http://127.0.0.1:4261/@denotest/basic
-error: Error getting response at http://127.0.0.1:4261/@denotest/basic for package "@denotest/basic": Bad response: 401
+Download http://localhost:4261/@denotest/basic
+error: Error getting response at http://localhost:4261/@denotest/basic for package "@denotest/basic": Bad response: 401
[WILDCARD] \ No newline at end of file