import.meta.filename
and import.meta.dirname
is undefined
on Node.js Latest LTS v20.11.0
#5010
Closed
6 tasks done
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
Node.js implemented API that
import.meta.filename
andimport.meta.dirname
onv21.2.0
,and it backported into latest LTS
v20.11.0
.esm: add import.meta.dirname and import.meta.filename nodejs/node#48740
https://nodejs.org/en/blog/release/v21.2.0
https://nodejs.org/en/blog/release/v20.11.0
Reproduction
vitest:
v1.2.1
Repo: https://github.com/d-hajime-san/reference-vitest-import-meta-object
Result
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: