tmcwT
Deno3y ago
tmcw

Is it possible to know what version of a dynamically-imported module was just imported?

Right now, you can run code like
import('npm:lodash')
, which will get the latest version of lodash. Is it possible to know what version of lodash that resolved to, in the runtime or elsewhere? I suspect that it writes to an import map if there is one?
Was this page helpful?