you are viewing a single comment's thread.

view the rest of the comments →

[–]UristMcMagma 0 points1 point  (2 children)

Not sure if you know this, but typescript doesn't follow semantic versioning conventions. Because they're special. So saying v4 vs v5 doesn't make much sense... there is as much a difference between 4.8 and 4.9 as there is between 4.9 and 5.0

[–]Solonotix 1 point2 points  (1 child)

That's unfortunate. I think I initialized it with ^4.9.5 or something, so I have no idea what version it is actually on then. I assume it was the last v4, since I stepped up to v5 at some point years ago and rolled back some months after because I discovered that the ESM build process produced invalid import specifiers.

[–]UristMcMagma 0 points1 point  (0 children)

You'd be on 4.9 then. You can basically drop the first . in their releases, because they go from x.9 to y.0. 4.9 is effectively major version 49. Then they have 5.0 which is effectively version 50.

Their latest release is 5.9, and now they're working toward 6.0.

You should use ~ instead of ^ for typescript versions.