ai / nanoid

A tiny (124 bytes), secure, URL-friendly, unique string ID generator for JavaScript

Home Page:https://zelark.github.io/nano-id-cc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Semantic versioning

hampuskraft opened this issue · comments

Hi there! It seems like the versions were pushed to NPM in the wrong order, meaning that the latest version is not 4.0.2 but 3.3.6, which seems counterintuitive for tools that automatically bump the dependency to the latest version.

image

Changing the dist-tag of 4.0.2 to "latest" should be possible if you agree that this would be more intuitive: https://docs.npmjs.com/cli/v9/commands/npm-dist-tag.

I called npm dist-tag add nanoid@4.0.2 latest and hope now it was fixed