Safari Web Extension update asks to restart Safari.

We have an app with a web extension for Safari. We developed this app for a couple of years. Recently when we pushed an update to TestFlight or the Mac App Store, the user that updated the app, there's the dialog from macOS that asks to :

Close Safari to continue the update. Click on continue to quit "safari" …

It seems a recent change.

Is there a way to prevent quitting Safari when we push to update to TestFlight and Mac App Store?