mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
icu: make process.binding('icu') internal
PR-URL: https://github.com/nodejs/node/pull/23234 Refs: https://github.com/nodejs/node/issues/22160 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Gus Caplan <me@gus.host>
This commit is contained in:
7 files changed
+10
-7
No files matched your search
+1
-1
@@ -1078,7 +1078,7 @@ if (process.binding('config').hasIntl) {
|
||||
const {
|
||||
icuErrName,
|
||||
transcode: _transcode
|
||||
} = process.binding('icu');
|
||||
} = internalBinding('icu');
|
||||
|
||||
// Transcodes the Buffer from one encoding to another, returning a new
|
||||
// Buffer instance.
|
||||
|
||||
Reference in new issue
Block a user