The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Displaying the actual license of the node module version on npmjs.com
When looking at a module version page like [https://www.npmjs.com/package/smtp-connection/v/2.5.0] , it says the license for this node module version is EUPL 1.1.
However, looking at [http://registry.npmjs.org/smtp-connection/2.5.0] shows the license for version 2.5 is actually MIT.
The switch to EUPL 1.1 license happened in version 4.0.0 http://registry.npmjs.org/smtp-connection/4.0.0
From npm support I got the confirmation that this is the currently implemented behaviour. The license displayed is the one of the latest module version, not the license of the actual module version you look at.
To me that is confusing, I’d rather see the license of the actual version I am looking at - just as the dependencies tab on the UI also shows the dependencies of the version I chose, not the ones of the latest version.