Asteroid 2015 TB145 was discovered on October 10. It will pass by Earth on October 31. Asteroids pass by Earth regularly, the difference is that big asteroids like this is often spotted more than three weeks before it’s passing by Earth. This asteroid could be as wide as 620 meters. A hit would have been disastrous.
Space.com: Holes in the Earth: 170 and counting