@@ -24,6 +24,9 @@ const {exists} = require("fs"); /*ERROR: 'fs.exists' was deprecated since
2424This rule reports the following deprecated API.
2525
2626- _ linklist (undocumented)
27+ - async_hooks
28+ - [ currentId] ( https://nodejs.org/dist/v8.2.0/docs/api/deprecations.html#deprecations_dep0070_async_hooks_currentid )
29+ - [ triggerId] ( https://nodejs.org/dist/v8.2.0/docs/api/deprecations.html#deprecations_dep0071_async_hooks_triggerid )
2730- buffer
2831 - [ Buffer constructors] ( https://nodejs.org/dist/v6.0.0/docs/api/buffer.html#buffer_class_buffer ) (Use [ safe-buffer] ( https://www.npmjs.com/package/safe-buffer ) module for ` Node@<4.5.0 ` )
2932 - [ SlowBuffer class] ( https://nodejs.org/dist/v6.0.0/docs/api/buffer.html#buffer_class_slowbuffer )
@@ -51,9 +54,12 @@ This rule reports the following deprecated API.
5154 - [ createClient] ( https://nodejs.org/dist/v0.10.0/docs/api/http.html#http_http_createclient_port_host )
5255- module
5356 - ` requireRepl ` (undocumented)
57+ - [ _ debug] ( https://nodejs.org/dist/v9.0.0/docs/api/deprecations.html#deprecations_dep0077_module_debug )
5458- os
5559 - ` tmpDir ` (undocumented)
5660 - ` getNetworkInterfaces ` (undocumented)
61+ - path
62+ - [ _ makeLong] ( https://nodejs.org/dist/v9.0.0/docs/api/deprecations.html#deprecations_dep0080_path_makelong )
5763- process
5864 - ` EventEmitter ` (undocumented)
5965- [ punycode] ( https://nodejs.org/dist/v7.0.0/docs/api/punycode.html )
@@ -71,6 +77,7 @@ This rule reports the following deprecated API.
7177 - [ CryptoStream] ( https://nodejs.org/dist/v0.12.0/docs/api/tls.html#tls_class_cryptostream )
7278 - [ SecurePair] ( https://nodejs.org/dist/v6.0.0/docs/api/tls.html#tls_class_securepair )
7379 - [ createSecurePair] ( https://nodejs.org/dist/v6.0.0/docs/api/tls.html#tls_tls_createsecurepair_context_isserver_requestcert_rejectunauthorized_options )
80+ - [ parseCertString] ( https://nodejs.org/dist/v8.6.0/docs/api/deprecations.html#deprecations_dep0076_tls_parsecertstring )
7481- tty
7582 - [ setRawMode] ( https://nodejs.org/dist/v0.10.0/docs/api/tty.html#tty_tty_setrawmode_mode )
7683- util
@@ -127,6 +134,8 @@ This rule ignores APIs that `ignoreModuleItems` includes.
127134This option can include the following values:
128135
129136- ` _linklist `
137+ - ` async_hooks.currentId `
138+ - ` async_hooks.triggerId `
130139- ` buffer.Buffer() `
131140- ` new buffer.Buffer() `
132141- ` buffer.SlowBuffer `
@@ -146,7 +155,10 @@ This option can include the following values:
146155- ` http.createClient `
147156- ` module.Module.requireRepl `
148157- ` module.requireRepl `
158+ - ` module.Module._debug `
159+ - ` module._debug `
149160- ` os.tmpDir `
161+ - ` path._makeLong `
150162- ` punycode `
151163- ` readline.codePointAt `
152164- ` readline.getStringWidth `
@@ -157,6 +169,7 @@ This option can include the following values:
157169- ` tls.CryptoStream `
158170- ` tls.SecurePair `
159171- ` tls.createSecurePair `
172+ - ` tls.parseCertString `
160173- ` tty.setRawMode `
161174- ` util.debug `
162175- ` util.error `
@@ -220,6 +233,8 @@ This rule cannot report the following cases:
220233
221234### non-static properties
222235
236+ - async_hooks
237+ - [ asyncResource.triggerId] ( https://nodejs.org/dist/v8.2.0/docs/api/deprecations.html#deprecations_dep0072_async_hooks_asyncresource_triggerid )
223238- buffer
224239 - [ buf.parent] ( https://nodejs.org/dist/v8.0.0/docs/api/buffer.html#buffer_buf_parent )
225240- cluster
@@ -232,6 +247,13 @@ This rule cannot report the following cases:
232247 - [ server.connections] ( https://nodejs.org/dist/v0.10.0/docs/api/net.html#net_server_connections )
233248- repl
234249 - ` replServer.convertToContext ` (undocumented)
250+ - [ replServer.turnOffEditorMode] ( https://nodejs.org/dist/v9.0.0/docs/api/deprecations.html#deprecations_dep0078_replserver_turnoffeditormode )
251+ - [ replServer.memory] ( https://nodejs.org/dist/v9.0.0/docs/api/deprecations.html#deprecations_dep0082_replserver_prototype_memory )
252+
253+ ### types of arguments
254+
255+ - fs
256+ - ` fs.truncate() ` and ` fs.truncateSync() ` usage with a file descriptor has been deprecated.
235257
236258### dynamic things
237259
0 commit comments