nuxt-modules / partytown

Partytown integration for Nuxt. Run third-party scripts from a web worker.
MIT License
318 stars 8 forks source link

Uses deprecated APIs #219

Closed iD30 closed 1 year ago

iD30 commented 1 year ago

Google Page Insight score is 92/100 due to the following error Event.path is deprecated and will be removed. Please use Event.composedPath() instead.

I can see this has been fixed on Build.IO's Github (Link Below), but hasn't been implemented into the Nuxt version.

https://github.com/BuilderIO/partytown/pull/328

Is there a possible work around for now , any and all help would be appreciated.

Thank you.

danielroe commented 1 year ago

You should just need to run npm upgrade or equivalent as the fix is in 0.7.4 of the upstream library, which is within the version constraint of this module.