microsoft / types-publisher

This repo has moved:
https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/publisher
MIT License
388 stars 149 forks source link

typesVersions gets mangled in the published package #772

Closed sandersn closed 4 years ago

sandersn commented 4 years ago

Reported in DefinitelyTyped/DefinitelyTyped#44117

Looks like typesVersions gets sorted, but it should retain its original order (or be sorted new-to-old).

https://unpkg.com/@types/node@13.13.2/package.json

sandersn commented 4 years ago

Looks like the problem happens in the header parser, which is now published from the monorepo in DefinitelyTyped-tools (which is still waiting on MS legal approval to be open sourced).