summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-12-29 20:30:48 -0500
committercjihrig <cjihrig@gmail.com>2019-01-06 11:50:19 -0500
commit853bee0acfb79ce64202c4e23dc4343b491fa864 (patch)
treebb8c4194c8dccf058fad1335152f56d5f87ebff9 /lib
parent6c0162149bc96de44e7596ebb8c668e46256279d (diff)
downloadandroid-node-v8-853bee0acfb79ce64202c4e23dc4343b491fa864.tar.gz
android-node-v8-853bee0acfb79ce64202c4e23dc4343b491fa864.tar.bz2
android-node-v8-853bee0acfb79ce64202c4e23dc4343b491fa864.zip
lib: move DEP0023 to end of life
This commit moves DEP0023 to end of life status. The os.getNetworkInterfaces() method was introduced in the unstable 0.5.0 release, and runtime deprecated in 0.6.0, the first stable release of its existence. This commit also fixes an inaccuracy in the deprecation, as the replacement (os.networkInterfaces()) is actually a method. PR-URL: https://github.com/nodejs/node/pull/25280 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/os.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/os.js b/lib/os.js
index 602db10e92..149289607d 100644
--- a/lib/os.js
+++ b/lib/os.js
@@ -78,9 +78,6 @@ const kEndianness = isBigEndian ? 'BE' : 'LE';
const tmpDirDeprecationMsg =
'os.tmpDir() is deprecated. Use os.tmpdir() instead.';
-const getNetworkInterfacesDepMsg =
- 'os.getNetworkInterfaces is deprecated. Use os.networkInterfaces instead.';
-
const avgValues = new Float64Array(3);
function loadavg() {
@@ -269,9 +266,6 @@ module.exports = {
uptime: getUptime,
// Deprecated APIs
- getNetworkInterfaces: deprecate(getInterfaceAddresses,
- getNetworkInterfacesDepMsg,
- 'DEP0023'),
tmpDir: deprecate(tmpdir, tmpDirDeprecationMsg, 'DEP0022')
};