diff --git a/package-lock.json b/package-lock.json index 0491adcf8..cb47aac1d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@growthbook/growthbook": "^0.27.0", "@octokit/plugin-retry": "^6.0.0", "@octokit/rest": "^18.12.0", - "@opengovsg/formsg-sdk": "^0.10.0", + "@opengovsg/formsg-sdk": "^0.11.0", "@opengovsg/sgid-client": "^2.0.0", "auto-bind": "^4.0.0", "aws-lambda": "^1.0.7", @@ -3395,21 +3395,36 @@ } }, "node_modules/@opengovsg/formsg-sdk": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/@opengovsg/formsg-sdk/-/formsg-sdk-0.10.0.tgz", - "integrity": "sha512-XVJzFWkpfbUVpjsjR4o4CZESSXvw4Sq7rOyD/FjAyFqtKpzlmz/X0cgja9jtaVb7+SnqZwEPt/WVmP5+TZTuVA==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@opengovsg/formsg-sdk/-/formsg-sdk-0.11.0.tgz", + "integrity": "sha512-cNSKxOWr42w9bpK9hIjcRrt3w78DAGg3gotYvzHnawvcOsG0WVMQR3Dvat59CNehioKjNH5SkJxLSSE2crhF0g==", "dependencies": { - "axios": "^0.24.0", + "axios": "^1.6.2", "tweetnacl": "^1.0.3", "tweetnacl-util": "^0.15.1" } }, "node_modules/@opengovsg/formsg-sdk/node_modules/axios": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz", - "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", + "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/@opengovsg/formsg-sdk/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "dependencies": { - "follow-redirects": "^1.14.4" + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" } }, "node_modules/@opengovsg/sgid-client": { @@ -14026,6 +14041,11 @@ "node": ">= 0.10" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", diff --git a/package.json b/package.json index 11bb185e5..dcc368c64 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@growthbook/growthbook": "^0.27.0", "@octokit/plugin-retry": "^6.0.0", "@octokit/rest": "^18.12.0", - "@opengovsg/formsg-sdk": "^0.10.0", + "@opengovsg/formsg-sdk": "^0.11.0", "@opengovsg/sgid-client": "^2.0.0", "auto-bind": "^4.0.0", "aws-lambda": "^1.0.7",