FIX: uses this.attrs to check for deprecations (PR #13592)

This is more accurate and prevents false positives where a property with the same name than deprecated is present in the component.

GitHub