When called programmatically from the flow library, the path to a particular module's package.json is always the same regardless of the version. This meant node.js was caching the results of the require calls for the package.json - leading to the scorecard evaluating the old version.
When called programmatically from the flow library, the path to a particular module's package.json is always the same regardless of the version. This meant node.js was caching the results of the
require
calls for the package.json - leading to the scorecard evaluating the old version.This ensures nothing is cached.