diff options
| author | KrisChambers <Kris.chambers@outlook.com> | 2020-09-07 09:59:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-07 15:59:47 +0200 |
| commit | 1cd226750065e6101c0a38694ff9f96a40b437d0 (patch) | |
| tree | 846632d932c7a7584f3e00d4fed8cd358be75aa8 /cli/tests/022_info_flag_script.out | |
| parent | 7a8b27aa25b419a9daef976793c59bd22d35551a (diff) | |
feat(info): Dependency count and sizes (#6786)
This commit changes "deno info" subcommand logic.
- Modules are no longer loaded into V8 isolate - analysis
is done using ModuleGraph.
- Removed deno_core::Deps structure.
- Modules are no longer type-checked and transpiled -
"compiled" file is shown only if it is already available.
- Added number of unique dependencies for root module.
- Changed tree output:
- file size is shown next to the dependency
- repeated dependencies are marked with "*"
- used less spaces in prefix to save terminal width
Diffstat (limited to 'cli/tests/022_info_flag_script.out')
| -rw-r--r-- | cli/tests/022_info_flag_script.out | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/cli/tests/022_info_flag_script.out b/cli/tests/022_info_flag_script.out index d17f31d77..e84c253e9 100644 --- a/cli/tests/022_info_flag_script.out +++ b/cli/tests/022_info_flag_script.out @@ -1,14 +1,13 @@ [WILDCARD] local: [WILDCARD]http[WILDCARD]127.0.0.1_PORT4545[WILDCARD] type: TypeScript -compiled: [WILDCARD].js -deps: -http://127.0.0.1:4545/cli/tests/019_media_types.ts - ├── http://localhost:4545/cli/tests/subdir/mt_text_typescript.t1.ts - ├── http://localhost:4545/cli/tests/subdir/mt_video_vdn.t2.ts - ├── http://localhost:4545/cli/tests/subdir/mt_video_mp2t.t3.ts - ├── http://localhost:4545/cli/tests/subdir/mt_application_x_typescript.t4.ts - ├── http://localhost:4545/cli/tests/subdir/mt_text_javascript.j1.js - ├── http://localhost:4545/cli/tests/subdir/mt_application_ecmascript.j2.js - ├── http://localhost:4545/cli/tests/subdir/mt_text_ecmascript.j3.js - └── http://localhost:4545/cli/tests/subdir/mt_application_x_javascript.j4.js +deps: 8 unique (total [WILDCARD]) +http://127.0.0.1:4545/cli/tests/019_media_types.ts ([WILDCARD]) +├── http://localhost:4545/cli/tests/subdir/mt_text_typescript.t1.ts ([WILDCARD]) +├── http://localhost:4545/cli/tests/subdir/mt_video_vdn.t2.ts ([WILDCARD]) +├── http://localhost:4545/cli/tests/subdir/mt_video_mp2t.t3.ts ([WILDCARD]) +├── http://localhost:4545/cli/tests/subdir/mt_application_x_typescript.t4.ts ([WILDCARD]) +├── http://localhost:4545/cli/tests/subdir/mt_text_javascript.j1.js ([WILDCARD]) +├── http://localhost:4545/cli/tests/subdir/mt_application_ecmascript.j2.js ([WILDCARD]) +├── http://localhost:4545/cli/tests/subdir/mt_text_ecmascript.j3.js ([WILDCARD]) +└── http://localhost:4545/cli/tests/subdir/mt_application_x_javascript.j4.js ([WILDCARD]) |
