0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Christopher Hiller 32679c73c1 dgram: improve signature of Socket.prototype.send
- Do not require presence of `address` parameter to use `callback`
  parameter; `address` is *always* optional
- Improve exception messaging if `address` is invalid type
- If `address` is an invalid type, guarantee a synchronously thrown
  exception
- Update documentation to reflect signature changes
- Add coverage around valid, undocumented types for `address` parameter.
- Add coverage around known invalid, but uncovered, types for `address`
  parameter.

PR-URL: https://github.com/nodejs/node/pull/10473
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2017-02-17 13:12:51 -08:00
..
internal util: add createClassWrapper to internal/util 2017-02-17 10:37:32 -08:00
_debug_agent.js lib: deprecate node --debug at runtime 2017-02-10 12:41:09 -08:00
_debugger.js debugger: call this.resume() after this.run() 2016-12-05 14:25:39 -05:00
_http_agent.js http: eliminate capture of ClientRequest in Agent 2017-01-06 10:07:32 -08:00
_http_client.js http: use direct parameters instead 2017-01-31 12:56:21 -05:00
_http_common.js http: optimize default method case 2017-01-13 16:11:18 -05:00
_http_incoming.js http: try to avoid lowercasing incoming headers 2017-01-11 12:54:41 -05:00
_http_outgoing.js lib: add static identifier codes for all deprecations 2017-01-30 11:11:57 -08:00
_http_server.js http: include provided status code in range error 2017-02-09 12:38:06 -05:00
_linklist.js lib: add static identifier codes for all deprecations 2017-01-30 11:11:57 -08:00
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js tools: enforce linebreak after ternary operators 2016-12-22 20:27:59 -08:00
_stream_transform.js
_stream_wrap.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
_stream_writable.js lib: add static identifier codes for all deprecations 2017-01-30 11:11:57 -08:00
_tls_common.js crypto: freelist_max_len is gone in OpenSSL 1.1.0 2017-01-23 15:17:07 +09:00
_tls_legacy.js lib: add static identifier codes for all deprecations 2017-01-30 11:11:57 -08:00
_tls_wrap.js tls: avoid potentially deoptimizing use of arguments 2017-02-15 10:11:49 -08:00
.eslintrc.yaml tools: rename eslintrc to an undeprecated format 2017-01-18 09:48:52 +05:30
assert.js assert: remove unneeded condition 2017-02-15 14:57:24 -08:00
buffer.js buffer: remove Uint8Array check 2017-02-16 16:55:56 +02:00
child_process.js child_process: align fork/spawn stdio error msg 2017-02-11 14:06:26 -08:00
cluster.js cluster: refactor module into multiple files 2017-01-13 17:01:07 -05:00
console.js console: do not emit error events 2017-02-15 21:29:16 +01:00
constants.js lib: add static identifier codes for all deprecations 2017-01-30 11:11:57 -08:00
crypto.js crypto: upgrade pbkdf2 without digest to an error 2017-02-13 11:04:51 -08:00
dgram.js dgram: improve signature of Socket.prototype.send 2017-02-17 13:12:51 -08:00
dns.js dns: avoid use of arguments 2017-02-15 10:05:32 -08:00
domain.js lib: add static identifier codes for all deprecations 2017-01-30 11:11:57 -08:00
events.js events: avoid emit() eager deopt 2017-01-05 12:33:10 -08:00
fs.js fs: avoid emitting error EBADF for double close 2017-02-13 09:08:47 +01:00
http.js http: name anonymous functions in http 2016-10-18 15:38:43 -07:00
https.js lib: remove unnecessary parameter for assertCrypto() 2017-01-18 11:13:18 +08:00
module.js lib: add static identifier codes for all deprecations 2017-01-30 11:11:57 -08:00
net.js lib: add static identifier codes for all deprecations 2017-01-30 11:11:57 -08:00
os.js lib: add static identifier codes for all deprecations 2017-01-30 11:11:57 -08:00
path.js
process.js
punycode.js
querystring.js url: fix surrogate handling in encodeAuth() 2017-02-14 12:13:11 -08:00
readline.js readline: update 6 comparions to strict 2017-02-04 07:06:17 +01:00
repl.js lib: replace \u2019 with regular ascii quote 2017-02-13 19:16:47 +01:00
stream.js stream: move legacy to lib/internal dir 2017-02-01 09:58:51 +01:00
string_decoder.js string_decoder: align UTF-8 handling with V8 2017-01-26 22:46:18 +01:00
sys.js lib: add static identifier codes for all deprecations 2017-01-30 11:11:57 -08:00
timers.js timer,domain: maintain order of timer callbacks 2017-02-14 18:54:36 -05:00
tls.js lib: remove unnecessary parameter for assertCrypto() 2017-01-18 11:13:18 +08:00
tty.js
url.js url: fix surrogate handling in encodeAuth() 2017-02-14 12:13:11 -08:00
util.js util: use ES2015+ Object.is to check negative zero 2017-02-16 14:45:59 -08:00
v8.js lib,src: support values > 4GB in heap statistics 2016-12-11 14:45:52 +01:00
vm.js vm: refactor vm module 2017-02-17 10:21:02 -08:00
zlib.js zlib: use RangeError/TypeError consistently 2017-02-17 10:37:46 -08:00