code: def deprecated_alias(dep_name, func, removed_in=None):
      """Inject a deprecated alias into the namespace."""
      if removed_in is None:
          from .. import __version__
  
          removed_in = __version__.split(".")[:2]
          removed_in[1] = str(int(removed_in[1]) + 1)
          removed_in = ".".join(removed_in)
      # Inject a deprecated version into the namespace
      inspect.currentframe().f_back.f_globals[dep_name] = deprecated(
          f"{dep_name} has been deprecated in favor of {func.__name__} and will "
          f"be removed in {removed_in}."
      )(deepcopy(func))
  
imports: import inspect
  import os
  import os.path
  import re
  import sys
  import webbrowser
  from copy import deepcopy
  from decorator import FunctionMaker
  from ..defaults import HEAD_SIZE_DEFAULT
  from ._bunch import BunchConst
label_desc: Use image node_id 8 for calling a global function with example usage: deprecated_alias(dep_name, func, removed_in) without return types