diff options
Diffstat (limited to 'tests/testdata/npm')
37 files changed, 225 insertions, 225 deletions
diff --git a/tests/testdata/npm/README.md b/tests/testdata/npm/README.md index c1d55bfb8..929a4cdce 100644 --- a/tests/testdata/npm/README.md +++ b/tests/testdata/npm/README.md @@ -5,7 +5,7 @@ This folder contains test data for npm specifiers. ## Registry The registry is served by the test server (server in `tests/util/server`) at -http://localhost:4558/ via the `./registry` folder. +http://localhost:4260/ via the `./registry` folder. ### Updating with real npm packages diff --git a/tests/testdata/npm/cached_only/main.out b/tests/testdata/npm/cached_only/main.out index 571ab329a..c4bfc1fc4 100644 --- a/tests/testdata/npm/cached_only/main.out +++ b/tests/testdata/npm/cached_only/main.out @@ -1,2 +1,2 @@ -error: Error getting response at http://localhost:4558/chalk for package "chalk": An npm specifier not found in cache: "chalk", --cached-only is specified. +error: Error getting response at http://localhost:4260/chalk for package "chalk": An npm specifier not found in cache: "chalk", --cached-only is specified. at file:///[WILDCARD]/testdata/npm/cached_only/main.ts:1:19 diff --git a/tests/testdata/npm/check_errors/main_all.out b/tests/testdata/npm/check_errors/main_all.out index c910db950..4c624c0ea 100644 --- a/tests/testdata/npm/check_errors/main_all.out +++ b/tests/testdata/npm/check_errors/main_all.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/@denotest/check-error -Download http://localhost:4558/@denotest/check-error/1.0.0.tgz +Download http://localhost:4260/@denotest/check-error +Download http://localhost:4260/@denotest/check-error/1.0.0.tgz Check file:///[WILDCARD]/check_errors/main.ts error: TS2506 [ERROR]: 'Class1' is referenced directly or indirectly in its own base expression. export class Class1 extends Class2 { diff --git a/tests/testdata/npm/check_errors/main_local.out b/tests/testdata/npm/check_errors/main_local.out index ad9b7a398..4d3a892e7 100644 --- a/tests/testdata/npm/check_errors/main_local.out +++ b/tests/testdata/npm/check_errors/main_local.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/@denotest/check-error -Download http://localhost:4558/@denotest/check-error/1.0.0.tgz +Download http://localhost:4260/@denotest/check-error +Download http://localhost:4260/@denotest/check-error/1.0.0.tgz Check file:///[WILDCARD]/check_errors/main.ts error: TS2339 [ERROR]: Property 'Asdf' does not exist on type 'typeof import("file:///[WILDCARD]/@denotest/check-error/1.0.0/index.d.ts")'. console.log(test.Asdf); // should error diff --git a/tests/testdata/npm/cjs_local_global_decls/main.out b/tests/testdata/npm/cjs_local_global_decls/main.out index 482acfeef..5e7a36c8d 100644 --- a/tests/testdata/npm/cjs_local_global_decls/main.out +++ b/tests/testdata/npm/cjs_local_global_decls/main.out @@ -1,3 +1,3 @@ -Download http://localhost:4558/@denotest/cjs-local-global-decls -Download http://localhost:4558/@denotest/cjs-local-global-decls/1.0.0.tgz +Download http://localhost:4260/@denotest/cjs-local-global-decls +Download http://localhost:4260/@denotest/cjs-local-global-decls/1.0.0.tgz Loaded. diff --git a/tests/testdata/npm/cjs_pkg_imports/main.out b/tests/testdata/npm/cjs_pkg_imports/main.out index d80c9fd12..661146bd0 100644 --- a/tests/testdata/npm/cjs_pkg_imports/main.out +++ b/tests/testdata/npm/cjs_pkg_imports/main.out @@ -1,3 +1,3 @@ -Download http://localhost:4558/@denotest/cjs-pkg-imports -Download http://localhost:4558/@denotest/cjs-pkg-imports/1.0.0.tgz +Download http://localhost:4260/@denotest/cjs-pkg-imports +Download http://localhost:4260/@denotest/cjs-pkg-imports/1.0.0.tgz { crypto: Crypto { subtle: SubtleCrypto {} }, number: 5 } diff --git a/tests/testdata/npm/cjs_sub_path/main.out b/tests/testdata/npm/cjs_sub_path/main.out index 554418ca4..868733775 100644 --- a/tests/testdata/npm/cjs_sub_path/main.out +++ b/tests/testdata/npm/cjs_sub_path/main.out @@ -1,35 +1,35 @@ [UNORDERED_START] -Download http://localhost:4558/ajv -Download http://localhost:4558/ajv-formats -Download http://localhost:4558/chai -Download http://localhost:4558/fast-deep-equal -Download http://localhost:4558/json-schema-traverse -Download http://localhost:4558/require-from-string -Download http://localhost:4558/uri-js -Download http://localhost:4558/assertion-error -Download http://localhost:4558/check-error -Download http://localhost:4558/deep-eql -Download http://localhost:4558/get-func-name -Download http://localhost:4558/loupe -Download http://localhost:4558/pathval -Download http://localhost:4558/type-detect -Download http://localhost:4558/punycode +Download http://localhost:4260/ajv +Download http://localhost:4260/ajv-formats +Download http://localhost:4260/chai +Download http://localhost:4260/fast-deep-equal +Download http://localhost:4260/json-schema-traverse +Download http://localhost:4260/require-from-string +Download http://localhost:4260/uri-js +Download http://localhost:4260/assertion-error +Download http://localhost:4260/check-error +Download http://localhost:4260/deep-eql +Download http://localhost:4260/get-func-name +Download http://localhost:4260/loupe +Download http://localhost:4260/pathval +Download http://localhost:4260/type-detect +Download http://localhost:4260/punycode [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/ajv/ajv-8.11.0.tgz -Download http://localhost:4558/ajv-formats/ajv-formats-2.1.1.tgz -Download http://localhost:4558/assertion-error/assertion-error-1.1.0.tgz -Download http://localhost:4558/chai/chai-4.3.6.tgz -Download http://localhost:4558/check-error/check-error-1.0.2.tgz -Download http://localhost:4558/deep-eql/deep-eql-3.0.1.tgz -Download http://localhost:4558/fast-deep-equal/fast-deep-equal-3.1.3.tgz -Download http://localhost:4558/get-func-name/get-func-name-2.0.0.tgz -Download http://localhost:4558/json-schema-traverse/json-schema-traverse-1.0.0.tgz -Download http://localhost:4558/loupe/loupe-2.3.4.tgz -Download http://localhost:4558/pathval/pathval-1.1.1.tgz -Download http://localhost:4558/punycode/punycode-2.1.1.tgz -Download http://localhost:4558/require-from-string/require-from-string-2.0.2.tgz -Download http://localhost:4558/type-detect/type-detect-4.0.8.tgz -Download http://localhost:4558/uri-js/uri-js-4.4.1.tgz +Download http://localhost:4260/ajv/ajv-8.11.0.tgz +Download http://localhost:4260/ajv-formats/ajv-formats-2.1.1.tgz +Download http://localhost:4260/assertion-error/assertion-error-1.1.0.tgz +Download http://localhost:4260/chai/chai-4.3.6.tgz +Download http://localhost:4260/check-error/check-error-1.0.2.tgz +Download http://localhost:4260/deep-eql/deep-eql-3.0.1.tgz +Download http://localhost:4260/fast-deep-equal/fast-deep-equal-3.1.3.tgz +Download http://localhost:4260/get-func-name/get-func-name-2.0.0.tgz +Download http://localhost:4260/json-schema-traverse/json-schema-traverse-1.0.0.tgz +Download http://localhost:4260/loupe/loupe-2.3.4.tgz +Download http://localhost:4260/pathval/pathval-1.1.1.tgz +Download http://localhost:4260/punycode/punycode-2.1.1.tgz +Download http://localhost:4260/require-from-string/require-from-string-2.0.2.tgz +Download http://localhost:4260/type-detect/type-detect-4.0.8.tgz +Download http://localhost:4260/uri-js/uri-js-4.4.1.tgz [UNORDERED_END] Fini diff --git a/tests/testdata/npm/cjs_with_deps/main.out b/tests/testdata/npm/cjs_with_deps/main.out index 087abe673..7051c2395 100644 --- a/tests/testdata/npm/cjs_with_deps/main.out +++ b/tests/testdata/npm/cjs_with_deps/main.out @@ -1,33 +1,33 @@ [UNORDERED_START] -Download http://localhost:4558/chalk -Download http://localhost:4558/chai -Download http://localhost:4558/ansi-styles -Download http://localhost:4558/supports-color -Download http://localhost:4558/assertion-error -Download http://localhost:4558/check-error -Download http://localhost:4558/deep-eql -Download http://localhost:4558/get-func-name -Download http://localhost:4558/loupe -Download http://localhost:4558/pathval -Download http://localhost:4558/type-detect -Download http://localhost:4558/color-convert -Download http://localhost:4558/has-flag -Download http://localhost:4558/color-name +Download http://localhost:4260/chalk +Download http://localhost:4260/chai +Download http://localhost:4260/ansi-styles +Download http://localhost:4260/supports-color +Download http://localhost:4260/assertion-error +Download http://localhost:4260/check-error +Download http://localhost:4260/deep-eql +Download http://localhost:4260/get-func-name +Download http://localhost:4260/loupe +Download http://localhost:4260/pathval +Download http://localhost:4260/type-detect +Download http://localhost:4260/color-convert +Download http://localhost:4260/has-flag +Download http://localhost:4260/color-name [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/ansi-styles/ansi-styles-4.3.0.tgz -Download http://localhost:4558/assertion-error/assertion-error-1.1.0.tgz -Download http://localhost:4558/chai/chai-4.3.6.tgz -Download http://localhost:4558/chalk/chalk-4.1.2.tgz -Download http://localhost:4558/check-error/check-error-1.0.2.tgz -Download http://localhost:4558/color-convert/color-convert-2.0.1.tgz -Download http://localhost:4558/color-name/color-name-1.1.4.tgz -Download http://localhost:4558/deep-eql/deep-eql-3.0.1.tgz -Download http://localhost:4558/get-func-name/get-func-name-2.0.0.tgz -Download http://localhost:4558/has-flag/has-flag-4.0.0.tgz -Download http://localhost:4558/loupe/loupe-2.3.4.tgz -Download http://localhost:4558/pathval/pathval-1.1.1.tgz -Download http://localhost:4558/supports-color/supports-color-7.2.0.tgz -Download http://localhost:4558/type-detect/type-detect-4.0.8.tgz +Download http://localhost:4260/ansi-styles/ansi-styles-4.3.0.tgz +Download http://localhost:4260/assertion-error/assertion-error-1.1.0.tgz +Download http://localhost:4260/chai/chai-4.3.6.tgz +Download http://localhost:4260/chalk/chalk-4.1.2.tgz +Download http://localhost:4260/check-error/check-error-1.0.2.tgz +Download http://localhost:4260/color-convert/color-convert-2.0.1.tgz +Download http://localhost:4260/color-name/color-name-1.1.4.tgz +Download http://localhost:4260/deep-eql/deep-eql-3.0.1.tgz +Download http://localhost:4260/get-func-name/get-func-name-2.0.0.tgz +Download http://localhost:4260/has-flag/has-flag-4.0.0.tgz +Download http://localhost:4260/loupe/loupe-2.3.4.tgz +Download http://localhost:4260/pathval/pathval-1.1.1.tgz +Download http://localhost:4260/supports-color/supports-color-7.2.0.tgz +Download http://localhost:4260/type-detect/type-detect-4.0.8.tgz [UNORDERED_END] chalk cjs loads diff --git a/tests/testdata/npm/cjs_with_deps/main_node_modules.out b/tests/testdata/npm/cjs_with_deps/main_node_modules.out index 1ed0dee18..1ab367952 100644 --- a/tests/testdata/npm/cjs_with_deps/main_node_modules.out +++ b/tests/testdata/npm/cjs_with_deps/main_node_modules.out @@ -1,47 +1,47 @@ [UNORDERED_START] -Download http://localhost:4558/chalk -Download http://localhost:4558/chai -Download http://localhost:4558/ansi-styles -Download http://localhost:4558/supports-color -Download http://localhost:4558/assertion-error -Download http://localhost:4558/check-error -Download http://localhost:4558/deep-eql -Download http://localhost:4558/get-func-name -Download http://localhost:4558/loupe -Download http://localhost:4558/pathval -Download http://localhost:4558/type-detect -Download http://localhost:4558/color-convert -Download http://localhost:4558/has-flag -Download http://localhost:4558/color-name +Download http://localhost:4260/chalk +Download http://localhost:4260/chai +Download http://localhost:4260/ansi-styles +Download http://localhost:4260/supports-color +Download http://localhost:4260/assertion-error +Download http://localhost:4260/check-error +Download http://localhost:4260/deep-eql +Download http://localhost:4260/get-func-name +Download http://localhost:4260/loupe +Download http://localhost:4260/pathval +Download http://localhost:4260/type-detect +Download http://localhost:4260/color-convert +Download http://localhost:4260/has-flag +Download http://localhost:4260/color-name [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/ansi-styles/ansi-styles-4.3.0.tgz +Download http://localhost:4260/ansi-styles/ansi-styles-4.3.0.tgz Initialize ansi-styles@4.3.0 -Download http://localhost:4558/assertion-error/assertion-error-1.1.0.tgz +Download http://localhost:4260/assertion-error/assertion-error-1.1.0.tgz Initialize assertion-error@1.1.0 -Download http://localhost:4558/chai/chai-4.3.6.tgz +Download http://localhost:4260/chai/chai-4.3.6.tgz Initialize chai@4.3.6 -Download http://localhost:4558/chalk/chalk-4.1.2.tgz +Download http://localhost:4260/chalk/chalk-4.1.2.tgz Initialize chalk@4.1.2 -Download http://localhost:4558/check-error/check-error-1.0.2.tgz +Download http://localhost:4260/check-error/check-error-1.0.2.tgz Initialize check-error@1.0.2 -Download http://localhost:4558/color-convert/color-convert-2.0.1.tgz +Download http://localhost:4260/color-convert/color-convert-2.0.1.tgz Initialize color-convert@2.0.1 -Download http://localhost:4558/color-name/color-name-1.1.4.tgz +Download http://localhost:4260/color-name/color-name-1.1.4.tgz Initialize color-name@1.1.4 -Download http://localhost:4558/deep-eql/deep-eql-3.0.1.tgz +Download http://localhost:4260/deep-eql/deep-eql-3.0.1.tgz Initialize deep-eql@3.0.1 -Download http://localhost:4558/get-func-name/get-func-name-2.0.0.tgz +Download http://localhost:4260/get-func-name/get-func-name-2.0.0.tgz Initialize get-func-name@2.0.0 -Download http://localhost:4558/has-flag/has-flag-4.0.0.tgz +Download http://localhost:4260/has-flag/has-flag-4.0.0.tgz Initialize has-flag@4.0.0 -Download http://localhost:4558/loupe/loupe-2.3.4.tgz +Download http://localhost:4260/loupe/loupe-2.3.4.tgz Initialize loupe@2.3.4 -Download http://localhost:4558/pathval/pathval-1.1.1.tgz +Download http://localhost:4260/pathval/pathval-1.1.1.tgz Initialize pathval@1.1.1 -Download http://localhost:4558/supports-color/supports-color-7.2.0.tgz +Download http://localhost:4260/supports-color/supports-color-7.2.0.tgz Initialize supports-color@7.2.0 -Download http://localhost:4558/type-detect/type-detect-4.0.8.tgz +Download http://localhost:4260/type-detect/type-detect-4.0.8.tgz Initialize type-detect@4.0.8 [UNORDERED_END] chalk cjs loads diff --git a/tests/testdata/npm/cjs_yargs/main.out b/tests/testdata/npm/cjs_yargs/main.out index 27d452206..938d7a771 100644 --- a/tests/testdata/npm/cjs_yargs/main.out +++ b/tests/testdata/npm/cjs_yargs/main.out @@ -1,83 +1,83 @@ [UNORDERED_START] -Download http://localhost:4558/yargs -Download http://localhost:4558/cliui -Download http://localhost:4558/decamelize -Download http://localhost:4558/find-up -Download http://localhost:4558/get-caller-file -Download http://localhost:4558/require-directory -Download http://localhost:4558/require-main-filename -Download http://localhost:4558/set-blocking -Download http://localhost:4558/string-width -Download http://localhost:4558/which-module -Download http://localhost:4558/y18n -Download http://localhost:4558/yargs-parser -Download http://localhost:4558/strip-ansi -Download http://localhost:4558/wrap-ansi -Download http://localhost:4558/locate-path -Download http://localhost:4558/path-exists -Download http://localhost:4558/emoji-regex -Download http://localhost:4558/is-fullwidth-code-point -Download http://localhost:4558/camelcase -Download http://localhost:4558/ansi-regex -Download http://localhost:4558/ansi-styles -Download http://localhost:4558/p-locate -Download http://localhost:4558/color-convert -Download http://localhost:4558/p-limit -Download http://localhost:4558/color-name -Download http://localhost:4558/p-try +Download http://localhost:4260/yargs +Download http://localhost:4260/cliui +Download http://localhost:4260/decamelize +Download http://localhost:4260/find-up +Download http://localhost:4260/get-caller-file +Download http://localhost:4260/require-directory +Download http://localhost:4260/require-main-filename +Download http://localhost:4260/set-blocking +Download http://localhost:4260/string-width +Download http://localhost:4260/which-module +Download http://localhost:4260/y18n +Download http://localhost:4260/yargs-parser +Download http://localhost:4260/strip-ansi +Download http://localhost:4260/wrap-ansi +Download http://localhost:4260/locate-path +Download http://localhost:4260/path-exists +Download http://localhost:4260/emoji-regex +Download http://localhost:4260/is-fullwidth-code-point +Download http://localhost:4260/camelcase +Download http://localhost:4260/ansi-regex +Download http://localhost:4260/ansi-styles +Download http://localhost:4260/p-locate +Download http://localhost:4260/color-convert +Download http://localhost:4260/p-limit +Download http://localhost:4260/color-name +Download http://localhost:4260/p-try [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/ansi-regex/ansi-regex-5.0.1.tgz +Download http://localhost:4260/ansi-regex/ansi-regex-5.0.1.tgz Initialize ansi-regex@5.0.1 -Download http://localhost:4558/ansi-styles/ansi-styles-4.3.0.tgz +Download http://localhost:4260/ansi-styles/ansi-styles-4.3.0.tgz Initialize ansi-styles@4.3.0 -Download http://localhost:4558/camelcase/camelcase-5.3.1.tgz +Download http://localhost:4260/camelcase/camelcase-5.3.1.tgz Initialize camelcase@5.3.1 -Download http://localhost:4558/cliui/cliui-6.0.0.tgz +Download http://localhost:4260/cliui/cliui-6.0.0.tgz Initialize cliui@6.0.0 -Download http://localhost:4558/color-convert/color-convert-2.0.1.tgz +Download http://localhost:4260/color-convert/color-convert-2.0.1.tgz Initialize color-convert@2.0.1 -Download http://localhost:4558/color-name/color-name-1.1.4.tgz +Download http://localhost:4260/color-name/color-name-1.1.4.tgz Initialize color-name@1.1.4 -Download http://localhost:4558/decamelize/decamelize-1.2.0.tgz +Download http://localhost:4260/decamelize/decamelize-1.2.0.tgz Initialize decamelize@1.2.0 -Download http://localhost:4558/emoji-regex/emoji-regex-8.0.0.tgz +Download http://localhost:4260/emoji-regex/emoji-regex-8.0.0.tgz Initialize emoji-regex@8.0.0 -Download http://localhost:4558/find-up/find-up-4.1.0.tgz +Download http://localhost:4260/find-up/find-up-4.1.0.tgz Initialize find-up@4.1.0 -Download http://localhost:4558/get-caller-file/get-caller-file-2.0.5.tgz +Download http://localhost:4260/get-caller-file/get-caller-file-2.0.5.tgz Initialize get-caller-file@2.0.5 -Download http://localhost:4558/is-fullwidth-code-point/is-fullwidth-code-point-3.0.0.tgz +Download http://localhost:4260/is-fullwidth-code-point/is-fullwidth-code-point-3.0.0.tgz Initialize is-fullwidth-code-point@3.0.0 -Download http://localhost:4558/locate-path/locate-path-5.0.0.tgz +Download http://localhost:4260/locate-path/locate-path-5.0.0.tgz Initialize locate-path@5.0.0 -Download http://localhost:4558/p-limit/p-limit-2.3.0.tgz +Download http://localhost:4260/p-limit/p-limit-2.3.0.tgz Initialize p-limit@2.3.0 -Download http://localhost:4558/p-locate/p-locate-4.1.0.tgz +Download http://localhost:4260/p-locate/p-locate-4.1.0.tgz Initialize p-locate@4.1.0 -Download http://localhost:4558/p-try/p-try-2.2.0.tgz +Download http://localhost:4260/p-try/p-try-2.2.0.tgz Initialize p-try@2.2.0 -Download http://localhost:4558/path-exists/path-exists-4.0.0.tgz +Download http://localhost:4260/path-exists/path-exists-4.0.0.tgz Initialize path-exists@4.0.0 -Download http://localhost:4558/require-directory/require-directory-2.1.1.tgz +Download http://localhost:4260/require-directory/require-directory-2.1.1.tgz Initialize require-directory@2.1.1 -Download http://localhost:4558/require-main-filename/require-main-filename-2.0.0.tgz +Download http://localhost:4260/require-main-filename/require-main-filename-2.0.0.tgz Initialize require-main-filename@2.0.0 -Download http://localhost:4558/set-blocking/set-blocking-2.0.0.tgz +Download http://localhost:4260/set-blocking/set-blocking-2.0.0.tgz Initialize set-blocking@2.0.0 -Download http://localhost:4558/string-width/string-width-4.2.3.tgz +Download http://localhost:4260/string-width/string-width-4.2.3.tgz Initialize string-width@4.2.3 -Download http://localhost:4558/strip-ansi/strip-ansi-6.0.1.tgz +Download http://localhost:4260/strip-ansi/strip-ansi-6.0.1.tgz Initialize strip-ansi@6.0.1 -Download http://localhost:4558/which-module/which-module-2.0.0.tgz +Download http://localhost:4260/which-module/which-module-2.0.0.tgz Initialize which-module@2.0.0 -Download http://localhost:4558/wrap-ansi/wrap-ansi-6.2.0.tgz +Download http://localhost:4260/wrap-ansi/wrap-ansi-6.2.0.tgz Initialize wrap-ansi@6.2.0 -Download http://localhost:4558/y18n/y18n-4.0.3.tgz +Download http://localhost:4260/y18n/y18n-4.0.3.tgz Initialize y18n@4.0.3 -Download http://localhost:4558/yargs/yargs-15.4.1.tgz +Download http://localhost:4260/yargs/yargs-15.4.1.tgz Initialize yargs@15.4.1 -Download http://localhost:4558/yargs-parser/yargs-parser-18.1.3.tgz +Download http://localhost:4260/yargs-parser/yargs-parser-18.1.3.tgz Initialize yargs-parser@18.1.3 [UNORDERED_END] start server on :8000 diff --git a/tests/testdata/npm/compare_globals/main.out b/tests/testdata/npm/compare_globals/main.out index 5f29016eb..5af536657 100644 --- a/tests/testdata/npm/compare_globals/main.out +++ b/tests/testdata/npm/compare_globals/main.out @@ -1,10 +1,10 @@ [UNORDERED_START] -Download http://localhost:4558/@types/node -Download http://localhost:4558/@denotest/globals +Download http://localhost:4260/@types/node +Download http://localhost:4260/@denotest/globals [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/@denotest/globals/1.0.0.tgz -Download http://localhost:4558/@types/node/node-18.16.19.tgz +Download http://localhost:4260/@denotest/globals/1.0.0.tgz +Download http://localhost:4260/@types/node/node-18.16.19.tgz [UNORDERED_END] Check file:///[WILDCARD]/npm/compare_globals/main.ts true diff --git a/tests/testdata/npm/d_ext/main.out b/tests/testdata/npm/d_ext/main.out index a2c9ff9d7..5c22a76a0 100644 --- a/tests/testdata/npm/d_ext/main.out +++ b/tests/testdata/npm/d_ext/main.out @@ -1,3 +1,3 @@ -Download http://localhost:4558/@denotest/d-ext -Download http://localhost:4558/@denotest/d-ext/1.0.0.tgz +Download http://localhost:4260/@denotest/d-ext +Download http://localhost:4260/@denotest/d-ext/1.0.0.tgz Check file:///[WILDCARD]/npm/d_ext/main.ts diff --git a/tests/testdata/npm/deno_cache.out b/tests/testdata/npm/deno_cache.out index 48e4b37ce..d723293a8 100644 --- a/tests/testdata/npm/deno_cache.out +++ b/tests/testdata/npm/deno_cache.out @@ -1,8 +1,8 @@ [UNORDERED_START] -Download http://localhost:4558/chalk -Download http://localhost:4558/mkdirp +Download http://localhost:4260/chalk +Download http://localhost:4260/mkdirp [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/chalk/chalk-5.0.1.tgz -Download http://localhost:4558/mkdirp/mkdirp-1.0.4.tgz +Download http://localhost:4260/chalk/chalk-5.0.1.tgz +Download http://localhost:4260/mkdirp/mkdirp-1.0.4.tgz [UNORDERED_END] diff --git a/tests/testdata/npm/deno_run_non_existent.out b/tests/testdata/npm/deno_run_non_existent.out index 0ee8be7c5..b769eab8d 100644 --- a/tests/testdata/npm/deno_run_non_existent.out +++ b/tests/testdata/npm/deno_run_non_existent.out @@ -1,3 +1,3 @@ -Download http://localhost:4558/mkdirp -Download http://localhost:4558/mkdirp +Download http://localhost:4260/mkdirp +Download http://localhost:4260/mkdirp error: Could not find npm package 'mkdirp' matching '0.5.125'. diff --git a/tests/testdata/npm/directory_import/folder_index_js.out b/tests/testdata/npm/directory_import/folder_index_js.out index 3f8598fcf..a700b8fdb 100644 --- a/tests/testdata/npm/directory_import/folder_index_js.out +++ b/tests/testdata/npm/directory_import/folder_index_js.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/@denotest/sub-folders -Download http://localhost:4558/@denotest/sub-folders/1.0.0.tgz +Download http://localhost:4260/@denotest/sub-folders +Download http://localhost:4260/@denotest/sub-folders/1.0.0.tgz error: Directory import [WILDCARD]folder_index_js is not supported resolving import from file:///[WILDCARD]/directory_import/folder_index_js.ts Did you mean to import index.js within the directory? diff --git a/tests/testdata/npm/directory_import/folder_no_index.out b/tests/testdata/npm/directory_import/folder_no_index.out index 36e76944b..844419b4c 100644 --- a/tests/testdata/npm/directory_import/folder_no_index.out +++ b/tests/testdata/npm/directory_import/folder_no_index.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/@denotest/sub-folders -Download http://localhost:4558/@denotest/sub-folders/1.0.0.tgz +Download http://localhost:4260/@denotest/sub-folders +Download http://localhost:4260/@denotest/sub-folders/1.0.0.tgz error: Directory import [WILDCARD]folder_no_index is not supported resolving import from file:///[WILDCARD]/folder_no_index.ts Caused by: diff --git a/tests/testdata/npm/dynamic_import/main.out b/tests/testdata/npm/dynamic_import/main.out index 2e9ace9f3..e017536c0 100644 --- a/tests/testdata/npm/dynamic_import/main.out +++ b/tests/testdata/npm/dynamic_import/main.out @@ -1,6 +1,6 @@ A -Download http://localhost:4558/chalk -Download http://localhost:4558/chalk/chalk-5.0.1.tgz +Download http://localhost:4260/chalk +Download http://localhost:4260/chalk/chalk-5.0.1.tgz B C devDependency import failed: TypeError: Relative import path "xo"[WILDCARD]
\ No newline at end of file diff --git a/tests/testdata/npm/dynamic_import_invalid_package_name/main.out b/tests/testdata/npm/dynamic_import_invalid_package_name/main.out index 59922a666..414d08795 100644 --- a/tests/testdata/npm/dynamic_import_invalid_package_name/main.out +++ b/tests/testdata/npm/dynamic_import_invalid_package_name/main.out @@ -1,4 +1,4 @@ -Download http://localhost:4558/ws%3A +Download http://localhost:4260/ws%3A FAILED TypeError: npm package 'ws:' does not exist. at async file:///[WILDCARD]/dynamic_import_invalid_package_name/main.ts:2:3 { diff --git a/tests/testdata/npm/dynamic_import_reload_same_package/main.out b/tests/testdata/npm/dynamic_import_reload_same_package/main.out index 5cb039d13..b2f99b465 100644 --- a/tests/testdata/npm/dynamic_import_reload_same_package/main.out +++ b/tests/testdata/npm/dynamic_import_reload_same_package/main.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/chalk -Download http://localhost:4558/chalk/chalk-5.0.1.tgz +Download http://localhost:4260/chalk +Download http://localhost:4260/chalk/chalk-5.0.1.tgz Starting... Ran other. Finished... diff --git a/tests/testdata/npm/file_dts_dmts_dcts/main.out b/tests/testdata/npm/file_dts_dmts_dcts/main.out index ff3077bc1..507d2c2f7 100644 --- a/tests/testdata/npm/file_dts_dmts_dcts/main.out +++ b/tests/testdata/npm/file_dts_dmts_dcts/main.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/@denotest/file-dts-dmts-dcts -Download http://localhost:4558/@denotest/file-dts-dmts-dcts/1.0.0.tgz +Download http://localhost:4260/@denotest/file-dts-dmts-dcts +Download http://localhost:4260/@denotest/file-dts-dmts-dcts/1.0.0.tgz Check file:///[WILDCARD]/main.ts error: TS2322 [ERROR]: Type '5' is not assignable to type '"dts"'. const value1: Dts1 = 5; diff --git a/tests/testdata/npm/import_map/main.out b/tests/testdata/npm/import_map/main.out index 6effa1271..05f313d4e 100644 --- a/tests/testdata/npm/import_map/main.out +++ b/tests/testdata/npm/import_map/main.out @@ -1,10 +1,10 @@ [UNORDERED_START] -Download http://localhost:4558/chalk -Download http://localhost:4558/@denotest/dual-cjs-esm +Download http://localhost:4260/chalk +Download http://localhost:4260/@denotest/dual-cjs-esm [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/@denotest/dual-cjs-esm/1.0.0.tgz -Download http://localhost:4558/chalk/chalk-5.0.1.tgz +Download http://localhost:4260/@denotest/dual-cjs-esm/1.0.0.tgz +Download http://localhost:4260/chalk/chalk-5.0.1.tgz [UNORDERED_END] chalk import map loads esm diff --git a/tests/testdata/npm/imports_package_json/import_not_defined.out b/tests/testdata/npm/imports_package_json/import_not_defined.out index 102025bdf..8baf5bb18 100644 --- a/tests/testdata/npm/imports_package_json/import_not_defined.out +++ b/tests/testdata/npm/imports_package_json/import_not_defined.out @@ -1,3 +1,3 @@ -Download http://localhost:4558/@denotest/imports-package-json -Download http://localhost:4558/@denotest/imports-package-json/1.0.0.tgz +Download http://localhost:4260/@denotest/imports-package-json +Download http://localhost:4260/@denotest/imports-package-json/1.0.0.tgz error: [ERR_PACKAGE_IMPORT_NOT_DEFINED] Package import specifier "#not-defined" is not defined in package [WILDCARD]package.json imported from [WILDCARD]import_not_defined.js diff --git a/tests/testdata/npm/imports_package_json/main.out b/tests/testdata/npm/imports_package_json/main.out index f11e04402..979e35576 100644 --- a/tests/testdata/npm/imports_package_json/main.out +++ b/tests/testdata/npm/imports_package_json/main.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/@denotest/imports-package-json -Download http://localhost:4558/@denotest/imports-package-json/1.0.0.tgz +Download http://localhost:4260/@denotest/imports-package-json +Download http://localhost:4260/@denotest/imports-package-json/1.0.0.tgz hi bye function diff --git a/tests/testdata/npm/imports_package_json/sub_path_import_not_defined.out b/tests/testdata/npm/imports_package_json/sub_path_import_not_defined.out index 1bfd8c8b5..98ca8bde6 100644 --- a/tests/testdata/npm/imports_package_json/sub_path_import_not_defined.out +++ b/tests/testdata/npm/imports_package_json/sub_path_import_not_defined.out @@ -1,3 +1,3 @@ -Download http://localhost:4558/@denotest/imports-package-json -Download http://localhost:4558/@denotest/imports-package-json/1.0.0.tgz +Download http://localhost:4260/@denotest/imports-package-json +Download http://localhost:4260/@denotest/imports-package-json/1.0.0.tgz error: [ERR_PACKAGE_IMPORT_NOT_DEFINED] Package import specifier "#hi" is not defined in package [WILDCARD]sub_path[WILDCARD]package.json imported from [WILDCARD]import_not_defined.js diff --git a/tests/testdata/npm/mixed_case_package_name/global.out b/tests/testdata/npm/mixed_case_package_name/global.out index a33c48a73..fdacea385 100644 --- a/tests/testdata/npm/mixed_case_package_name/global.out +++ b/tests/testdata/npm/mixed_case_package_name/global.out @@ -1,9 +1,9 @@ [UNORDERED_START] -Download http://localhost:4558/@denotest/MixedCase -Download http://localhost:4558/@denotest/CAPITALS +Download http://localhost:4260/@denotest/MixedCase +Download http://localhost:4260/@denotest/CAPITALS [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/@denotest/CAPITALS/1.0.0.tgz -Download http://localhost:4558/@denotest/MixedCase/1.0.0.tgz +Download http://localhost:4260/@denotest/CAPITALS/1.0.0.tgz +Download http://localhost:4260/@denotest/MixedCase/1.0.0.tgz [UNORDERED_END] 5 diff --git a/tests/testdata/npm/mixed_case_package_name/local.out b/tests/testdata/npm/mixed_case_package_name/local.out index e2a9a3b81..6ab989d80 100644 --- a/tests/testdata/npm/mixed_case_package_name/local.out +++ b/tests/testdata/npm/mixed_case_package_name/local.out @@ -1,11 +1,11 @@ [UNORDERED_START] -Download http://localhost:4558/@denotest/MixedCase -Download http://localhost:4558/@denotest/CAPITALS +Download http://localhost:4260/@denotest/MixedCase +Download http://localhost:4260/@denotest/CAPITALS [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/@denotest/CAPITALS/1.0.0.tgz +Download http://localhost:4260/@denotest/CAPITALS/1.0.0.tgz Initialize @denotest/CAPITALS@1.0.0 -Download http://localhost:4558/@denotest/MixedCase/1.0.0.tgz +Download http://localhost:4260/@denotest/MixedCase/1.0.0.tgz Initialize @denotest/MixedCase@1.0.0 [UNORDERED_END] 5 diff --git a/tests/testdata/npm/no_types_in_conditional_exports/main.out b/tests/testdata/npm/no_types_in_conditional_exports/main.out index 798ab28ab..46c583234 100644 --- a/tests/testdata/npm/no_types_in_conditional_exports/main.out +++ b/tests/testdata/npm/no_types_in_conditional_exports/main.out @@ -1,4 +1,4 @@ -Download http://localhost:4558/@denotest/no-types-in-conditional-exports -Download http://localhost:4558/@denotest/no-types-in-conditional-exports/1.0.0.tgz +Download http://localhost:4260/@denotest/no-types-in-conditional-exports +Download http://localhost:4260/@denotest/no-types-in-conditional-exports/1.0.0.tgz Check [WILDCARD]npm/no_types_in_conditional_exports/main.ts { foo: "bar" } diff --git a/tests/testdata/npm/peer_deps_with_copied_folders/main.out b/tests/testdata/npm/peer_deps_with_copied_folders/main.out index a0a4bde55..3c133bcde 100644 --- a/tests/testdata/npm/peer_deps_with_copied_folders/main.out +++ b/tests/testdata/npm/peer_deps_with_copied_folders/main.out @@ -1,14 +1,14 @@ [UNORDERED_START] -Download http://localhost:4558/@denotest/peer-dep-test-child -Download http://localhost:4558/@denotest/peer-dep-test-grandchild -Download http://localhost:4558/@denotest/peer-dep-test-peer +Download http://localhost:4260/@denotest/peer-dep-test-child +Download http://localhost:4260/@denotest/peer-dep-test-grandchild +Download http://localhost:4260/@denotest/peer-dep-test-peer [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/@denotest/peer-dep-test-child/1.0.0.tgz -Download http://localhost:4558/@denotest/peer-dep-test-child/2.0.0.tgz -Download http://localhost:4558/@denotest/peer-dep-test-grandchild/1.0.0.tgz -Download http://localhost:4558/@denotest/peer-dep-test-peer/1.0.0.tgz -Download http://localhost:4558/@denotest/peer-dep-test-peer/2.0.0.tgz +Download http://localhost:4260/@denotest/peer-dep-test-child/1.0.0.tgz +Download http://localhost:4260/@denotest/peer-dep-test-child/2.0.0.tgz +Download http://localhost:4260/@denotest/peer-dep-test-grandchild/1.0.0.tgz +Download http://localhost:4260/@denotest/peer-dep-test-peer/1.0.0.tgz +Download http://localhost:4260/@denotest/peer-dep-test-peer/2.0.0.tgz [UNORDERED_END] 1 2 diff --git a/tests/testdata/npm/peer_deps_with_copied_folders/main_node_modules_reload.out b/tests/testdata/npm/peer_deps_with_copied_folders/main_node_modules_reload.out index 74b19be0d..9c8145211 100644 --- a/tests/testdata/npm/peer_deps_with_copied_folders/main_node_modules_reload.out +++ b/tests/testdata/npm/peer_deps_with_copied_folders/main_node_modules_reload.out @@ -1,18 +1,18 @@ [UNORDERED_START] -Download http://localhost:4558/@denotest/peer-dep-test-child -Download http://localhost:4558/@denotest/peer-dep-test-grandchild -Download http://localhost:4558/@denotest/peer-dep-test-peer +Download http://localhost:4260/@denotest/peer-dep-test-child +Download http://localhost:4260/@denotest/peer-dep-test-grandchild +Download http://localhost:4260/@denotest/peer-dep-test-peer [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/@denotest/peer-dep-test-child/1.0.0.tgz +Download http://localhost:4260/@denotest/peer-dep-test-child/1.0.0.tgz Initialize @denotest/peer-dep-test-child@1.0.0 -Download http://localhost:4558/@denotest/peer-dep-test-child/2.0.0.tgz +Download http://localhost:4260/@denotest/peer-dep-test-child/2.0.0.tgz Initialize @denotest/peer-dep-test-child@2.0.0 -Download http://localhost:4558/@denotest/peer-dep-test-grandchild/1.0.0.tgz +Download http://localhost:4260/@denotest/peer-dep-test-grandchild/1.0.0.tgz Initialize @denotest/peer-dep-test-grandchild@1.0.0 -Download http://localhost:4558/@denotest/peer-dep-test-peer/1.0.0.tgz +Download http://localhost:4260/@denotest/peer-dep-test-peer/1.0.0.tgz Initialize @denotest/peer-dep-test-peer@1.0.0 -Download http://localhost:4558/@denotest/peer-dep-test-peer/2.0.0.tgz +Download http://localhost:4260/@denotest/peer-dep-test-peer/2.0.0.tgz Initialize @denotest/peer-dep-test-peer@2.0.0 [UNORDERED_END] 1 diff --git a/tests/testdata/npm/permissions_outside_package/main.out b/tests/testdata/npm/permissions_outside_package/main.out index 9b03fc6b9..089f329c4 100644 --- a/tests/testdata/npm/permissions_outside_package/main.out +++ b/tests/testdata/npm/permissions_outside_package/main.out @@ -1,3 +1,3 @@ -Download http://localhost:4558/@denotest/permissions-outside-package -Download http://localhost:4558/@denotest/permissions-outside-package/1.0.0.tgz +Download http://localhost:4260/@denotest/permissions-outside-package +Download http://localhost:4260/@denotest/permissions-outside-package/1.0.0.tgz { name: "foobar", version: "0.0.1" } diff --git a/tests/testdata/npm/reserved_word_exports/main.out b/tests/testdata/npm/reserved_word_exports/main.out index 0591f1386..ccfd35bc8 100644 --- a/tests/testdata/npm/reserved_word_exports/main.out +++ b/tests/testdata/npm/reserved_word_exports/main.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/@denotest/reserved-word-exports -Download http://localhost:4558/@denotest/reserved-word-exports/1.0.0.tgz +Download http://localhost:4260/@denotest/reserved-word-exports +Download http://localhost:4260/@denotest/reserved-word-exports/1.0.0.tgz [Module: null prototype] { abstract: "abstract", arguments: "arguments", diff --git a/tests/testdata/npm/run_existing_npm_package/main.out b/tests/testdata/npm/run_existing_npm_package/main.out index 7efae72f6..147ed6a99 100644 --- a/tests/testdata/npm/run_existing_npm_package/main.out +++ b/tests/testdata/npm/run_existing_npm_package/main.out @@ -1,3 +1,3 @@ -Download http://localhost:4558/@denotest/bin -Download http://localhost:4558/@denotest/bin/0.5.0.tgz +Download http://localhost:4260/@denotest/bin +Download http://localhost:4260/@denotest/bin/0.5.0.tgz Initialize @denotest/bin@0.5.0 diff --git a/tests/testdata/npm/run_existing_npm_package_with_subpath/main.out b/tests/testdata/npm/run_existing_npm_package_with_subpath/main.out index 83373acde..f6ee03ef1 100644 --- a/tests/testdata/npm/run_existing_npm_package_with_subpath/main.out +++ b/tests/testdata/npm/run_existing_npm_package_with_subpath/main.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/@denotest/bin -Download http://localhost:4558/@denotest/bin/1.0.0.tgz +Download http://localhost:4260/@denotest/bin +Download http://localhost:4260/@denotest/bin/1.0.0.tgz Initialize @denotest/bin@1.0.0 dev --help diff --git a/tests/testdata/npm/types_entry_value_not_exists/main.out b/tests/testdata/npm/types_entry_value_not_exists/main.out index 7119547d9..017a17ea2 100644 --- a/tests/testdata/npm/types_entry_value_not_exists/main.out +++ b/tests/testdata/npm/types_entry_value_not_exists/main.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/@denotest/types-entry-value-not-exists -Download http://localhost:4558/@denotest/types-entry-value-not-exists/1.0.0.tgz +Download http://localhost:4260/@denotest/types-entry-value-not-exists +Download http://localhost:4260/@denotest/types-entry-value-not-exists/1.0.0.tgz Check file://[WILDCARD]/types_entry_value_not_exists/main.ts error: TS2322 [ERROR]: Type 'number' is not assignable to type 'string'. const result: string = getValue(); diff --git a/tests/testdata/npm/types_exports_import_types/main.out b/tests/testdata/npm/types_exports_import_types/main.out index 8441e7a44..10f9425ca 100644 --- a/tests/testdata/npm/types_exports_import_types/main.out +++ b/tests/testdata/npm/types_exports_import_types/main.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/@denotest/types-exports-import-types -Download http://localhost:4558/@denotest/types-exports-import-types/1.0.0.tgz +Download http://localhost:4260/@denotest/types-exports-import-types +Download http://localhost:4260/@denotest/types-exports-import-types/1.0.0.tgz Check file://[WILDCARD]/types_exports_import_types/main.ts error: TS2322 [ERROR]: Type 'number' is not assignable to type 'string'. const result: string = getValue(); diff --git a/tests/testdata/npm/types_no_types_entry/main.out b/tests/testdata/npm/types_no_types_entry/main.out index e72d90ab2..53e872eaf 100644 --- a/tests/testdata/npm/types_no_types_entry/main.out +++ b/tests/testdata/npm/types_no_types_entry/main.out @@ -1,10 +1,10 @@ [UNORDERED_START] -Download http://localhost:4558/@denotest/types-no-types-entry -Download http://localhost:4558/@denotest/types-entry-value-not-exists +Download http://localhost:4260/@denotest/types-no-types-entry +Download http://localhost:4260/@denotest/types-entry-value-not-exists [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4558/@denotest/types-entry-value-not-exists/1.0.0.tgz -Download http://localhost:4558/@denotest/types-no-types-entry/1.0.0.tgz +Download http://localhost:4260/@denotest/types-entry-value-not-exists/1.0.0.tgz +Download http://localhost:4260/@denotest/types-no-types-entry/1.0.0.tgz [UNORDERED_END] Check file://[WILDCARD]/types_no_types_entry/main.ts error: TS2322 [ERROR]: Type 'number' is not assignable to type 'string'. diff --git a/tests/testdata/npm/typescript_file_in_package/main.out b/tests/testdata/npm/typescript_file_in_package/main.out index 14c6b8f06..3c3b97190 100644 --- a/tests/testdata/npm/typescript_file_in_package/main.out +++ b/tests/testdata/npm/typescript_file_in_package/main.out @@ -1,5 +1,5 @@ -Download http://localhost:4558/@denotest/typescript-file -Download http://localhost:4558/@denotest/typescript-file/1.0.0.tgz +Download http://localhost:4260/@denotest/typescript-file +Download http://localhost:4260/@denotest/typescript-file/1.0.0.tgz error: Could not resolve 'npm:@denotest/typescript-file@1.0.0'. Caused by: |
