module: remove unnecessary property and method by thefourtheye · Pull Request #2922 · nodejs/node

@thefourtheye

`require.path` property and `require.registerExtension` function have
been throwing errors when used. They both are like this for years now.
This patch removes them from the system.

@thefourtheye added the module

Issues and PRs related to the module subsystem.

label

Sep 16, 2015

@mscdex mscdex added the semver-major

PRs that contain breaking changes and should be released in the next major version.

label

Sep 17, 2015

thefourtheye added a commit that referenced this pull request

Oct 6, 2015
`require.paths` property and `require.registerExtension` function have
been throwing errors when used. They both are like this for years now.
This patch removes them from the system.

PR-URL: #2922
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>

@ZRDK ZRDK mentioned this pull request

Feb 11, 2024

@ambai ambai mentioned this pull request

Feb 12, 2024