Can you know which submission is made from the npm version information?

for example, if you pull it from an old version of npm warehouse, because it is not tagged, can you know which submission was publish?

Npm
Mar.11,2021

npm does not bring git commit information with it when it is submitted.

Let me teach you a little trick. You search directly in the git project to find out which git commit the version number you want is submitted.

The

version number is in the package.json file, and the field is version . As shown below:

clipboard.png

as shown in the figure above, you can search directly in the git project for "version": "5.2.1". In this way, the commit that you find the earliest in this record is the first commit released in this version.

Menu