Closed bajtos closed 8 years ago
Thank you @bajtos, it seems like a good solution to me. I'm only waiting to hear what you think about an inline comment I left.
Also please read https://github.com/rxaviers/cldr-data-npm/blob/master/DCO.md and sign-off.
Thanks
Also please read https://github.com/rxaviers/cldr-data-npm/blob/master/DCO.md and sign-off.
Ah, that reminds me I need to get an approval from my employer for this. This will take at least several days, sorry for that!
@rxaviers I have added the comment, read DCO and signed off my commit. Could you PTAL again?
I have added the comment, read DCO and signed off my commit. Could you PTAL again?
@rxaviers ping
Sorry for the lack of response, hadn't find time. Will try to do it ASAP.
Sorry for the lack of response, hadn't find time.
No worries, I totally understand that!
Thank you, published as 29.0.2
(and also published in all other major branches 28.x, 27.x, etc).
The
install
script useschild_process.execSync
to detect npm version. This API was added in Node v0.12 and is not available in Node v0.10. As a result, the script always download CLDR data, even when this package was not explicitly listed in project dependencies.This commit fixes the problem by using
npm_config_user_agent
as a fallback mechanism.Related: https://github.com/strongloop/strong-globalize/issues/58
@rxaviers PTAL