Thanks to Drupal Rector, a tool developed by Palantir.net and Pronovix, most of the Drupal 9 modules and themes can be automatically fixed to adapt it for Drupal 10. The tool can fix many of the deprecated API uses needed to make a module Drupal 10 compatible.