Los Angeles: Hunter Pence homered and finished with three RBIs and the San Francisco Giants stole four bases on their way to a 6-1 win over the New York Mets, whose eight-game winning streak ended quietly.

Left-hander Madison Bumgarner (3-2) continued his mastery of the Mets by throwing six shutout innings as the Giants (13-13) avoided being swept in the three-game series.

Bumgarner is 4-0 with a 1.03 ERA in five career starts against the Mets and has thrown 18 straight scoreless innings at Citi Field, the longest streak by an opposing pitcher since the park opened in 2009.

The Red Sox completed a sweep of the rival Yankees as Christian Vazquez clubbed a two-run, seventh-inning homer off Dellin Betances to lift Boston to an 8-7 victory over floundering New York.

Betances, who surrendered a game-winning homer to David Ortiz on Friday, threw a 97 mph fastball to Vazquez, and the young catcher drilled it completely out of Fenway Park — his second career homer, first since September 25, 2014.

Vazquez missed last season following Tommy John surgery.

Ace left-hander Clayton Kershaw put an end to the Los Angeles Dodgers’ six-game losing streak almost single-handedly, throwing a complete-game shutout against the San Diego Padres and driving in the only run in a 1-0 victory.

Kershaw struck out 14 and allowed just three hits in his 13th career shutout. His dominant performance in a pitchers’ duel with Padres left-hander Drew Pomeranz prevented the Dodgers from losing seven in a row at home for the first time since August 1993.