has-own-prop Codemod
Introduction
This codemod replaces the usage of the has-own-prop npm module with the built-in Object.hasOwn method. This change aims to reduce unnecessary dependencies and improve performance by utilizing native JavaScript features.
Before
javascript
After
javascript