FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: remove dependencyspecifiers frozen remark by iguessitsokay · Pull Request #38434 · nodejs/node · GitHub

/ node Public

doc: remove dependencyspecifiers frozen remark - #38434

Closed
iguessitsokay wants to merge 1 commit into
nodejs:mainfrom
iguessitsokay:dependency-specifiers
Closed

doc: remove dependencyspecifiers frozen remark#38434
iguessitsokay wants to merge 1 commit into
nodejs:mainfrom
iguessitsokay:dependency-specifiers

Conversation

Copy link
Copy Markdown
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.

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 commented May 1, 2021

Copy link
Copy Markdown
Member

@nodejs/vm

jasnell commented May 4, 2021

Copy link
Copy Markdown
Member

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

ljharb commented May 4, 2021

Copy link
Copy Markdown
Member

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

aduh95 commented Oct 8, 2023

Copy link
Copy Markdown
Contributor

Superseded by #49720

aduh95 closed this Oct 8, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL