It proved to be just enough as Toronto closed 2022 by also snapping a five-game skid at Scotiabank Arena.
In a dismal month, the Raptors (16-20) went 5-10 in December.
Pascal Siakam chipped in 26 points, O.G. Anunoby had 16 and Barnes scored 11 for Toronto.
The Raptors held an 86-79 advantage after three quarters. But Bridges followed up a three-pointer with a layup to give the Suns a 99-97 lead with 4:41 remaining.
Toronto enjoyed a 33-24 lead after the first quarter, only to watch the visitors go on a 12-0 run to begin the second and snatch a 34-33 lead.
But Siakam, Anunoby and Trent put together a 16-5 run for the Raptors to give them the edge. The Suns, however, finished the first half strong to ensure Toronto only held a 53-51 advantage heading to the locker rooms.
The Raptors were without all-star guard Fred VanVleet (back spasms) and Precious Achiuwa (ankle). The Suns were missing star Devin Booker (groin strain), Cameron Johnson (ankle), Cameron Payne (foot) and Landry Shamet (achilles).
Analyst Jack Armstrong was recognized during a second-quarter timeout for his 25th year with the Raptors. The 59-year-old Brooklyn, N.Y., native has been part of the team's broadcasts since the 1998-99 season.
The Raptors are last in the NBA in defensive rebounding. So it was no surprise when they yielded a season-high 17 offensive rebounds to the Los Angeles Clippers on Tuesday and 15 more against the Memphis Grizzlies on Thursday.
But the Raptors only grabbed three offensive rebounds in the first half against Memphis, despite ranking fifth in the category at 12.5 per game.
Did the focus on rebounding take away from the Raptors' transition defence?
"We're supposed to do both," Nurse said. "We're not doing either. So it was just a focus and energy effort problem (Thursday)."
This report by The Canadian Press was first published Dec. 30, 2022.
Tim Wharnsby, The Canadian Press