diff --git a/google-pay-psp-client/package-lock.json b/google-pay-psp-client/package-lock.json index 6e9a41f..027f10f 100644 --- a/google-pay-psp-client/package-lock.json +++ b/google-pay-psp-client/package-lock.json @@ -8,27 +8,27 @@ "name": "google-pay-psp-client", "version": "1.0.0", "dependencies": { - "@adyen/api-library": "^10.2.0", - "@solidgate/node-sdk": "^1.1.2", - "braintree": "^3.3.0", - "checkout-sdk-node": "^1.0.28", + "@adyen/api-library": "^10.3.0", + "@solidgate/node-sdk": "^1.2.0", + "braintree": "^3.16.0", + "checkout-sdk-node": "^1.0.37", "cybersource-rest-client": "0.0.27", "ecommpay": "^0.1.7", "jwk-to-pem": "^2.0.5", - "node-barion": "stephenmcd/node-barion#googlepay", - "node-fetch": "^2.6.6", + "node-barion": "github:stephenmcd/node-barion#googlepay", + "node-fetch": "^2.6.12", "nodejs-payu-sdk": "^1.0.2", "payeezy": "^1.0.4", "request": "^2.88.2", "shortid": "^2.2.16", "spreedly-api": "^0.0.7", "square": "^9.1.0", - "stripe": "^8.142.0", + "stripe": "^8.222.0", "utf8": "^3.0.0", "uuid": "^8.3.2", "wayforpay": "^0.1.0", - "winston": "^3.3.3", - "winston-daily-rotate-file": "^4.5.5", + "winston": "^3.10.0", + "winston-daily-rotate-file": "^4.7.1", "xml2js": "^0.4.23" }, "devDependencies": { @@ -1008,9 +1008,9 @@ } }, "node_modules/@solidgate/node-sdk": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@solidgate/node-sdk/-/node-sdk-1.1.2.tgz", - "integrity": "sha512-AYMc1cvBzuU7CvJxudmhYJyt+yOrHSP9qkB2l3i+thU8NzoMRn53x+HHvTjVXJb5xcmeMwa9754cuDOnEHjR+A==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@solidgate/node-sdk/-/node-sdk-1.2.1.tgz", + "integrity": "sha512-fZxv0r3llblyUwdreQ7TC0u+hggh+q1fQPMPtvnzRn5HhpaFSWmq3/wK2mwM93v/eOoVHH4gesEAF1ftUhS71w==", "dependencies": { "crypto-js": "^4.0.0", "node-fetch": "^2.6.0", @@ -1510,19 +1510,31 @@ } }, "node_modules/braintree": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/braintree/-/braintree-3.12.0.tgz", - "integrity": "sha512-04h1y4Fc2uIGMmx+uMQfPbCx1WwrvCpOGV1AC0Q1dBaSnCLHbYSU5FyVIzr1fNRMkCWsmwi/nxpQUWW42YqSIg==", + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/braintree/-/braintree-3.21.0.tgz", + "integrity": "sha512-zJQIALnJ+Q3yIYtB/k2fwYysxT70DQB3xU5tUFte/vvFtPGmcSZKhDT9h5Wq6WgRg6S6v69UtBbhxUTz44Nn+w==", "dependencies": { "@braintree/wrap-promise": "2.1.0", "dateformat": "4.5.1", - "xml2js": "0.4.23" + "xml2js": "0.5.0" }, "engines": { "node": ">=10.0", "npm": ">=6" } }, + "node_modules/braintree/node_modules/xml2js": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", + "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, "node_modules/brorand": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", @@ -2380,9 +2392,9 @@ "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.4", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", + "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", "funding": [ { "type": "individual", @@ -4075,7 +4087,7 @@ "node": ">=6" } }, - "node_modules/node-fetch": { + "node_modules/node-barion/node_modules/node-fetch": { "version": "2.6.7", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", @@ -4094,6 +4106,44 @@ } } }, + "node_modules/node-barion/node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "node_modules/node-barion/node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "node_modules/node-barion/node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, "node_modules/node-fetch/node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -5662,11 +5712,11 @@ } }, "node_modules/winston": { - "version": "3.8.2", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.8.2.tgz", - "integrity": "sha512-MsE1gRx1m5jdTTO9Ld/vND4krP2To+lgDoMEHGGa4HIlAUyXJtfc7CxQcGXVyz2IBpw5hbFkj2b/AtUdQwyRew==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.11.0.tgz", + "integrity": "sha512-L3yR6/MzZAOl0DsysUXHVjOwv8mKZ71TrA/41EIduGpOOV5LQVodqN+QdQ6BS6PJ/RdIshZhq84P/fStEZkk7g==", "dependencies": { - "@colors/colors": "1.5.0", + "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", "async": "^3.2.3", "is-stream": "^2.0.0", @@ -5725,6 +5775,14 @@ "node": ">= 6" } }, + "node_modules/winston/node_modules/@colors/colors": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", + "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", + "engines": { + "node": ">=0.1.90" + } + }, "node_modules/winston/node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -6645,9 +6703,9 @@ } }, "@solidgate/node-sdk": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@solidgate/node-sdk/-/node-sdk-1.1.2.tgz", - "integrity": "sha512-AYMc1cvBzuU7CvJxudmhYJyt+yOrHSP9qkB2l3i+thU8NzoMRn53x+HHvTjVXJb5xcmeMwa9754cuDOnEHjR+A==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@solidgate/node-sdk/-/node-sdk-1.2.1.tgz", + "integrity": "sha512-fZxv0r3llblyUwdreQ7TC0u+hggh+q1fQPMPtvnzRn5HhpaFSWmq3/wK2mwM93v/eOoVHH4gesEAF1ftUhS71w==", "requires": { "crypto-js": "^4.0.0", "node-fetch": "^2.6.0", @@ -7066,13 +7124,24 @@ } }, "braintree": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/braintree/-/braintree-3.12.0.tgz", - "integrity": "sha512-04h1y4Fc2uIGMmx+uMQfPbCx1WwrvCpOGV1AC0Q1dBaSnCLHbYSU5FyVIzr1fNRMkCWsmwi/nxpQUWW42YqSIg==", + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/braintree/-/braintree-3.21.0.tgz", + "integrity": "sha512-zJQIALnJ+Q3yIYtB/k2fwYysxT70DQB3xU5tUFte/vvFtPGmcSZKhDT9h5Wq6WgRg6S6v69UtBbhxUTz44Nn+w==", "requires": { "@braintree/wrap-promise": "2.1.0", "dateformat": "4.5.1", - "xml2js": "0.4.23" + "xml2js": "0.5.0" + }, + "dependencies": { + "xml2js": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", + "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "requires": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + } + } } }, "brorand": { @@ -7748,9 +7817,9 @@ "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, "follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + "version": "1.15.4", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", + "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==" }, "forever-agent": { "version": "0.6.1", @@ -9061,12 +9130,41 @@ "requires": { "joi": "17.7.0", "node-fetch": "2.6.7" + }, + "dependencies": { + "node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + } } }, "node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "requires": { "whatwg-url": "^5.0.0" }, @@ -10299,11 +10397,11 @@ } }, "winston": { - "version": "3.8.2", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.8.2.tgz", - "integrity": "sha512-MsE1gRx1m5jdTTO9Ld/vND4krP2To+lgDoMEHGGa4HIlAUyXJtfc7CxQcGXVyz2IBpw5hbFkj2b/AtUdQwyRew==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.11.0.tgz", + "integrity": "sha512-L3yR6/MzZAOl0DsysUXHVjOwv8mKZ71TrA/41EIduGpOOV5LQVodqN+QdQ6BS6PJ/RdIshZhq84P/fStEZkk7g==", "requires": { - "@colors/colors": "1.5.0", + "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", "async": "^3.2.3", "is-stream": "^2.0.0", @@ -10316,6 +10414,11 @@ "winston-transport": "^4.5.0" }, "dependencies": { + "@colors/colors": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", + "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==" + }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",