There are many new versions since the currently used 3.0.15: https://github.com/jackmoore/autosize/blob/master/changelog.md
It should also be moved to separate directory (e.g. libs) that is excluded from formatting changes like was done in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Translate/+/503476