The reason for this is, that each mod code is based on a specific MOD API version that is public at the time of MOD development and that is compatible with the Spotfire version at hand.
This
apiVersion is defined in the
mod-manifest.json in the MOD project.
For example, the code for the
Pareto chart MOD on the TIBCO community is based on the MOD API version 1.3 that was introduced in Spotfire 11.5. Hence It’s not expected to work on Spotfire 11.4 or earlier.
For more information refer to the below document on MOD API version releases:
Spotfire versions and their Mod API MOD API releases