From 99ed3a26105a03a99b42d43030f854609579f949 Mon Sep 17 00:00:00 2001 From: Eric Mc Sween Date: Mon, 25 Apr 2022 08:09:29 -0400 Subject: [PATCH] Merge pull request #7696 from overleaf/em-upgrade-passport-saml Upgrade passport-saml GitOrigin-RevId: eec563211a7e9936696800f638c75a811efd0f13 --- package-lock.json | 76 +++++++++++++-------------------------- services/web/package.json | 2 +- 2 files changed, 25 insertions(+), 53 deletions(-) diff --git a/package-lock.json b/package-lock.json index f93455403a..ab836380b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23415,18 +23415,18 @@ } }, "node_modules/passport-saml": { - "version": "3.0.0", - "resolved": "https://github.com/overleaf/passport-saml/releases/download/v3.0.0-overleaf/passport-saml-3.0.0-overleaf.tar.gz", - "integrity": "sha512-8j1T+IkwHU3qzT+03dZjH1B6BxkJhmNkje6KzrF07VNAAbvkgWNOflmzLcdfcOAEIxYq4HKaZeD3ivQFnQndEA==", + "version": "3.2.1", + "resolved": "https://github.com/overleaf/passport-saml/releases/download/v3.2.1-overleaf/passport-saml-3.2.1-overleaf.tar.gz", + "integrity": "sha512-BzUq1oH+Bgulv3l4Jhe+WgWjgd7Bq9K5aL0CZUndVt6jGn7X+340hLSC08wZd/zUNuqx0EK3qi29apzsgXFicg==", "license": "MIT", "dependencies": { - "debug": "^4.3.1", + "@xmldom/xmldom": "^0.7.5", + "debug": "^4.3.2", "passport-strategy": "^1.0.0", - "xml-crypto": "^2.1.2", - "xml-encryption": "^1.2.4", + "xml-crypto": "^2.1.3", + "xml-encryption": "^2.0.0", "xml2js": "^0.4.23", - "xmlbuilder": "^15.1.1", - "xmldom": "^0.6.0" + "xmlbuilder": "^15.1.1" }, "engines": { "node": ">= 12" @@ -31431,25 +31431,16 @@ } }, "node_modules/xml-encryption": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/xml-encryption/-/xml-encryption-1.3.0.tgz", - "integrity": "sha512-3P8C4egMMxSR1BmsRM+fG16a3WzOuUEQKS2U4c3AZ5v7OseIfdUeVkD8dwxIhuLryFZSRWUL5OP6oqkgU7hguA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/xml-encryption/-/xml-encryption-2.0.0.tgz", + "integrity": "sha512-4Av83DdvAgUQQMfi/w8G01aJshbEZP9ewjmZMpS9t3H+OCZBDvyK4GJPnHGfWiXlArnPbYvR58JB9qF2x9Ds+Q==", "dependencies": { "@xmldom/xmldom": "^0.7.0", "escape-html": "^1.0.3", - "node-forge": "^0.10.0", "xpath": "0.0.32" }, "engines": { - "node": ">=8" - } - }, - "node_modules/xml-encryption/node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", - "engines": { - "node": ">= 6.0.0" + "node": ">=12" } }, "node_modules/xml-encryption/node_modules/xpath": { @@ -31509,14 +31500,6 @@ "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", "dev": true }, - "node_modules/xmldom": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.6.0.tgz", - "integrity": "sha512-iAcin401y58LckRZ0TkI4k0VSM1Qg0KGSc3i8rU+xrxe19A/BN1zHyVSJY7uoutVlaTSzYyk/v5AmkewAP7jtg==", - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/xmlhttprequest": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.4.2.tgz", @@ -34939,7 +34922,7 @@ "passport-local": "^1.0.0", "passport-oauth2": "^1.5.0", "passport-orcid": "0.0.4", - "passport-saml": "https://github.com/overleaf/passport-saml/releases/download/v3.0.0-overleaf/passport-saml-3.0.0-overleaf.tar.gz", + "passport-saml": "https://github.com/overleaf/passport-saml/releases/download/v3.2.1-overleaf/passport-saml-3.2.1-overleaf.tar.gz", "passport-twitter": "^1.0.4", "pdfjs-dist210": "npm:pdfjs-dist@2.10.377", "pdfjs-dist213": "npm:pdfjs-dist@2.13.216", @@ -43116,7 +43099,7 @@ "passport-local": "^1.0.0", "passport-oauth2": "^1.5.0", "passport-orcid": "0.0.4", - "passport-saml": "https://github.com/overleaf/passport-saml/releases/download/v3.0.0-overleaf/passport-saml-3.0.0-overleaf.tar.gz", + "passport-saml": "https://github.com/overleaf/passport-saml/releases/download/v3.2.1-overleaf/passport-saml-3.2.1-overleaf.tar.gz", "passport-twitter": "^1.0.4", "pdfjs-dist210": "npm:pdfjs-dist@2.10.377", "pdfjs-dist213": "npm:pdfjs-dist@2.13.216", @@ -60191,16 +60174,16 @@ } }, "passport-saml": { - "version": "https://github.com/overleaf/passport-saml/releases/download/v3.0.0-overleaf/passport-saml-3.0.0-overleaf.tar.gz", - "integrity": "sha512-8j1T+IkwHU3qzT+03dZjH1B6BxkJhmNkje6KzrF07VNAAbvkgWNOflmzLcdfcOAEIxYq4HKaZeD3ivQFnQndEA==", + "version": "https://github.com/overleaf/passport-saml/releases/download/v3.2.1-overleaf/passport-saml-3.2.1-overleaf.tar.gz", + "integrity": "sha512-BzUq1oH+Bgulv3l4Jhe+WgWjgd7Bq9K5aL0CZUndVt6jGn7X+340hLSC08wZd/zUNuqx0EK3qi29apzsgXFicg==", "requires": { - "debug": "^4.3.1", + "@xmldom/xmldom": "^0.7.5", + "debug": "^4.3.2", "passport-strategy": "^1.0.0", - "xml-crypto": "^2.1.2", - "xml-encryption": "^1.2.4", + "xml-crypto": "^2.1.3", + "xml-encryption": "^2.0.0", "xml2js": "^0.4.23", - "xmlbuilder": "^15.1.1", - "xmldom": "^0.6.0" + "xmlbuilder": "^15.1.1" } }, "passport-strategy": { @@ -66569,21 +66552,15 @@ } }, "xml-encryption": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/xml-encryption/-/xml-encryption-1.3.0.tgz", - "integrity": "sha512-3P8C4egMMxSR1BmsRM+fG16a3WzOuUEQKS2U4c3AZ5v7OseIfdUeVkD8dwxIhuLryFZSRWUL5OP6oqkgU7hguA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/xml-encryption/-/xml-encryption-2.0.0.tgz", + "integrity": "sha512-4Av83DdvAgUQQMfi/w8G01aJshbEZP9ewjmZMpS9t3H+OCZBDvyK4GJPnHGfWiXlArnPbYvR58JB9qF2x9Ds+Q==", "requires": { "@xmldom/xmldom": "^0.7.0", "escape-html": "^1.0.3", - "node-forge": "^0.10.0", "xpath": "0.0.32" }, "dependencies": { - "node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" - }, "xpath": { "version": "0.0.32", "resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.32.tgz", @@ -66630,11 +66607,6 @@ "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", "dev": true }, - "xmldom": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.6.0.tgz", - "integrity": "sha512-iAcin401y58LckRZ0TkI4k0VSM1Qg0KGSc3i8rU+xrxe19A/BN1zHyVSJY7uoutVlaTSzYyk/v5AmkewAP7jtg==" - }, "xmlhttprequest": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.4.2.tgz", diff --git a/services/web/package.json b/services/web/package.json index 7a2838d65c..4ea167ae04 100644 --- a/services/web/package.json +++ b/services/web/package.json @@ -166,7 +166,7 @@ "passport-local": "^1.0.0", "passport-oauth2": "^1.5.0", "passport-orcid": "0.0.4", - "passport-saml": "https://github.com/overleaf/passport-saml/releases/download/v3.0.0-overleaf/passport-saml-3.0.0-overleaf.tar.gz", + "passport-saml": "https://github.com/overleaf/passport-saml/releases/download/v3.2.1-overleaf/passport-saml-3.2.1-overleaf.tar.gz", "passport-twitter": "^1.0.4", "pdfjs-dist210": "npm:pdfjs-dist@2.10.377", "pdfjs-dist213": "npm:pdfjs-dist@2.13.216",