Commit 98df59d
committed
fix: replace direct hasOwnProperty call with Object.prototype.hasOwnProperty.call
- Resolves ESLint error: Do not access Object.prototype method 'hasOwnProperty' from target object
- Uses safer Object.prototype.hasOwnProperty.call() pattern to avoid prototype pollution issues
- Maintains same test functionality while following ESLint no-prototype-builtins rule1 parent ffe4c4f commit 98df59d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
| 497 | + | |
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| |||
0 commit comments