Still major, but more exotic
Any scale that uses 3 and maj7 is considered major and not dominant. It easily fits over an Xmaj7 chord or that chord altered. So a scale like Lydian, for example, is considered major in spite of #4, but it is not altered because it is a mode.
Gypsy major is perhaps the most used altered major scale without a passing tone. A passing tone is when a number gets repeated, like 4 and #4, or (b)7 and maj7. There are a number of bebop scales that are major, altered, and not dominant, often with confusing and useless names.