mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
lib: add trailing commas to all public core modules
PR-URL: https://github.com/nodejs/node/pull/46848 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
This commit is contained in:
parent
1101713cc2
commit
9dbb1623ff
30 changed files with 212 additions and 243 deletions
|
@ -49,11 +49,11 @@ const {
|
|||
codes: {
|
||||
ERR_FALSY_VALUE_REJECTION,
|
||||
ERR_INVALID_ARG_TYPE,
|
||||
ERR_OUT_OF_RANGE
|
||||
ERR_OUT_OF_RANGE,
|
||||
},
|
||||
errnoException,
|
||||
exceptionWithHostPort,
|
||||
hideStackFrames
|
||||
hideStackFrames,
|
||||
} = require('internal/errors');
|
||||
const {
|
||||
format,
|
||||
|
@ -254,7 +254,7 @@ function inherits(ctor, superCtor) {
|
|||
__proto__: null,
|
||||
value: superCtor,
|
||||
writable: true,
|
||||
configurable: true
|
||||
configurable: true,
|
||||
});
|
||||
ObjectSetPrototypeOf(ctor.prototype, superCtor.prototype);
|
||||
}
|
||||
|
@ -396,7 +396,7 @@ module.exports = {
|
|||
get aborted() {
|
||||
return lazyAbortController().aborted;
|
||||
},
|
||||
types
|
||||
types,
|
||||
};
|
||||
|
||||
defineLazyProperties(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue