0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal
Lukas Möller 443691a5ae
crypto: fix default encoding of LazyTransform
PullRequest #5522 and #5500 described the change
of the default encoding into UTF8 in crypto functions.

This however was only changed for the non-streaming API.
The streaming API still used binary as the default encoding.

This commit will change the default streaming API encoding to UTF8
to make both APIs behave the same.

It will also add tests to validate the behavior.

Refs: https://github.com/nodejs/node/pull/5522
Refs: https://github.com/nodejs/node/pull/5500
PR-URL: https://github.com/nodejs/node/pull/8611
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2017-03-11 22:43:35 +01:00
..
cluster lib: remove unnecessary assignments with _extend 2017-02-22 10:35:25 +05:30
process lib: rename kMaxCallbacksUntilQueueIsShortened 2017-02-23 17:44:24 -08:00
streams crypto: fix default encoding of LazyTransform 2017-03-11 22:43:35 +01:00
bootstrap_node.js process: improve memoryUsage() performance 2017-02-23 17:19:39 -08:00
buffer.js lib: more consistent use of module.exports = {} model 2017-02-22 08:56:08 -08:00
child_process.js lib: more consistent use of module.exports = {} model 2017-02-22 08:56:08 -08:00
errors.js errors: add internal/errors.js 2017-02-09 13:46:14 -08:00
freelist.js lib: refactor internal/freelist 2017-02-22 08:55:56 -08:00
fs.js lib: more consistent use of module.exports = {} model 2017-02-22 08:56:08 -08:00
http.js http: use Symbol for outgoing headers 2017-03-09 05:50:22 -05:00
linkedlist.js lib: refactor internal/linkedlist 2017-02-22 08:55:50 -08:00
module.js lib: improve method of function calling 2017-03-10 23:48:46 -05:00
net.js lib: more consistent use of module.exports = {} model 2017-02-22 08:56:08 -08:00
process.js process: fix typo in comments 2017-02-26 00:46:55 +09:00
querystring.js url: fix surrogate handling in encodeAuth() 2017-02-14 12:13:11 -08:00
readline.js readline: use icu based string width calculation 2016-10-25 09:00:45 -07:00
readme.md
repl.js repl: docs-only deprecation of magic mode 2017-03-06 19:23:34 -08:00
socket_list.js lib: refactor internal/socket_list 2017-02-22 08:56:01 -08:00
url.js url: prioritize toString when stringifying 2017-03-10 20:02:24 -08:00
util.js tls: use emitWarning() for dhparam < 2048 bits 2017-02-20 06:59:30 -08:00
v8_prof_polyfill.js
v8_prof_processor.js

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These are subject to change at any time. Reliance on these modules outside of core is not supported in any way.