barbatus / stars-rating

Stars rating control for Meteor
MIT License
21 stars 11 forks source link

Dependency updates - re-introducing support for jQuery 1.11.11 #22

Closed sarahmattar closed 3 years ago

sarahmattar commented 3 years ago

Hi Alex, sorry to send another PR your way for this, but I just got wind that those who are using older versions of Meteor are not able to work with the package after the update to jQuery 3.0.0. I've edited line 11 in package.js file to specify api.use(['less@2.7.1', 'underscore@1.0.10', 'jquery@1.11.11||3.0.0', 'templating', 'ecmascript@0.14.0'], 'client'); which should allow for two tiers of compatibility. I'm also using the lowest common denominator of version compatibility for less and ecmascript as well.

I had to update the original demo package from Meteor 1.4 to 1.6.1 as I was getting some nasty errors with respect to enlarging memory arrays. This required updating the project to 1.6.1, and creating a package.json and and package-lock.json for installation of Babel. I've double checked both demo apps (demo and demo-meteor-1.9) and both are functional with the changes to package.js.