wanasit / chrono

A natural language date parser in Javascript
MIT License
4.6k stars 341 forks source link

bug: due to 1.4.9 backport the incorrect version is marked as latest on GitHub and NPM #566

Closed favna closed 2 months ago

favna commented 2 months ago

Due to backporting features to 1.4.9 running npm install chrono-node will currently install v1.4.9 because it's marked as latest on npm: https://www.npmjs.com/package/chrono-node

image

The fix is to run npm dist-tag to move the latest tag, see https://docs.npmjs.com/cli/v8/commands/npm-dist-tag/

As for GitHub, the 1.4.9 release should be edited removing the "mark as latest" checkbox and then do the same in reverse for latest v2.

wanasit commented 2 months ago

Ops. Sorry for the problem.

When releasing 1.4.9, I originally planned to release 2.7.7 on the same day. However, I didn't complete the later.

This should be fixed after 2.7.7 this week.