With the new version 5.0.0 on Safari 14:
TypeError: Object.hasOwn is not a function. (In 'Object.hasOwn(i,P)', 'Object.hasOwn' is undefined)
https://caniuse.com/?search=Object.hasOwn
Can we add a manual polyfill to this lib like:
if (!Object.hasOwn) {
Object.hasOwn = function(obj, prop) {
return Object.prototype.hasOwnProperty.call(obj, prop);
};
}
Or include the supported browser in the README or changelog.