0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Fedor Indutny b010c87164 crypto, string_bytes: treat buffer str as utf8
Do not treat crypto inputs as `binary` strings, convert them to Buffers
using `new Buffer(..., 'utf8')`, or using newly updated StringBytes
APIs.

PR-URL: https://github.com/nodejs/node/pull/5522
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-03-02 21:25:04 +03:00
..
internal lib: freelist: use .pop() for allocation 2016-03-02 09:24:24 -08:00
_debug_agent.js debugger: assert test before accessing this.binding 2016-02-10 08:28:30 -08:00
_debugger.js debugger: remove unneeded callback check 2016-02-19 14:54:08 -08:00
_http_agent.js http: allow async createConnection() 2016-02-11 12:52:46 -05:00
_http_client.js http: allow async createConnection() 2016-02-11 12:52:46 -05:00
_http_common.js http: strictly forbid invalid characters from headers 2016-02-09 09:22:09 -08:00
_http_incoming.js http: remove old, confusing comment 2016-02-15 07:52:21 -08:00
_http_outgoing.js http: remove unnecessary check 2016-02-15 07:52:17 -08:00
_http_server.js http,util: fix typos in comments 2016-02-17 08:43:40 -08:00
_linklist.js lib,test: deprecate _linklist 2015-10-08 17:32:08 -07:00
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_readable.js stream: fix no data on partial decode 2016-02-17 14:15:47 -05:00
_stream_transform.js stream: prevent object map change in TransformState 2016-02-02 13:05:04 -06:00
_stream_wrap.js stream_wrap: error if stream has StringDecoder 2015-12-06 21:55:25 -05:00
_stream_writable.js streams: 5% throughput gain when sending small chunks 2016-02-09 09:30:12 +00:00
_tls_common.js tls: scope loop vars with let 2016-01-26 20:53:05 +01:00
_tls_legacy.js lib: fix style issues after eslint update 2016-01-13 23:16:05 +01:00
_tls_wrap.js net: use _server for internal book-keeping 2016-02-17 13:58:24 -05:00
.eslintrc tools: apply custom buffer lint rule to /lib only 2016-02-24 20:09:52 -08:00
assert.js lib: fix style issues after eslint update 2016-01-13 23:16:05 +01:00
buffer.js buffer: add encoding parameter to fill() 2016-02-10 12:06:20 -07:00
child_process.js child_process: add shell option to spawn() 2016-01-26 19:40:43 -05:00
cluster.js cluster: emit worker as first 'message' event arg 2016-02-25 12:46:37 +01:00
console.js console: apply null as this for util.format 2016-02-18 11:24:01 +01:00
constants.js Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
crypto.js crypto, string_bytes: treat buffer str as utf8 2016-03-02 21:25:04 +03:00
dgram.js dgram: handle default address case when offset and length are specified 2016-02-28 11:25:36 +01:00
dns.js dns: add resolvePtr to query plain DNS PTR records 2016-02-08 17:30:38 +01:00
domain.js domains: clear stack when no error handler 2016-01-13 10:55:15 -08:00
events.js lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
fs.js fs: add a temporary fix for re-evaluation support 2016-02-12 20:37:37 -08:00
http.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
https.js https: evict cached sessions on error 2016-02-01 21:52:04 -05:00
module.js module: refactor redeclared variable 2016-01-31 19:16:09 +01:00
net.js net: use _server for internal book-keeping 2016-02-17 13:58:24 -05:00
os.js lib: remove unused modules 2015-12-25 13:05:23 -08:00
path.js path: fix path.relative() for prefixes at root 2016-02-29 20:10:04 +01:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
querystring.js querystring: improve escape() performance 2016-02-12 20:00:22 -05:00
readline.js readline: Remove XXX and output debuglog 2016-01-18 07:57:55 -08:00
repl.js repl: fix stack trace column number in strict mode 2016-02-29 10:46:31 +01:00
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
string_decoder.js string_decoder: fix performance regression 2016-02-11 10:41:49 -05:00
sys.js util: introduce printDeprecationMessage function 2015-06-04 10:59:43 +03:00
timers.js timers: greatly improve code comments 2016-02-26 18:07:36 -05:00
tls.js lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
tty.js lib: remove unused modules 2015-12-25 13:05:23 -08:00
url.js url: group slashed protocols by protocol name 2016-02-29 20:26:59 -06:00
util.js http,util: fix typos in comments 2016-02-17 08:43:40 -08:00
v8.js v8,src: expose statistics about heap spaces 2016-01-18 11:44:00 -05:00
vm.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
zlib.js zlib: only apply drain listener if given callback 2015-11-14 08:11:28 -08:00