File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 16
16
17
17
const { Buffer } = require ( 'buffer' ) ;
18
18
const { ERR_INVALID_ARG_TYPE } = require ( 'internal/errors' ) . codes ;
19
+ const { internalBinding } = require ( 'internal/bootstrap/loaders' ) ;
19
20
const {
20
21
Serializer : _Serializer ,
21
22
Deserializer : _Deserializer
22
- } = process . binding ( 'serdes' ) ;
23
+ } = internalBinding ( 'serdes' ) ;
23
24
const { copy } = process . binding ( 'buffer' ) ;
24
25
const { objectToString } = require ( 'internal/util' ) ;
25
26
const { FastBuffer } = require ( 'internal/buffer' ) ;
Original file line number Diff line number Diff line change @@ -501,4 +501,4 @@ void Initialize(Local<Object> target,
501
501
} // anonymous namespace
502
502
} // namespace node
503
503
504
- NODE_BUILTIN_MODULE_CONTEXT_AWARE (serdes, node::Initialize)
504
+ NODE_MODULE_CONTEXT_AWARE_INTERNAL (serdes, node::Initialize)
You can’t perform that action at this time.
0 commit comments