Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! module: include module information in require(esm) warning
Co-authored-by: Chemi Atlow <chemi@atlow.co.il>
  • Loading branch information
joyeecheung and atlowChemi authored Oct 21, 2024
commit 30c2770ed9fd8418e2c6db0d15824fa651bb6b6b
2 changes: 1 addition & 1 deletion lib/internal/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ function slowCases(enc) {
}
}

function emitExperimentalWarning(feature, messageBefore) {
function emitExperimentalWarning(feature, messagePrefix) {
if (experimentalWarnings.has(feature)) return;
experimentalWarnings.add(feature);
let msg = `${feature} is an experimental feature and might change at any time`;
Expand Down