Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

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

@tcastelli

Description

@tcastelli

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions