webxdc / store

XDC store, migrated to codeberg
https://codeberg.org/webxdc/store
5 stars 0 forks source link

fix: replace Object.hasOwn() with Object.prototype.hasOwnProperty.call() #46

Closed link2xt closed 1 year ago

link2xt commented 1 year ago

Object.hasOwn() is only supported since Chrome 93 and we target at least Chrome 74.

Closes #42

link2xt commented 1 year ago

I have successfully received a list of applications with this fix: 1

link2xt commented 1 year ago

I also tried to setup @vitejs/plugin-legacy, but did not succeed in fixing the problem this way and it seems to be way more complicated than just doing this replacement.