Fixes Typo in deprecated.jl

- endswidth -> endswith
Merge pull request #2752 from fundamental/master

Fixes typo in deprecated.jl