const { emitWarning } = process

process.emitWarning = (warning: string, ...rest: unknown[]) => {
	if (
		warning ===
		'VM Modules is an experimental feature. This feature could change at any time'
	) {
		return
	}

	return (emitWarning as any)(warning, ...rest)
}
