summaryrefslogtreecommitdiff
path: root/doc/api/string_decoder.md
diff options
context:
space:
mode:
authorDenys Otrishko <shishugi@gmail.com>2018-08-16 20:19:06 +0300
committerAnna Henningsen <anna@addaleax.net>2018-09-17 17:41:42 +0200
commit1b92214d097358040efb7d3ec5dff1736f364bc0 (patch)
tree109aa3737c39b7fe47403ecdf761175d248ad6fc /doc/api/string_decoder.md
parent3c2aa4b9f3a566c58d2958e96f239d59f509b50c (diff)
downloadandroid-node-v8-1b92214d097358040efb7d3ec5dff1736f364bc0.tar.gz
android-node-v8-1b92214d097358040efb7d3ec5dff1736f364bc0.tar.bz2
android-node-v8-1b92214d097358040efb7d3ec5dff1736f364bc0.zip
module: fix inconsistency between load and _findPath
Files with multiple extensions are not handled by require-module system therefore if you have file 'file.foo.bar' and require('./file') it won't be found even while using require.extensions['foo.bar'] but before this commit if you have require.extensions['foo.bar'] and require.extensions['bar'] set then the latter will be called if you do require('./file') but if you remove the former the former ('foo.bar') property it will fail. This commit makes it always fail in such cases. Fixes: https://github.com/nodejs/node/issues/4778 PR-URL: https://github.com/nodejs/node/pull/22382 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'doc/api/string_decoder.md')
0 files changed, 0 insertions, 0 deletions