mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
PR-URL: https://github.com/nodejs/node/pull/59650 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
13 lines
267 B
JavaScript
13 lines
267 B
JavaScript
'use strict';
|
|
|
|
const inspector = require('inspector');
|
|
const { promisify } = require('internal/util');
|
|
|
|
class Session extends inspector.Session {}
|
|
Session.prototype.post = promisify(inspector.Session.prototype.post);
|
|
|
|
module.exports = {
|
|
...inspector,
|
|
Session,
|
|
};
|