This refactors the implementation of SafeString so that we don't extend any built-in objects. The class/inheritence shim output from Babel or Bublé is not able to extend built-ins.
I've also added a pretranspiled ES5 bundle and switched the in-browser tests to use this.
Coverage increased (+1.4%) to 97.778% when pulling dfef2366f4b2275c75baf7cf6715b5ac35db0317 on es5-compat into bf6c8a3d1b5c3111069b7a8fc14e28cb1cb86a9d on master.
This refactors the implementation of
SafeString
so that we don't extend any built-in objects. The class/inheritence shim output from Babel or Bublé is not able to extend built-ins.I've also added a pretranspiled ES5 bundle and switched the in-browser tests to use this.