Logan Webb outdueled Luis Severino with eight shutout innings, Mike Yastrzemski capped a three-run fifth with a two-run single and the San Francisco Giants made it two in a row over the visiting New York Mets with a 5-1 triumph Tuesday night.

Michael Conforto had two hits against his former team for the Giants, including a single leading off the fifth that ended Severino's perfect-game bid after he had retired the first 12 batters he faced.

Matt Chapman followed Conforto's single with one of his own, setting up an RBI single by Thairo Estrada that ended the scoreless deadlock. Yastrzemski's single to center field gave the Giants a 3-0 lead.

That was plenty of support for Webb (3-1), who gave up six hits and struck out four.

The Mets never advanced a baserunner past second as Webb, who won his third straight decision, issued just one walk.

Severino (2-2) was pulled after six innings, having allowed just the three fifth-inning runs and a total of five hits. He struck out five and didn't walk anyone.

The Giants tacked on against Drew Smith in the seventh when Estrada tripled, Yastrzemski completed a three-RBI night with another run-scoring single, and LaMonte Wade doubled to make it 5-0.

For the second night in a row, the Mets saved their best offense for the ninth inning, scoring on DJ Stewart's groundout after Pete Alonso had doubled and Brett Baty had singled off reliever Tyler Rogers.

Jeff McNeil's single prompted Camilo Doval to be summoned from the bullpen, and the San Francisco closer needed just five pitches to record the final two outs for his fourth save of the season.

Estrada collected a triple, a single and two runs, while Yastrzemski joined Conforto with two hits for the Giants.

Marte (double and two singles), Alonso (double and a single) and McNeil (two singles) accounted for seven of the nine New York hits as the Mets, after taking two of three from the Los Angeles Dodgers, fell to 2-3 on their California swing.

More must-reads:

TODAY'S BEST
Pacers' Pascal Siakam leads team to Game 6 win vs. Knicks
Watch: Matt Duchene's 2OT winner sends Stars to conference final
Scottie Scheffler shoots improbable 66 after warming up for PGA Championship in a jail cell
Report: Tua Tagovailoa away from Dolphins amid contract chatter
Nuggets star has worrying comment about latest injury
Paul Skenes makes incredible Wrigley Field history in second-career MLB start
Giants rookie CF to undergo season-ending labrum surgery
Yankees' Juan Soto reacts to Hal Steinbrenner contract talk
Late goal sends Panthers to Eastern Conference Finals
Ex-teammate of Shohei Ohtani placed bets with same illegal bookmaker as interpreter 
Former Rams first-round pick retires from NFL after 11 seasons
Insider provides major injury update on Celtics' Kristaps Porzingis
Watch: Bruins strike first in Game 6 with incredible backhand goal
Dodgers make series of moves involving notable players
Hurricanes not expected to re-sign defenseman, center
Maple Leafs tab former Stanley Cup winner as new head coach
NFL insider expands on competition between Steelers QBs Russell Wilson, Justin Fields
NFL sets outrageous prices for Eagles-Packers Brazil game
Broncos 'very unlikely' to bring back former NFL interceptions leader
Greg Olsen offers broadcasting advice to Tom Brady