1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

feat: add module.parent (#24333)

This field is deprecated but still used by the ecosystem, so let's just
support it.
This commit is contained in:
snek 2024-06-25 11:17:35 -07:00 committed by GitHub
parent a1ff1a453c
commit 700cd200c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -475,6 +475,7 @@ function Module(id = "", parent) {
updateChildren(parent, this, false);
this.filename = null;
this.loaded = false;
this.parent = parent;
this.children = [];
}