Closed Guuz closed 9 years ago
the tests on travis ci show the same error: https://travis-ci.org/klei/gulp-angular-filesort/jobs/51355096
Yup! this could have broken many projects around the world... :-/ Not so sure if the npm syntax with the tilde is really great. In theory it is better but people accidentally release broken code. We had "~1.0.4" and that upgraded to "1.1.0" which is broken...
@Guuz if you've used the tilde it shouldn't upgrade to 1.1.0
, see for instance http://stackoverflow.com/questions/22343224/difference-between-tilde-and-caret-in-package-json
This is a typo, and did work before because ng-dependencies
had sugar
as a dependency. The method should be Array.prototype.some
.
A fix is on its way!
Thanks for the quick fix! And I made a mistake and said tidle when I ment '^'. This is the NPM default but it's bitten me a few times now... Like this. An dependency changes and breaks but it is auto updated and hard to trace down. Any suggestions?
The latest version breaks:
The build of this module is also breaking: https://travis-ci.org/klei/gulp-angular-filesort
Trying to downgrade in our project to see if it fixes this.