-
-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object.hasOwn is not a function #772
Comments
I have fixed it creating my own polyfill
|
This comment has been minimized.
This comment has been minimized.
Welcome @blechatellier! 👋
If you'd like to support older runtimes, either in browser or in node. The intent of Feel free to reach out in discussions if you have questions or concerns https://github.com/orgs/remarkjs/discussions |
Thanks for taking the time to reply @ChristianMurphy completely understand keeping support current. |
Initial checklist
Affected packages and versions
9.0.0
Link to runnable example
No response
Steps to reproduce
I'm using NextJS and after upgrading from v8.0.7 to v9.0.0 I get the following error
Object.hasOwn is not a function
which is not supported by all browsers (chrome v93+), can we keephasOwnProperty
instead?Expected behavior
It should not throw an error.
Actual behavior
It throws an Uncaught TypeError
Object.hasOwn is not a function
.Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: