I understand how you feel.
Something similar happened to me several weeks ago in my neighborhood.... except that it wasn't a pug... it was a BIG DOG!
It was running toward my little Beans. She was on the leash close to me but this dog kept running toward us.
It scared the &#%$ out of me and Beenie because it was also growling. I am usually not afraid of any dog.
I yelled at it before it jumped us. Surprisingly it stopped and turned back toward the yard it came from.
I still don't know who's dog it was and I was too scared/shaken to knock on the door where the dog came from to tell the owner what had happened.

People really should keep their dogs tied, especially if they are prone to doing this kind of thing and of they are not friendly.