diff --git a/package-lock.json b/package-lock.json index 0fd5b07..4b4ef1a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,9 +17,13 @@ "express": "^4.18.2", "fs": "^0.0.1-security", "mysql2": "^3.7.0", + "node-redsys-api": "^0.0.5", "paypal-rest-sdk": "^1.8.1", "pinia": "^2.0.11", "quasar": "^2.6.0", + "redsys-easy": "^5.2.3", + "redsys-pay": "^1.2.0", + "redsys-pos": "^1.0.2", "vee-validate": "^4.12.2", "vue": "^3.0.0", "vue-country-flag-next": "^2.3.2", @@ -1243,6 +1247,14 @@ } ] }, + "node_modules/base64url": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/base64url/-/base64url-3.0.1.tgz", + "integrity": "sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A==", + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/basic-auth": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz", @@ -1879,6 +1891,11 @@ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" }, + "node_modules/dayjs": { + "version": "1.11.10", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.10.tgz", + "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==" + }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -1896,6 +1913,11 @@ } } }, + "node_modules/decimal.js": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz", + "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==" + }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -2848,6 +2870,27 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true }, + "node_modules/fast-xml-parser": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.3.5.tgz", + "integrity": "sha512-sWvP1Pl8H03B8oFJpFR3HE31HUfwtX7Rlf9BNsvdpujD4n7WMhfmu8h9wOV2u+c1k0ZilTADhPqypzx2J690ZQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + }, + { + "type": "paypal", + "url": "https://paypal.me/naturalintelligence" + } + ], + "dependencies": { + "strnum": "^1.0.5" + }, + "bin": { + "fxparser": "src/cli/cli.js" + } + }, "node_modules/fastq": { "version": "1.17.1", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", @@ -4258,6 +4301,14 @@ "lower-case": "^1.1.1" } }, + "node_modules/node-redsys-api": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/node-redsys-api/-/node-redsys-api-0.0.5.tgz", + "integrity": "sha512-8WSRa5hZFRiGqY2mm1SF01UMF/Gh5dvy9GGIFlZj0OzzXauPh4bIX+S12q+kqO6dFJ9wswNfvrUb9+1XBP3A2g==", + "dependencies": { + "base64url": "^3.0.1" + } + }, "node_modules/node-releases": { "version": "2.0.14", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", @@ -4877,6 +4928,35 @@ "node": ">=8.10.0" } }, + "node_modules/redsys-easy": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/redsys-easy/-/redsys-easy-5.2.3.tgz", + "integrity": "sha512-4yNhGEK1jo7x43eEi6zEqV6xhIDRwqgjioIKsqVim2RzGx43BcrSdpH8AZf3h4bLYIXT9eKy/MQxtR7LhG8IVQ==", + "dependencies": { + "base64url": "^3.0.1", + "dayjs": "^1.11.9", + "decimal.js": "^10.4.3", + "fast-xml-parser": "^4.2.7", + "tslib": "^2.6.1", + "undici": "^6.0.0" + } + }, + "node_modules/redsys-pay": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/redsys-pay/-/redsys-pay-1.2.0.tgz", + "integrity": "sha512-cPw6zbMOHElHL45jS0GMXCRDaRpJheXUktC3M07jUmHOZig1DUD/KHYeu/nVTfaUVsq8QapgBEbsuRoMblMxMg==", + "dependencies": { + "xml": "^1.0.1" + } + }, + "node_modules/redsys-pos": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/redsys-pos/-/redsys-pos-1.0.2.tgz", + "integrity": "sha512-h99WqjrW1XBKPpO0q3BJumxU5GghSovYq8ZScSqvoIZmOoYygV8VLVIEQivJtTdJeuq3yn80SyrMwFmuc+d0sw==", + "dependencies": { + "base64url": "^3.0.0" + } + }, "node_modules/register-service-worker": { "version": "1.7.2", "resolved": "https://registry.npmjs.org/register-service-worker/-/register-service-worker-1.7.2.tgz", @@ -5419,6 +5499,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/strnum": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", + "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" + }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -5587,8 +5672,7 @@ "node_modules/tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", - "dev": true + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/type-check": { "version": "0.4.0", @@ -5650,6 +5734,14 @@ "node": ">=0.8.0" } }, + "node_modules/undici": { + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.9.0.tgz", + "integrity": "sha512-XPWfXzJedevUziHwun70EKNvGnxv4CnfraFZ4f/JV01+fcvMYzHE26r/j8AY/9c/70nkN4B1zX7E2Oyuqwz4+Q==", + "engines": { + "node": ">=18.0" + } + }, "node_modules/undici-types": { "version": "5.26.5", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", @@ -5969,6 +6061,11 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, + "node_modules/xml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", + "integrity": "sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==" + }, "node_modules/xml-name-validator": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz",