mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc,meta: prefer aliases and stubs over Runtime Deprecations
Avoid Runtime Deprecations when an alias or a stub/no-op will suffice. An alias or stub will have lower maintenance costs for end users. Refs: https://github.com/nodejs/node/pull/29989#issuecomment-545427805 PR-URL: https://github.com/nodejs/node/pull/30153 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
@@ -341,6 +341,9 @@ Runtime Deprecations and End-of-Life APIs (internal or public) are breaking
|
||||
changes (`semver-major`). The TSC may make exceptions, deciding that one of
|
||||
these deprecations is not a breaking change.
|
||||
|
||||
Avoid Runtime Deprecations when an alias or a stub/no-op will suffice. An alias
|
||||
or stub will have lower maintenance costs for end users and Node.js core.
|
||||
|
||||
All deprecations receive a unique and immutable identifier. Documentation,
|
||||
warnings, and errors use the identifier when referring to the deprecation. The
|
||||
documentation for the deprecation identifier must always remain in the API
|
||||
|
||||
Reference in New Issue
Block a user