Skip to content

How to detect what is module is using an implicit import? #21150

Answered by 0f-0b
bebraw asked this question in Q&A
Discussion options

You must be logged in to vote

Run deno info <url to the entry point> and search for https://deno.land/std@0.206.0/path/mod.ts.

Warning Implicitly using latest version (0.206.0) for https://deno.land/std/path/mod.ts
…
│ │ ├─┬ https://deno.land/x/gustwind@v0.54.3/utilities/fs.ts (900B)
│ │ │ ├─┬ https://deno.land/x/recursive_readdir@v2.0.0/mod.ts (513B)
│ │ │ │ └─┬ https://deno.land/std@0.206.0/path/mod.ts (2.26KB)
…

It reveals that the offending module is recursive_readdir. You can replace it with std/fs/walk.ts.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bebraw
Comment options

Answer selected by bebraw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants