git ssb

3+

cel / ssb-npm-registry



Tree: 164dd8a3251906b4d06836dfca7230a72f68ed50

Files: 164dd8a3251906b4d06836dfca7230a72f68ed50 / node_modules / readable-stream / experimentalWarning.js

460 bytesRaw
1'use strict'
2
3var experimentalWarnings = new Set();
4
5function emitExperimentalWarning(feature) {
6 if (experimentalWarnings.has(feature)) return;
7 var msg = feature + ' is an experimental feature. This feature could ' +
8 'change at any time';
9 experimentalWarnings.add(feature);
10 process.emitWarning(msg, 'ExperimentalWarning');
11}
12
13function noop() {}
14
15module.exports.emitExperimentalWarning = process.emitWarning
16 ? emitExperimentalWarning
17 : noop;
18

Built with git-ssb-web