'checkNeedsLibraryMigration' not exported