diff --git a/.functions/package-lock.json b/.functions/package-lock.json index 7761d80..897cd51 100644 --- a/.functions/package-lock.json +++ b/.functions/package-lock.json @@ -9,12 +9,12 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@ecomplus/storefront-renderer": "^2.10.10", + "@ecomplus/storefront-renderer": "^2.11.1", "firebase-admin": "^11.7.0", "firebase-functions": "^4.3.1" }, "engines": { - "node": "14" + "node": "20" } }, "node_modules/@babel/parser": { @@ -30,11 +30,14 @@ } }, "node_modules/@builder.io/partytown": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@builder.io/partytown/-/partytown-0.8.0.tgz", - "integrity": "sha512-M6H7nSMwW2dHd1/MQ+9J1Jqdw22uhl1nKv90kIiL9G7gjFVqqouQp4qSS1oZclmtW1XjAa4Q5UnbHB4iytmxZA==", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@builder.io/partytown/-/partytown-0.8.1.tgz", + "integrity": "sha512-p4xhEtQCPe8YFJ8e7KT9RptnT+f4lvtbmXymbp1t0bLp+USkNMTxrRMNc3Dlr2w2fpxyX7uA0CyAeU3ju84O4A==", "bin": { "partytown": "bin/partytown.cjs" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@ecomplus/client": { @@ -73,21 +76,32 @@ } }, "node_modules/@ecomplus/storefront-renderer": { - "version": "2.10.10", - "resolved": "https://registry.npmjs.org/@ecomplus/storefront-renderer/-/storefront-renderer-2.10.10.tgz", - "integrity": "sha512-6t64XOzAopVs9VMbqeWnVyMbV+NmbQSdosKP0+M34Mo2UG7mZUWlymPVQuGvaljHDEXe6Fpc8bZd+L15XblH+Q==", + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/@ecomplus/storefront-renderer/-/storefront-renderer-2.11.1.tgz", + "integrity": "sha512-aMFkt2mlXfCXFBen99WDUsePcdGImwrpc1frjPgdzguM9EhBQ8NeRsRWRJzEFUOitoeM/mdHyiw5mzLylM44/A==", "dependencies": { - "@builder.io/partytown": "^0.8.0", + "@builder.io/partytown": "^0.8.1", "@ecomplus/client": "^2.2.1", "@ecomplus/i18n": "^1.32.2", "@ecomplus/search-engine": "^2.6.1", "@ecomplus/storefront-router": "^2.2.1", "@ecomplus/utils": "^1.4.1", + "axios": "^0.27.2 || ^1.1.2", "ejs": "^3.1.9", "html-minifier": "^4.0.0", "image-size": "^1.0.2", "lodash": "^4.17.21", - "markdown-it": "^13.0.1" + "markdown-it": "^13.0.2" + } + }, + "node_modules/@ecomplus/storefront-renderer/node_modules/axios": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.0.tgz", + "integrity": "sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "node_modules/@ecomplus/storefront-router": { @@ -633,6 +647,11 @@ "retry": "0.13.1" } }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, "node_modules/axios": { "version": "0.21.4", "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", @@ -824,6 +843,17 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -923,6 +953,14 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "optional": true }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/depd": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", @@ -1361,6 +1399,19 @@ } } }, + "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": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -2019,9 +2070,9 @@ "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" }, "node_modules/markdown-it": { - "version": "13.0.1", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-13.0.1.tgz", - "integrity": "sha512-lTlxriVoy2criHP0JKRhO2VDG9c2ypWCsT237eDiLqi09rmbKoUetyGHq2uOIRoRS//kfoJckS0eUzzkDR+k2Q==", + "version": "13.0.2", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-13.0.2.tgz", + "integrity": "sha512-FtwnEuuK+2yVU7goGn/MJ0WBZMM9ZPgU9spqlFs7/A/pDIUNSOQZhUgOqYCficIuR2QaFnrt8LHqBWsbTAoI5w==", "dependencies": { "argparse": "^2.0.1", "entities": "~3.0.1", @@ -2397,6 +2448,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/pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", diff --git a/.functions/package.json b/.functions/package.json index e2d696a..0332cf4 100644 --- a/.functions/package.json +++ b/.functions/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "description": "SSR for Storefront on Firebase with Cloud Functions", "engines": { - "node": "14" + "node": "20" }, "main": "index.js", "dependencies": { diff --git a/.nvmrc b/.nvmrc index 8351c19..209e3ef 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14 +20 diff --git a/template/public/img/uploads/compra-segura.png b/template/public/img/uploads/compra-segura.png index c6e0364..f85a006 100644 Binary files a/template/public/img/uploads/compra-segura.png and b/template/public/img/uploads/compra-segura.png differ diff --git a/template/public/img/uploads/mentoria-logo.png b/template/public/img/uploads/mentoria-logo.png index 36ecf59..0a41eba 100644 Binary files a/template/public/img/uploads/mentoria-logo.png and b/template/public/img/uploads/mentoria-logo.png differ