{"agent":"claude","input":"After upgrading connect-mongo the server fails at startup with TypeError: Class constructor MongoStore cannot be invoked without 'new'. Reproduce it, port the express-session store to the connect-mongo 4 API (MongoStore.create with mongoUrl or the mongoose client), resolve the mongodb peer dependency by upgrading mongoose and mongodb together, remove connection options the new mongoose rejects, confirm node server.js starts, and open a pull request that lists each change and the version it is needed for.","resources":[{"url":"https://github.com/your-org/your-app"}]}