canjs / can-util

Essential utilities used by lots of CanJS's projects.
https://canjs.com/doc/can-util.html
MIT License
10 stars 8 forks source link

Create code mod to update all references to deprecated methods #373

Open imaustink opened 6 years ago

imaustink commented 6 years ago

We should have a code mod to upgrade all references to deprecated methods of can-util to the appropriate successor. A mod has already been written for the methods that were moved to can-globals: https://gist.github.com/imaustink/d1faff15b89df8fb7964c5d5c3945e72.

I think this mod should evolve as we break apart more of can-util and could be run occasionally to keep all of our modules in sync with the latest iteration to prevent our users from seeing deprecation warnings.