Urara-Blog/node_modules/.pnpm-store/v3/files/9f/587a44a76130befd8acb440c18b0176a3c5a403765c85fdc3aa56dd68ff060988b1830b97266171dae2a26cdf42f873092a6e648d37fdebda3ba87ab00b784
2022-08-14 01:14:53 +08:00

17 lines
460 B
Text

'use strict'
var experimentalWarnings = new Set();
function emitExperimentalWarning(feature) {
if (experimentalWarnings.has(feature)) return;
var msg = feature + ' is an experimental feature. This feature could ' +
'change at any time';
experimentalWarnings.add(feature);
process.emitWarning(msg, 'ExperimentalWarning');
}
function noop() {}
module.exports.emitExperimentalWarning = process.emitWarning
? emitExperimentalWarning
: noop;