nuxt-alt / auth

An alternative module to @nuxtjs/auth
https://nuxt-alt-auth.vercel.app/
MIT License
94 stars 20 forks source link

Added shim for `hasOwn` #62

Closed gbyesiltas closed 11 months ago

gbyesiltas commented 11 months ago

Firstly, thanks for this module, thanks to you guys we could actually migrate to Nuxt 3 without having to reinvent our auth :)

Opening this PR to address this issue. I understand the modern browsers support it, but in our project we want to also support people with some older versions, so I added the shim for hasOwn :)

gbyesiltas commented 11 months ago

the es-shim package I used here doesn't seem to support ESM properly so closing this PR for now