Welcome to mirror list, hosted at ThFree Co, Russian Federation.

binding.js « test « internal « lib - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f9f018a78226cecc1295586370aa75f1bed44a7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict';

process.emitWarning(
  'These APIs are exposed only for testing and are not ' +
  'tracked by any versioning system or deprecation process.',
  'internal/test/binding');

// These exports should be scoped as specifically as possible
// to avoid exposing APIs because even with that warning and
// this file being internal people will still try to abuse it.
const { internalBinding } = require('internal/bootstrap/loaders');
module.exports = {
  ModuleWrap: internalBinding('module_wrap').ModuleWrap,
};