From 4b99cde504854baabdcf912f2fce3a7448119653 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Fri, 18 Oct 2024 20:38:57 +0200 Subject: fix(npm): ensure scoped package name is encoded in URLs (#26390) Fixes https://github.com/denoland/deno/issues/26385 --- tests/specs/task/bin_package/task.out | 2 +- tests/specs/task/bin_pkg_with_scope_auto/bin_auto.out | 2 +- tests/specs/task/bin_pkg_with_scope_auto/bin_none.out | 2 +- tests/specs/task/bin_pkg_with_scope_none/bin_none.out | 2 +- tests/specs/task/both_package_json_selected/install.out | 2 +- tests/specs/task/package_json_node_modules_dir_none/bin.out | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/specs/task') diff --git a/tests/specs/task/bin_package/task.out b/tests/specs/task/bin_package/task.out index 69b4f7508..d2c130905 100644 --- a/tests/specs/task/bin_package/task.out +++ b/tests/specs/task/bin_package/task.out @@ -1,4 +1,4 @@ -Download http://localhost:4260/@denotest/bin +Download http://localhost:4260/@denotest%2fbin Download http://localhost:4260/@denotest/bin/1.0.0.tgz Initialize @denotest/bin@1.0.0 Task sayhi cli-esm hi hello diff --git a/tests/specs/task/bin_pkg_with_scope_auto/bin_auto.out b/tests/specs/task/bin_pkg_with_scope_auto/bin_auto.out index 20865898e..1eb196a7a 100644 --- a/tests/specs/task/bin_pkg_with_scope_auto/bin_auto.out +++ b/tests/specs/task/bin_pkg_with_scope_auto/bin_auto.out @@ -1,4 +1,4 @@ -Download http://localhost:4260/@denotest/bin +Download http://localhost:4260/@denotest%2fbin [UNORDERED_START] Download http://localhost:4260/@denotest/bin/0.5.0.tgz Initialize @denotest/bin@0.5.0 diff --git a/tests/specs/task/bin_pkg_with_scope_auto/bin_none.out b/tests/specs/task/bin_pkg_with_scope_auto/bin_none.out index 066c67bd8..f44b234bf 100644 --- a/tests/specs/task/bin_pkg_with_scope_auto/bin_none.out +++ b/tests/specs/task/bin_pkg_with_scope_auto/bin_none.out @@ -1,4 +1,4 @@ -Download http://localhost:4260/@denotest/bin +Download http://localhost:4260/@denotest%2fbin [UNORDERED_START] Download http://localhost:4260/@denotest/bin/0.5.0.tgz Download http://localhost:4260/@denotest/bin/1.0.0.tgz diff --git a/tests/specs/task/bin_pkg_with_scope_none/bin_none.out b/tests/specs/task/bin_pkg_with_scope_none/bin_none.out index 066c67bd8..f44b234bf 100644 --- a/tests/specs/task/bin_pkg_with_scope_none/bin_none.out +++ b/tests/specs/task/bin_pkg_with_scope_none/bin_none.out @@ -1,4 +1,4 @@ -Download http://localhost:4260/@denotest/bin +Download http://localhost:4260/@denotest%2fbin [UNORDERED_START] Download http://localhost:4260/@denotest/bin/0.5.0.tgz Download http://localhost:4260/@denotest/bin/1.0.0.tgz diff --git a/tests/specs/task/both_package_json_selected/install.out b/tests/specs/task/both_package_json_selected/install.out index 645501a3d..08b70a0f2 100644 --- a/tests/specs/task/both_package_json_selected/install.out +++ b/tests/specs/task/both_package_json_selected/install.out @@ -1,3 +1,3 @@ -Download http://localhost:4260/@denotest/bin +Download http://localhost:4260/@denotest%2fbin Download http://localhost:4260/@denotest/bin/1.0.0.tgz Initialize @denotest/bin@1.0.0 diff --git a/tests/specs/task/package_json_node_modules_dir_none/bin.out b/tests/specs/task/package_json_node_modules_dir_none/bin.out index c86261d9e..ff60cc3d0 100644 --- a/tests/specs/task/package_json_node_modules_dir_none/bin.out +++ b/tests/specs/task/package_json_node_modules_dir_none/bin.out @@ -1,5 +1,5 @@ [UNORDERED_START] -Download http://localhost:4260/@denotest/bin +Download http://localhost:4260/@denotest%2fbin Download http://localhost:4260/@denotest/bin/1.0.0.tgz Download http://localhost:4260/@denotest/bin/0.5.0.tgz [UNORDERED_END] -- cgit v1.2.3