copy the json object back to your package-lock.json
file and replace it with "node_modules/mongodb-connection-string-url"
"node_modules/mongodb-connection-string-url-ngssr": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/mongodb-connection-string-url-ngssr/-/mongodb-connection-string-url-ngssr-1.0.0.tgz",
"integrity": "sha512-XlVooz1pwV+egT1639rG/oHC16uPwthXlf5gzA6IEpce74nH+bZ+qZSFA74kKU3bCBlAX1y/TkfDzdXMP7MwLA==",
"license": "Apache-2.0",
"dependencies": {
"@types/whatwg-url": "^11.0.2",
"whatwg-url-ngssr": "1.0.0"
}
}