You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Fix introduced in #60 breaks backwards compatibility with old node.js versions #65
Changes introduced in #60 (specifically in commit: f2cdfcf) break compatibility for older versions of node.js which do not support const & let variable declarations. Notice that in v2.8.7, apart from one place in tests, it is the only place where const (or let for that matter) is used in the whole project.
So before #60 this project was backwards compatible and after #60 it is not. I think this should be considered a breaking change.
This fix (#60) was introduced between v2.8.6 and v2.8.7. Introducing breaking changes and bumping only the patch number is IMHO a practice that should be avoided.
Where / affected versions
Affected version is v2.8.7.
node.js version: 0.10.* (Yes, it's still there... 😢)
Thanks! It’d be great to do it sooner, since all my packages’ CI is failing in the meantime unless i add a commit pegging the version of hosted-git-info. Perhaps you could make “latest” be 2.8.6 right now, so that people don’t have to get 2.8.7 unless they ask for it?
This should be fixed by #66 which was landed in hosted-git-info@2.8.8. We'll try to roll out a cli update as soon as possible which will include this dep update (likely as npm@6.14.2)
Activity
ljharb commentedon Feb 29, 2020
This is breaking me as well for a number of packages https://travis-ci.com/inspect-js/has-template-literals/jobs/292483820
v2 can't use
constorlet, in order to maintain compatibility. Can v2.8.7 be reverted, or updated to only usevar?[Dev Deps] peg `hosted-git-info` due to a breaking change in a patch
darcyclarke commentedon Feb 29, 2020
@ljharb @pniewiejski we'll revert this to use
var& ship a patch either before or on this next Tuesdayljharb commentedon Feb 29, 2020
Thanks! It’d be great to do it sooner, since all my packages’ CI is failing in the meantime unless i add a commit pegging the version of hosted-git-info. Perhaps you could make “latest” be 2.8.6 right now, so that people don’t have to get 2.8.7 unless they ask for it?
fix: #61 & #65 addressing issues w/ url.URL implmentation which regre…
fix: #61 & #65 addressing issues w/ url.URL implmentation which regre…
fix: #61 & #65 addressing issues w/ url.URL implmentation which regre…
darcyclarke commentedon Feb 29, 2020
This should be fixed by #66 which was landed in
hosted-git-info@2.8.8. We'll try to roll out a cli update as soon as possible which will include this dep update (likely asnpm@6.14.2)