mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
src,lib: make process.binding('config') internal
PR-URL: https://github.com/nodejs/node/pull/23400 Refs: https://github.com/nodejs/node/issues/22160 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
1 parent
89740a4f0e
commit
63b06551f4
16 files changed
+25
-18
No files matched your search
+2
-2
@@ -50,7 +50,7 @@ const {
|
||||
} = require('internal/util/types');
|
||||
const {
|
||||
pendingDeprecation
|
||||
} = process.binding('config');
|
||||
} = internalBinding('config');
|
||||
const {
|
||||
ERR_BUFFER_OUT_OF_BOUNDS,
|
||||
ERR_OUT_OF_RANGE,
|
||||
@@ -1067,7 +1067,7 @@ Buffer.prototype.swap64 = function swap64() {
|
||||
Buffer.prototype.toLocaleString = Buffer.prototype.toString;
|
||||
|
||||
let transcode;
|
||||
if (process.binding('config').hasIntl) {
|
||||
if (internalBinding('config').hasIntl) {
|
||||
const {
|
||||
icuErrName,
|
||||
transcode: _transcode
|
||||
|
||||
Reference in new issue
Block a user