[v12.x backport] module: deprecate module.parent
This feature does not work when a module is imported using ECMAScript modules specification, therefore it is deprecated.
As of v12.17.0, ESM is unflagged for Node.js v12; IMHO it makes sense to backport the doc deprecation.
v14 Backport-PR-URL: https://github.com/nodejs/node/pull/33533 PR-URL: https://github.com/nodejs/node/pull/32217
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines