matomo-org / matomo-nodejs-tracker

A Node.js wrapper for the Matomo (Piwik) tracking HTTP API
MIT License
117 stars 41 forks source link

Use ES5 instead of ES6 const/startsWith #41

Closed yoeran closed 6 years ago

yoeran commented 7 years ago

It broke a build in IE, that does not support const and startsWith yet.

stephane commented 6 years ago

It also breaks unit tests with Jest.

timoschwarzer commented 6 years ago

As this is intended for Node.js and not for browsers, this PR is just degrading code quality without having any benefit. You can use Babel for backwards compatibility.