@@ -37,12 +37,16 @@ This rule reports the following deprecated API.
37
37
- [ SlowBuffer class] ( https://nodejs.org/dist/v6.0.0/docs/api/buffer.html#buffer_class_slowbuffer )
38
38
- constants (undocumented)
39
39
- crypto
40
+ - [ _ toBuf] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0114_crypto_tobuf )
40
41
- ` Credentials ` (undocumented)
41
42
- [ DEFAULT_ENCODING] ( https://nodejs.org/dist/v10.0.0/docs/api/crypto.html#crypto_crypto_default_encoding )
42
43
- [ createCredentials] ( https://nodejs.org/dist/v0.12.0/docs/api/crypto.html#crypto_crypto_createcredentials_details )
43
44
- [ createCipher] ( https://nodejs.org/dist/v10.0.0/docs/api/crypto.html#crypto_crypto_createcipher_algorithm_password_options )
44
45
- [ createDecipher] ( https://nodejs.org/dist/v10.0.0/docs/api/crypto.html#crypto_crypto_createdecipher_algorithm_password_options )
45
46
- [ fips] ( https://nodejs.org/dist/v10.0.0/docs/api/crypto.html#crypto_crypto_fips )
47
+ - [ prng] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0115_crypto_prng_crypto_pseudorandombytes_crypto_rng )
48
+ - [ pseudoRandomBytes] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0115_crypto_prng_crypto_pseudorandombytes_crypto_rng )
49
+ - [ rng] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0115_crypto_prng_crypto_pseudorandombytes_crypto_rng )
46
50
- [ domain] ( https://nodejs.org/dist/v4.0.0/docs/api/domain.html#domain_domain )
47
51
- events
48
52
- [ EventEmitter.listenerCount] ( https://nodejs.org/dist/v4.0.0/docs/api/events.html#events_class_method_eventemitter_listenercount_emitter_event )
@@ -59,6 +63,12 @@ This rule reports the following deprecated API.
59
63
- [ GLOBAL] ( https://nodejs.org/api/deprecations.html#deprecations_dep0016_global_root )
60
64
- [ root] ( https://nodejs.org/api/deprecations.html#deprecations_dep0016_global_root )
61
65
- [ Intl.v8BreakIterator] ( https://nodejs.org/api/deprecations.html#deprecations_dep0017_intl_v8breakiterator )
66
+ - [ COUNTER_NET_SERVER_CONNECTION] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0120_windows_performance_counter_support )
67
+ - [ COUNTER_NET_SERVER_CONNECTION_CLOSE] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0120_windows_performance_counter_support )
68
+ - [ COUNTER_HTTP_SERVER_REQUEST] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0120_windows_performance_counter_support )
69
+ - [ COUNTER_HTTP_SERVER_RESPONSE] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0120_windows_performance_counter_support )
70
+ - [ COUNTER_HTTP_CLIENT_REQUEST] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0120_windows_performance_counter_support )
71
+ - [ COUNTER_HTTP_CLIENT_RESPONSE] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0120_windows_performance_counter_support )
62
72
- http
63
73
- [ createClient] ( https://nodejs.org/dist/v0.10.0/docs/api/http.html#http_http_createclient_port_host )
64
74
- module
@@ -72,6 +82,7 @@ This rule reports the following deprecated API.
72
82
- process
73
83
- ` EventEmitter ` (undocumented)
74
84
- ` assert ` (undocumented)
85
+ - [ binding] ( https://nodejs.org/dist/v10.9.0/docs/api/deprecations.html#deprecations_dep0111_process_binding )
75
86
- [ punycode] ( https://nodejs.org/dist/v7.0.0/docs/api/punycode.html )
76
87
- readline
77
88
- ` codePointAt ` (undocumented)
@@ -94,6 +105,9 @@ This rule reports the following deprecated API.
94
105
- [ parseCertString] ( https://nodejs.org/dist/v8.6.0/docs/api/deprecations.html#deprecations_dep0076_tls_parsecertstring )
95
106
- tty
96
107
- [ setRawMode] ( https://nodejs.org/dist/v0.10.0/docs/api/tty.html#tty_tty_setrawmode_mode )
108
+ - url
109
+ - [ parse] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0116_legacy_url_api )
110
+ - [ resolve] ( https://nodejs.org/dist/v11.0.0/docs/api/deprecations.html#deprecations_dep0116_legacy_url_api )
97
111
- util
98
112
- [ debug] ( https://nodejs.org/dist/v0.12.0/docs/api/util.html#util_util_debug_string )
99
113
- [ error] ( https://nodejs.org/dist/v0.12.0/docs/api/util.html#util_util_error )
@@ -158,12 +172,16 @@ This option can include the following values:
158
172
- ` new buffer.Buffer() `
159
173
- ` buffer.SlowBuffer `
160
174
- ` constants `
175
+ - ` crypto._toBuf `
161
176
- ` crypto.Credentials `
162
177
- ` crypto.DEFAULT_ENCODING `
163
178
- ` crypto.createCipher `
164
179
- ` crypto.createCredentials `
165
180
- ` crypto.createDecipher `
166
181
- ` crypto.fips `
182
+ - ` crypto.prng `
183
+ - ` crypto.pseudoRandomBytes `
184
+ - ` crypto.rng `
167
185
- ` domain `
168
186
- ` events.EventEmitter.listenerCount `
169
187
- ` events.listenerCount `
@@ -183,6 +201,7 @@ This option can include the following values:
183
201
- ` path._makeLong `
184
202
- ` process.EventEmitter `
185
203
- ` process.assert `
204
+ - ` process.binding `
186
205
- ` process.env.NODE_REPL_HISTORY_FILE `
187
206
- ` punycode `
188
207
- ` readline.codePointAt `
@@ -199,6 +218,8 @@ This option can include the following values:
199
218
- ` tls.createSecurePair `
200
219
- ` tls.parseCertString `
201
220
- ` tty.setRawMode `
221
+ - ` url.parse `
222
+ - ` url.resolve `
202
223
- ` util.debug `
203
224
- ` util.error `
204
225
- ` util.isArray `
@@ -242,10 +263,17 @@ This option can include the following values:
242
263
243
264
- ` Buffer() `
244
265
- ` new Buffer() `
266
+ - ` COUNTER_NET_SERVER_CONNECTION `
267
+ - ` COUNTER_NET_SERVER_CONNECTION_CLOSE `
268
+ - ` COUNTER_HTTP_SERVER_REQUEST `
269
+ - ` COUNTER_HTTP_SERVER_RESPONSE `
270
+ - ` COUNTER_HTTP_CLIENT_REQUEST `
271
+ - ` COUNTER_HTTP_CLIENT_RESPONSE `
245
272
- ` Intl.v8BreakIterator `
246
273
- ` require.extensions `
247
274
- ` process.EventEmitter `
248
275
- ` process.assert `
276
+ - ` process.binding `
249
277
- ` process.env.NODE_REPL_HISTORY_FILE `
250
278
251
279
Examples of :+1 : ** correct** code for the ` {"ignoreGlobalItems": ["new Buffer()"]} ` :
@@ -283,6 +311,8 @@ This rule cannot report the following cases:
283
311
284
312
- fs
285
313
- ` fs.truncate() ` and ` fs.truncateSync() ` usage with a file descriptor has been deprecated.
314
+ - url
315
+ - ` url.format() ` with legacy ` urlObject ` has been deprecated.
286
316
287
317
### dynamic things
288
318
0 commit comments