Meteor-Community-Packages / check-npm-versions

Enforces "peer" npm dependencies in Meteor 1.3+ Atmosphere packages.
MIT License
11 stars 10 forks source link

False results for some packages #52

Open kolyasya opened 2 months ago

kolyasya commented 2 months ago

I'm using the package like

checkNpmVersions(
  {
    'react-meteor-method-hooks': '0.0.2-beta.8',
    'modern-normalize': '2.x.x',
    'react-hook-form': '7.53.0',
    'react-paginate': '8.x.x',
    'react-s-alert': '1.x.x',

    'use-query-params': '2.x.x',
    'simpl-schema': '3.x.x',
  },
  'package-name'
 )

And it gives me an error for first 5 packages even if they have correctly installed versions and the app works as it should. I can't find a reason.

image

All node_modules contain package.json file with proper version like this:

image image

I tried to wipe and reinstall node_modules → didn't help.

github-actions[bot] commented 2 months ago

Thank you for submitting this issue!

We, the Members of Meteor Community Packages take every issue seriously. Our goal is to provide long-term lifecycles for packages and keep up with the newest changes in Meteor and the overall NodeJs/JavaScript ecosystem.

However, we contribute to these packages mostly in our free time. Therefore, we can't guarantee you issues to be solved within certain time.

If you think this issue is trivial to solve, don't hesitate to submit a pull request, too! We will accompany you in the process with reviews and hints on how to get development set up.

Please also consider sponsoring the maintainers of the package. If you don't know who is currently maintaining this package, just leave a comment and we'll let you know