diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-08-21 11:53:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-21 09:53:52 +0000 |
| commit | 5834d282d4de5d0b5cacb9bf068f3896bef0a48a (patch) | |
| tree | 0e1d15e9f81600ce3c910a70c6e7c12952778f72 /cli/tests/testdata | |
| parent | af125c8e700eacc7360b3d81ffe4de13e12a612a (diff) | |
refactor: upgrade deno_ast 0.28 and deno_semver 0.4 (#20193)
Diffstat (limited to 'cli/tests/testdata')
10 files changed, 40 insertions, 40 deletions
diff --git a/cli/tests/testdata/npm/cjs_with_deps/main_info.out b/cli/tests/testdata/npm/cjs_with_deps/main_info.out index cf84197e1..bcaaf1eec 100644 --- a/cli/tests/testdata/npm/cjs_with_deps/main_info.out +++ b/cli/tests/testdata/npm/cjs_with_deps/main_info.out @@ -4,19 +4,19 @@ dependencies: 14 unique size: [WILDCARD] file:///[WILDCARD]/npm/cjs_with_deps/main.js ([WILDCARD]) -├─┬ npm:chalk@4.1.2 ([WILDCARD]) -│ ├─┬ npm:ansi-styles@4.3.0 ([WILDCARD]) -│ │ └─┬ npm:color-convert@2.0.1 ([WILDCARD]) -│ │ └── npm:color-name@1.1.4 ([WILDCARD]) -│ └─┬ npm:supports-color@7.2.0 ([WILDCARD]) -│ └── npm:has-flag@4.0.0 ([WILDCARD]) -└─┬ npm:chai@4.3.6 ([WILDCARD]) - ├── npm:assertion-error@1.1.0 ([WILDCARD]) - ├── npm:check-error@1.0.2 ([WILDCARD]) - ├─┬ npm:deep-eql@3.0.1 ([WILDCARD]) - │ └── npm:type-detect@4.0.8 ([WILDCARD]) - ├── npm:get-func-name@2.0.0 ([WILDCARD]) - ├─┬ npm:loupe@2.3.4 ([WILDCARD]) - │ └── npm:get-func-name@2.0.0 ([WILDCARD]) - ├── npm:pathval@1.1.1 ([WILDCARD]) - └── npm:type-detect@4.0.8 ([WILDCARD]) +├─┬ npm:/chalk@4.1.2 ([WILDCARD]) +│ ├─┬ npm:/ansi-styles@4.3.0 ([WILDCARD]) +│ │ └─┬ npm:/color-convert@2.0.1 ([WILDCARD]) +│ │ └── npm:/color-name@1.1.4 ([WILDCARD]) +│ └─┬ npm:/supports-color@7.2.0 ([WILDCARD]) +│ └── npm:/has-flag@4.0.0 ([WILDCARD]) +└─┬ npm:/chai@4.3.6 ([WILDCARD]) + ├── npm:/assertion-error@1.1.0 ([WILDCARD]) + ├── npm:/check-error@1.0.2 ([WILDCARD]) + ├─┬ npm:/deep-eql@3.0.1 ([WILDCARD]) + │ └── npm:/type-detect@4.0.8 ([WILDCARD]) + ├── npm:/get-func-name@2.0.0 ([WILDCARD]) + ├─┬ npm:/loupe@2.3.4 ([WILDCARD]) + │ └── npm:/get-func-name@2.0.0 ([WILDCARD]) + ├── npm:/pathval@1.1.1 ([WILDCARD]) + └── npm:/type-detect@4.0.8 ([WILDCARD]) diff --git a/cli/tests/testdata/npm/cjs_with_deps/main_info_json.out b/cli/tests/testdata/npm/cjs_with_deps/main_info_json.out index e2a659a42..fd850b8a1 100644 --- a/cli/tests/testdata/npm/cjs_with_deps/main_info_json.out +++ b/cli/tests/testdata/npm/cjs_with_deps/main_info_json.out @@ -50,8 +50,8 @@ } ], "redirects": { - "npm:chai@4.3": "npm:chai@4.3.6", - "npm:chalk@4": "npm:chalk@4.1.2" + "npm:chai@4.3": "npm:/chai@4.3.6", + "npm:chalk@4": "npm:/chalk@4.1.2" }, "npmPackages": { "ansi-styles@4.3.0": { diff --git a/cli/tests/testdata/npm/info/chalk.out b/cli/tests/testdata/npm/info/chalk.out index d7ac95120..63fa20da5 100644 --- a/cli/tests/testdata/npm/info/chalk.out +++ b/cli/tests/testdata/npm/info/chalk.out @@ -1,9 +1,9 @@ dependencies: 5 unique size: [WILDCARD] -npm:chalk@4.1.2 ([WILDCARD]) -├─┬ npm:ansi-styles@4.3.0 ([WILDCARD]) -│ └─┬ npm:color-convert@2.0.1 ([WILDCARD]) -│ └── npm:color-name@1.1.4 ([WILDCARD]) -└─┬ npm:supports-color@7.2.0 ([WILDCARD]) - └── npm:has-flag@4.0.0 ([WILDCARD]) +npm:/chalk@4.1.2 ([WILDCARD]) +├─┬ npm:/ansi-styles@4.3.0 ([WILDCARD]) +│ └─┬ npm:/color-convert@2.0.1 ([WILDCARD]) +│ └── npm:/color-name@1.1.4 ([WILDCARD]) +└─┬ npm:/supports-color@7.2.0 ([WILDCARD]) + └── npm:/has-flag@4.0.0 ([WILDCARD]) diff --git a/cli/tests/testdata/npm/info/chalk_json.out b/cli/tests/testdata/npm/info/chalk_json.out index 0f86bc994..bffed4ad4 100644 --- a/cli/tests/testdata/npm/info/chalk_json.out +++ b/cli/tests/testdata/npm/info/chalk_json.out @@ -5,12 +5,12 @@ "modules": [ { "kind": "npm", - "specifier": "npm:chalk@4.1.2", + "specifier": "npm:/chalk@4.1.2", "npmPackage": "chalk@4.1.2" } ], "redirects": { - "npm:chalk@4": "npm:chalk@4.1.2" + "npm:chalk@4": "npm:/chalk@4.1.2" }, "npmPackages": { "ansi-styles@4.3.0": { diff --git a/cli/tests/testdata/npm/invalid_package_name/main.out b/cli/tests/testdata/npm/invalid_package_name/main.out index 7d2b3754d..b4a421bd7 100644 --- a/cli/tests/testdata/npm/invalid_package_name/main.out +++ b/cli/tests/testdata/npm/invalid_package_name/main.out @@ -1,2 +1,2 @@ -error: Not a valid package: @foo +error: Invalid package specifier 'npm:@foo'. Did not contain a valid package name. at [WILDCARD]/invalid_package_name/main.js:1:22 diff --git a/cli/tests/testdata/npm/peer_deps_with_copied_folders/main_info.out b/cli/tests/testdata/npm/peer_deps_with_copied_folders/main_info.out index d85b00094..638f9328d 100644 --- a/cli/tests/testdata/npm/peer_deps_with_copied_folders/main_info.out +++ b/cli/tests/testdata/npm/peer_deps_with_copied_folders/main_info.out @@ -4,11 +4,11 @@ dependencies: 6 unique size: [WILDCARD] file:///[WILDCARD]/testdata/npm/peer_deps_with_copied_folders/main.ts (171B) -├─┬ npm:@denotest/peer-dep-test-child@1.0.0 ([WILDCARD]) -│ ├─┬ npm:@denotest/peer-dep-test-grandchild@1.0.0_@denotest+peer-dep-test-peer@1.0.0 ([WILDCARD]) -│ │ └── npm:@denotest/peer-dep-test-peer@1.0.0 ([WILDCARD]) -│ └── npm:@denotest/peer-dep-test-peer@1.0.0 ([WILDCARD]) -└─┬ npm:@denotest/peer-dep-test-child@2.0.0 ([WILDCARD]) - ├─┬ npm:@denotest/peer-dep-test-grandchild@1.0.0_@denotest+peer-dep-test-peer@2.0.0 ([WILDCARD]) - │ └── npm:@denotest/peer-dep-test-peer@2.0.0 ([WILDCARD]) - └── npm:@denotest/peer-dep-test-peer@2.0.0 ([WILDCARD]) +├─┬ npm:/@denotest/peer-dep-test-child@1.0.0 ([WILDCARD]) +│ ├─┬ npm:/@denotest/peer-dep-test-grandchild@1.0.0_@denotest+peer-dep-test-peer@1.0.0 ([WILDCARD]) +│ │ └── npm:/@denotest/peer-dep-test-peer@1.0.0 ([WILDCARD]) +│ └── npm:/@denotest/peer-dep-test-peer@1.0.0 ([WILDCARD]) +└─┬ npm:/@denotest/peer-dep-test-child@2.0.0 ([WILDCARD]) + ├─┬ npm:/@denotest/peer-dep-test-grandchild@1.0.0_@denotest+peer-dep-test-peer@2.0.0 ([WILDCARD]) + │ └── npm:/@denotest/peer-dep-test-peer@2.0.0 ([WILDCARD]) + └── npm:/@denotest/peer-dep-test-peer@2.0.0 ([WILDCARD]) diff --git a/cli/tests/testdata/npm/peer_deps_with_copied_folders/main_info_json.out b/cli/tests/testdata/npm/peer_deps_with_copied_folders/main_info_json.out index 6a455b001..a4306a6d5 100644 --- a/cli/tests/testdata/npm/peer_deps_with_copied_folders/main_info_json.out +++ b/cli/tests/testdata/npm/peer_deps_with_copied_folders/main_info_json.out @@ -50,8 +50,8 @@ } ], "redirects": { - "npm:@denotest/peer-dep-test-child@1": "npm:@denotest/peer-dep-test-child@1.0.0", - "npm:@denotest/peer-dep-test-child@2": "npm:@denotest/peer-dep-test-child@2.0.0" + "npm:@denotest/peer-dep-test-child@1": "npm:/@denotest/peer-dep-test-child@1.0.0", + "npm:@denotest/peer-dep-test-child@2": "npm:/@denotest/peer-dep-test-child@2.0.0" }, "npmPackages": { "@denotest/peer-dep-test-child@1.0.0_@denotest+peer-dep-test-peer@1.0.0": { diff --git a/cli/tests/testdata/package_json/basic/main.info.out b/cli/tests/testdata/package_json/basic/main.info.out index 3572c75e1..b283a0ee0 100644 --- a/cli/tests/testdata/package_json/basic/main.info.out +++ b/cli/tests/testdata/package_json/basic/main.info.out @@ -5,4 +5,4 @@ size: [WILDCARD] file:///[WILDCARD]/main.ts (63B) └─┬ file:///[WILDCARD]/lib.ts (166B) - └── npm:@denotest/esm-basic@1.0.0 (416B) + └── npm:/@denotest/esm-basic@1.0.0 (416B) diff --git a/cli/tests/testdata/package_json/invalid_value/error.ts.out b/cli/tests/testdata/package_json/invalid_value/error.ts.out index 866388e60..faa811a30 100644 --- a/cli/tests/testdata/package_json/invalid_value/error.ts.out +++ b/cli/tests/testdata/package_json/invalid_value/error.ts.out @@ -1,6 +1,6 @@ error: Parsing version constraints in the application-level package.json is more strict at the moment. -Invalid npm specifier version requirement. Unexpected character. +Invalid specifier version requirement. Unexpected character. invalid stuff that won't parse ~ at file:///[WILDCARD]/error.ts:2:23 diff --git a/cli/tests/testdata/package_json/invalid_value/task.out b/cli/tests/testdata/package_json/invalid_value/task.out index 823c50612..c78a32739 100644 --- a/cli/tests/testdata/package_json/invalid_value/task.out +++ b/cli/tests/testdata/package_json/invalid_value/task.out @@ -1,4 +1,4 @@ -Warning Ignoring dependency '@denotest/cjs-default-export' in package.json because its version requirement failed to parse: Invalid npm specifier version requirement. Unexpected character. +Warning Ignoring dependency '@denotest/cjs-default-export' in package.json because its version requirement failed to parse: Invalid specifier version requirement. Unexpected character. invalid stuff that won't parse ~ Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release. |
