I created a CLI with commander.js that I have published via npm. The CLI uses node-fetch to request data from an API. However, for some users of my CLI, node-fetch is ignoring the query string in my fetch URL.
My assumption is that the some users have an older version of node-fetch installed and it is using that version instead of the explicit version in my dependencies list in package.json.
If this is the reason, how can I ensure that the correct version of node-fetch is used with my CLI?
Are there any other reasons you can think of that would cause some environments to ignore the query string?