mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
a0b66383f1
Co-authored-by: Geoffrey Booth <webadmin@geoffreybooth.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/50661 Fixes: https://github.com/nodejs/node/issues/30810 Fixes: https://github.com/nodejs/node/issues/47478 Fixes: https://github.com/nodejs/node/issues/46862 Fixes: https://github.com/nodejs/node/issues/40940 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
16 lines
289 B
JavaScript
16 lines
289 B
JavaScript
'use strict';
|
|
|
|
process.emitWarning('Deprecation Warning 1', {
|
|
code: 'DEP1',
|
|
type: 'DeprecationWarning'
|
|
});
|
|
|
|
process.emitWarning('Deprecation Warning 2', {
|
|
code: 'DEP2',
|
|
type: 'DeprecationWarning'
|
|
});
|
|
|
|
process.emitWarning('Experimental Warning', {
|
|
type: 'ExperimentalWarning'
|
|
});
|