node/test/fixtures/errors
Colin Ihrig 21362cc4f4
punycode: limit deprecation warning
DEP0040 is an extremely annoying warning. Most of the people
seeing it cannot do anything about it. This commit updates the
warning logic to only emit outside of node_modules. This is
similar to other warnings such as the Buffer() constructor
warning.

Ideally, this should be backported to Node 22.

Refs: https://github.com/nodejs/node/pull/47202
PR-URL: https://github.com/nodejs/node/pull/56632
Reviewed-By: Jordan Harband <ljharb@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2025-01-30 10:44:31 +01:00
..
async_error_eval_cjs.js
async_error_eval_cjs.snapshot
async_error_eval_esm.js
async_error_eval_esm.snapshot
async_error_microtask_main.js
async_error_microtask_main.snapshot
async_error_nexttick_main.js
async_error_nexttick_main.snapshot
async_error_sync_esm.mjs
async_error_sync_esm.snapshot
async_error_sync_main.js
async_error_sync_main.snapshot
core_line_numbers.js
core_line_numbers.snapshot punycode: limit deprecation warning 2025-01-30 10:44:31 +01:00
error_aggregateTwoErrors.js
error_aggregateTwoErrors.snapshot
error_exit.js
error_exit.snapshot
error_with_nul.js
error_with_nul.snapshot
events_unhandled_error_common_trace.js
events_unhandled_error_common_trace.snapshot
events_unhandled_error_nexttick.js
events_unhandled_error_nexttick.snapshot
events_unhandled_error_sameline.js
events_unhandled_error_sameline.snapshot
events_unhandled_error_subclass.js
events_unhandled_error_subclass.snapshot
force_colors.js
force_colors.snapshot
if-error-has-good-stack.js
if-error-has-good-stack.snapshot
promise_always_throw_unhandled.js
promise_always_throw_unhandled.snapshot
promise_unhandled_warn_with_error.js
promise_unhandled_warn_with_error.snapshot test: make snapshot comparison more flexible 2024-08-16 14:29:22 +00:00
test-no-extra-info-on-fatal-exception.js
test-no-extra-info-on-fatal-exception.snapshot
throw_custom_error.js
throw_custom_error.snapshot
throw_error_with_getter_throw.js
throw_error_with_getter_throw.snapshot test: make snapshot comparison more flexible 2024-08-16 14:29:22 +00:00
throw_in_eval_anonymous.js src: fix undefined script name in error source 2025-01-30 10:44:11 +01:00
throw_in_eval_anonymous.snapshot src: fix undefined script name in error source 2025-01-30 10:44:11 +01:00
throw_in_eval_named.js src: fix undefined script name in error source 2025-01-30 10:44:11 +01:00
throw_in_eval_named.snapshot src: fix undefined script name in error source 2025-01-30 10:44:11 +01:00
throw_in_line_with_tabs.js
throw_in_line_with_tabs.snapshot
throw_non_error.js
throw_non_error.snapshot
throw_null.js
throw_null.snapshot test: make snapshot comparison more flexible 2024-08-16 14:29:22 +00:00
throw_undefined.js
throw_undefined.snapshot test: make snapshot comparison more flexible 2024-08-16 14:29:22 +00:00
timeout_throw.js
timeout_throw.snapshot
undefined_reference_in_new_context.js
undefined_reference_in_new_context.snapshot
unhandled_promise_trace_warnings.js
unhandled_promise_trace_warnings.snapshot