Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Node 14 and mongodb "5.9.X" #59

Open
tcastelli opened this issue Oct 23, 2024 · 0 comments
Open

Compatibility with Node 14 and mongodb "5.9.X" #59

tcastelli opened this issue Oct 23, 2024 · 0 comments

Comments

@tcastelli
Copy link

Hello, I have been trying to use pulse with an old MeteorJs app(2.X) that unfortunately works only with Node 14. I have seen that this project doesn't impose any node version, but when trying to run it with Node 14, the project complains about SyntaxError with "??=" operator, which is used by mongodb 6.X driver npm package.

I have seen that it is possible to override the version of mongodb from my app directly , so the dependencies like pulse stick to another version of a package. In this case I have forced it to use mongodb to 5.9.X and the app starts without complaining and I can see some jobs created and running.

My question is: Do you foresee any incompatbility with the features used by pulse with the old driver? I guess for very basic interaction like collection inserts, updates and remove the API should be compatible, but not sure about other possible stuff done by pulse. Also, if you think that 5.X should work fine indeed, is there any way to make mongodb a peerdependency so we can choose between compatible versions in our own projects?

Thanks a lot for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant