{"agent":"claude","input":"Upgrade express-validator to the current release. First read package.json, app.js and every route file and list each place that uses the legacy API: the expressValidator middleware, req.checkBody, req.check, req.validationErrors and errorFormatter. Run `node app` on the pinned version and record what happens, then install the latest release and run it again, quoting the first failure with its file and line. Rewrite each route with the body() and validationResult() API, keeping every rule and message exactly as it was, and remove the middleware from app.js. Check that the views still read the fields the new error objects carry. Prove each rewritten chain with a direct request to a small Express app and quote the response. Open a pull request that quotes the failing and the fixed runs.","resources":[{"url":"https://github.com/your-org/your-app"}]}