the "nearby enemy is more like “nearby the player” Upheaval just works if the player is close to the enemy
Video close range:
But being not in melee makes the aftershock to lot longer trigger
Video mid/far range
Upheveal has the same tags as swipe melee/area. i dont see any reason of why it shouldnt work.
Sundering strike passive that gives a chance to generate a shockwave it also dosnt trigger the aftershocks. it also has the melee tag.