microsoft / dts-gen

dts-gen creates starter TypeScript definition files for any module or library.
MIT License
2.43k stars 102 forks source link

Use https URL for accessing NPM registry data #174

Closed domdomegg closed 2 years ago

domdomegg commented 2 years ago

Currently dts-gen is broken as it attempts to access the registry by http, which results in a 301 to https. This fixes that error by using https in the first place.

domdomegg commented 2 years ago

Related: #172 attempts to fix this by following the 301. Both of these could be merged so we don't have an unnecessary redirect in the first place and to provide future robustness.

orta commented 2 years ago

Agree, thanks folks

Methuselah96 commented 2 years ago

@orta Is there a plan to release a new version with the fix?

domdomegg commented 2 years ago

@RyanCavanaugh are you able to cut a new release of dts-gen to fix this?

Soldy commented 2 years ago

10 months old Bugs... Still there... The fix is there: https://github.com/microsoft/dts-gen/commit/e339e5506d698fc787887661131c96108bad9d3e No one merge. Thank u Microsoft. I am lost without you.