diff --git a/package-lock.json b/package-lock.json index 409cea686a..bfa42b4862 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4411,11 +4411,12 @@ } }, "@opengovsg/mockpass": { - "version": "2.7.7", - "resolved": "https://registry.npmjs.org/@opengovsg/mockpass/-/mockpass-2.7.7.tgz", - "integrity": "sha512-vxveki0rNWnBG1rbkYGwsG5hDDqujLXJd1ePYGlDyjr7q92/7+c4oe2+s95vw0KtgBBrMP7GaYH27/1Hhb1g2Q==", + "version": "2.7.8", + "resolved": "https://registry.npmjs.org/@opengovsg/mockpass/-/mockpass-2.7.8.tgz", + "integrity": "sha512-YOdR+vrtw/wcCaRYo+vxfA28rFGVV/xLXOxR1QsmmdJ9SJ6H/Ng/o4D02+znYNJ/9GVu+ib5oukvFQ2/RTARtw==", "dev": true, "requires": { + "@xmldom/xmldom": "^0.7.2", "base-64": "^1.0.0", "cookie-parser": "^1.4.3", "dotenv": "^10.0.0", @@ -4430,7 +4431,6 @@ "uuid": "^8.0.0", "xml-crypto": "^2.1.2", "xml-encryption": "^1.2.4", - "xmldom": "^0.6.0", "xpath": "0.0.32" } }, @@ -4472,10 +4472,11 @@ } }, "@opengovsg/spcp-auth-client": { - "version": "1.4.9", - "resolved": "https://registry.npmjs.org/@opengovsg/spcp-auth-client/-/spcp-auth-client-1.4.9.tgz", - "integrity": "sha512-LVgaMvACl6HAFvTuNySdJwXXrD4mYMGveKpSBeDN17jsrwZmkSCuo9oUlDrE4XhVEpulqIxyBZOe6IJqm49B6Q==", + "version": "1.4.10", + "resolved": "https://registry.npmjs.org/@opengovsg/spcp-auth-client/-/spcp-auth-client-1.4.10.tgz", + "integrity": "sha512-Uw5I4kC1I+kOEYWn4qj0eM+ZdwUB4d5HjkVjWmjIz4W+3WYxyYEk91gZyg5XaIYYjHdBgj6PhMgPwLWB3bVwpw==", "requires": { + "@xmldom/xmldom": "^0.7.2", "axios": "^0.21.1", "base-64": "^1.0.0", "jsonwebtoken": "^8.3.0", @@ -4483,7 +4484,6 @@ "xml-crypto": "^2.1.2", "xml-encryption": "^1.2.4", "xml2json-light": "^1.0.6", - "xmldom": "^0.6.0", "xpath": "0.0.32" } }, @@ -5963,6 +5963,11 @@ "@xtuc/long": "4.2.2" } }, + "@xmldom/xmldom": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.3.tgz", + "integrity": "sha512-8XmJdPut2XGtfFcsNsqEsvMUmAwk7xLq7m+E/GcsU9b5qyFFIsiX4Fvnb5UoQ4wo12Wlm07YFJERoyWUYdbIpw==" + }, "@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", @@ -6560,9 +6565,9 @@ "integrity": "sha512-24q5Rh3bno7ldoyCq99d6hpnLI+PAMocdeVaaGt/5BTQMprvDwQToHfNnruqN11odCHZZIQbRBw+nZo1lTCH9g==" }, "aws-sdk": { - "version": "2.976.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.976.0.tgz", - "integrity": "sha512-LWVh3nko6yGDfGcDW9nIClaukthkTueq7I/dXVNv4g9kuy2VOl5fVTPMACgTibWINAM29wZCM+gVQSSZu/Veow==", + "version": "2.978.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.978.0.tgz", + "integrity": "sha512-UO1HP2b9FFtPhc5KbzEJ9oMBdzCmVv9nQTb+yIEh6SajcaErmK/ryleLOuPq9EsirE6wgb6mtf2qodRFucUA3g==", "requires": { "buffer": "4.9.2", "events": "1.1.1", @@ -9445,9 +9450,9 @@ } }, "csv-parse": { - "version": "4.16.0", - "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.16.0.tgz", - "integrity": "sha512-Zb4tGPANH4SW0LgC9+s9Mnequs9aqn7N3/pCqNbVjs2XhEF6yWNU2Vm4OGl1v2Go9nw8rXt87Cm2QN/o6Vpqgg==" + "version": "4.16.2", + "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.16.2.tgz", + "integrity": "sha512-eq2BhB6JiIJaNv61pH5EC+o/iyCBxT+g6ukLu2UoNyS5daCN8YlzhOsLHGt/t9sGraMYt/aizaXPLQoNvxlIMw==" }, "csv-string": { "version": "4.0.1", @@ -23926,9 +23931,9 @@ } }, "ts-essentials": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/ts-essentials/-/ts-essentials-8.0.0.tgz", - "integrity": "sha512-UIN5grvgvuTMeCDtnOUNDLg9o5PBwwQhXo9I0HmlkDMDL4UDX+srs8cddJMCgLUWotE6wWpwXBKQRg/shfzHCg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/ts-essentials/-/ts-essentials-8.1.0.tgz", + "integrity": "sha512-34xALeQADWRYq9kbtprP4KdpTQ3v3BBIs/U4SpaP+C4++B8ijXY5NnILRJLchQVMzw7YBzKuGMUMrI9uT+ALVw==", "dev": true }, "ts-jest": { @@ -24265,9 +24270,9 @@ } }, "typescript": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", - "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==", + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz", + "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==", "dev": true }, "uglify-js": { diff --git a/package.json b/package.json index 5d94d92592..1b559a8c3d 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "@opengovsg/myinfo-gov-client": "^4.0.0", "@opengovsg/ng-file-upload": "^12.2.15", "@opengovsg/sgid-client": "0.0.12", - "@opengovsg/spcp-auth-client": "^1.4.9", + "@opengovsg/spcp-auth-client": "^1.4.10", "@sentry/browser": "^6.11.0", "@sentry/integrations": "^6.11.0", "@stablelib/base64": "^1.0.1", @@ -82,7 +82,7 @@ "angular-ui-bootstrap": "~2.5.6", "angular-ui-router": "~1.0.29", "aws-info": "^1.2.0", - "aws-sdk": "^2.976.0", + "aws-sdk": "^2.978.0", "axios": "^0.21.1", "bcrypt": "^5.0.1", "bluebird": "^3.5.2", @@ -161,7 +161,7 @@ "@babel/core": "^7.15.0", "@babel/plugin-transform-runtime": "^7.15.0", "@babel/preset-env": "^7.15.0", - "@opengovsg/mockpass": "^2.7.7", + "@opengovsg/mockpass": "^2.7.8", "@types/bcrypt": "^5.0.0", "@types/bluebird": "^3.5.36", "@types/busboy": "^0.2.4", @@ -202,7 +202,7 @@ "core-js": "^3.16.3", "coveralls": "^3.1.1", "css-loader": "^2.1.1", - "csv-parse": "^4.16.0", + "csv-parse": "^4.16.2", "env-cmd": "^10.1.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", @@ -242,13 +242,13 @@ "supertest-session": "^4.1.0", "terser-webpack-plugin": "^1.2.3", "testcafe": "=1.15.1", - "ts-essentials": "^8.0.0", + "ts-essentials": "^8.1.0", "ts-jest": "^26.5.6", "ts-loader": "^7.0.5", "ts-node": "^10.2.1", "ts-node-dev": "^1.1.8", "type-fest": "^2.1.0", - "typescript": "^4.3.5", + "typescript": "^4.4.2", "url-loader": "^1.1.2", "webpack": "^4.46.0", "webpack-cli": "^3.3.12",