Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: remove dependencyspecifiers frozen remark #38434

Closed

Conversation

iguessitsokay
Copy link
Contributor

returned module.dependencySpecifiers array is not frozen. it is Object.isFrozen -> false and indexes are mutable. tested on a SourceTextModule instance.

Maybe freezing was the intention and this is a bug but it might be a misplacement because module.namespace is actually frozen -as expected- but with no such remark.

the returned array is not frozen
@github-actions github-actions bot added doc Issues and PRs related to the documentations. vm Issues and PRs related to the vm subsystem. labels Apr 27, 2021
@Trott
Copy link
Member

Trott commented May 1, 2021

@nodejs/vm

@jasnell
Copy link
Member

jasnell commented May 4, 2021

I believe the intent was for the array to be frozen. @nodejs/modules

@ljharb
Copy link
Member

ljharb commented May 4, 2021

It seems better for it to be frozen, regardless of the intent or the wording in the docs.

@aduh95
Copy link
Contributor

aduh95 commented Oct 8, 2023

Superseded by #49720

@aduh95 aduh95 closed this Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. vm Issues and PRs related to the vm subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants