diff --git a/.wp-env.json b/.wp-env.json index d87ce3ff2..24c1dec78 100644 --- a/.wp-env.json +++ b/.wp-env.json @@ -22,6 +22,7 @@ "env": { "tests": { "config": { + "WP_SITEURL": "localhost:8881", "WP_TESTS_DOMAIN": "localhost:8881", "WP_TESTS_TITLE": "Bluehost WordPress Plugin", "WP_TESTS_BINARY": "php" diff --git a/package-lock.json b/package-lock.json index 7bea16b2a..d608f3eb5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,28 +12,28 @@ "@heroicons/react": "^2.0.18", "@newfold-labs/wp-module-ecommerce": "github:newfold-labs/wp-module-ecommerce#v1.0.2", "@reduxjs/toolkit": "^1.9.5", - "@wordpress/compose": "^6.11.0", - "@wordpress/dom-ready": "^3.34.0", - "@wordpress/element": "^5.11.0", - "@wordpress/i18n": "^4.34.0", - "@wordpress/icons": "^9.25.0", + "@wordpress/compose": "^6.12.0", + "@wordpress/dom-ready": "^3.35.0", + "@wordpress/element": "^5.12.0", + "@wordpress/i18n": "^4.35.0", + "@wordpress/icons": "^9.26.0", "@yoast/ui-library": "^3.1.0", "classnames": "^2.3.2", "jquery": "^3.7.0", "lodash": "^4.17.21", "react": "^18.2.0", "react-error-boundary": "^4.0.3", - "react-router-dom": "^6.10.0", + "react-router-dom": "^6.12.1", "react-use": "^17.4.0" }, "devDependencies": { - "@replayio/cypress": "^0.5.10", + "@replayio/cypress": "^1.0.0", "@tailwindcss/forms": "^0.5.3", "@testing-library/cypress": "^9.0.0", - "@wordpress/env": "^5.16.0", - "@wordpress/scripts": "^26.5.0", + "@wordpress/env": "^8.1.0", + "@wordpress/scripts": "^26.6.0", "@yoast/tailwindcss-preset": "^2.2.0", - "cypress": "^12.13.0", + "cypress": "^12.14.0", "cypress-axe": "^1.4.0", "tailwindcss": "^3.3.2" }, @@ -127,9 +127,9 @@ } }, "node_modules/@babel/eslint-parser": { - "version": "7.21.8", - "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.21.8.tgz", - "integrity": "sha512-HLhI+2q+BP3sf78mFUZNCGc10KEmoUqtUT1OCdMZsN+qr4qFeLUod62/zAnF3jNQstwyasDkZnVXwfK2Bml7MQ==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.22.5.tgz", + "integrity": "sha512-C69RWYNYtrgIRE5CmTd77ZiLDXqgBipahJc/jHP3sLcAGj6AJzxNIuKNpVnICqbyK7X3pFUfEvL++rvtbQpZkQ==", "dev": true, "dependencies": { "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", @@ -351,11 +351,11 @@ } }, "node_modules/@babel/helper-module-imports": { - "version": "7.21.4", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz", - "integrity": "sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz", + "integrity": "sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg==", "dependencies": { - "@babel/types": "^7.21.4" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -393,9 +393,9 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.21.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.21.5.tgz", - "integrity": "sha512-0WDaIlXKOX/3KfBK/dwP1oQGiPh6rjMkT7HIRv7i5RR2VUMwrx5ZL0dwBkKx7+SW1zwNdgjHd34IMk5ZjTeHVg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", + "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", "dev": true, "engines": { "node": ">=6.9.0" @@ -473,17 +473,17 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.21.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.21.5.tgz", - "integrity": "sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", + "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", - "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", + "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==", "engines": { "node": ">=6.9.0" } @@ -1664,13 +1664,13 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.22.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.22.4.tgz", - "integrity": "sha512-Urkiz1m4zqiRo17klj+l3nXgiRTFQng91Bc1eiLF7BMQu1e7wE5Gcq9xSv062IF068NHjcutSbIMev60gXxAvA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.22.5.tgz", + "integrity": "sha512-bg4Wxd1FWeFx3daHFTWk1pkSWK/AyQuiyAoeZAOkAOUBjnZPH6KT7eMxouV47tQ6hl6ax2zyAWBdWZXbrvXlaw==", "dev": true, "dependencies": { - "@babel/helper-module-imports": "^7.21.4", - "@babel/helper-plugin-utils": "^7.21.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", "babel-plugin-polyfill-corejs2": "^0.4.3", "babel-plugin-polyfill-corejs3": "^0.8.1", "babel-plugin-polyfill-regenerator": "^0.5.0", @@ -2060,12 +2060,12 @@ } }, "node_modules/@babel/types": { - "version": "7.22.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.4.tgz", - "integrity": "sha512-Tx9x3UBHTTsMSW85WB2kphxYQVvrZ/t1FxD88IpSgIjiUJlCm9z+xWIDwyo1vffTwSqteqyznB8ZE9vYYk16zA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", + "integrity": "sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==", "dependencies": { - "@babel/helper-string-parser": "^7.21.5", - "@babel/helper-validator-identifier": "^7.19.1", + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", "to-fast-properties": "^2.0.0" }, "engines": { @@ -3251,14 +3251,14 @@ } }, "node_modules/@replayio/cypress": { - "version": "0.5.16", - "resolved": "https://registry.npmjs.org/@replayio/cypress/-/cypress-0.5.16.tgz", - "integrity": "sha512-xIuJOi8gfcttsuf2aPfUqvQu+s6Qd93LB8BL43T0WqT3fVo9i0pPoMPF5GMGDoSJCU3vfyLKjLgJHzDEnVFkfg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@replayio/cypress/-/cypress-1.0.0.tgz", + "integrity": "sha512-xSOqLoH8ylY3Xki4Pads+VXd5J49cNjHmHXtxKK4W7gmrn8kbs92R+nKmbp1AqeL0nJoV20oSSgVByggjCgrRw==", "dev": true, "hasInstallScript": true, "dependencies": { - "@replayio/replay": "^0.12.11", - "@replayio/test-utils": "^0.5.10", + "@replayio/replay": "^0.12.12", + "@replayio/test-utils": "^1.0.0", "debug": "^4.3.4", "semver": "^7.3.8", "uuid": "^8.3.2" @@ -3271,9 +3271,9 @@ } }, "node_modules/@replayio/replay": { - "version": "0.12.11", - "resolved": "https://registry.npmjs.org/@replayio/replay/-/replay-0.12.11.tgz", - "integrity": "sha512-YXda5WxShvqajjhcpMMuBPZuaOIDy2Tbx2rsZLCI9OXU5ETs4DcVADT1UFajUHPXjhh6Du7t4t5DJOjJrhCOpQ==", + "version": "0.12.12", + "resolved": "https://registry.npmjs.org/@replayio/replay/-/replay-0.12.12.tgz", + "integrity": "sha512-myuviCc3l8K1P9jM5AIcZYaP+PeiAaJoYXvMQsG+T4f76j282hUPcpwg3M1y3Qrvd29ZrOG34SSw2hTb01yFbQ==", "dev": true, "dependencies": { "@replayio/sourcemap-upload": "^1.0.7", @@ -3308,12 +3308,12 @@ } }, "node_modules/@replayio/test-utils": { - "version": "0.5.10", - "resolved": "https://registry.npmjs.org/@replayio/test-utils/-/test-utils-0.5.10.tgz", - "integrity": "sha512-C9WpW/e6n/EcZyrRqA3m1zEOINmFy9eJEZUfmOT0hxtCWhvxvZ1PZ3yLWNpoJgV/BD3FoVN3Pu0mlMOSsgFMcw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@replayio/test-utils/-/test-utils-1.0.0.tgz", + "integrity": "sha512-f+SluJJRX7dmHWyXFAXov17iC9bxEFA33XU4QFiq18S3Pd/m2zbr84ETN4g2LZJPQ8AfA68gMBjcXN9Ft5DBtA==", "dev": true, "dependencies": { - "@replayio/replay": "^0.12.11", + "@replayio/replay": "^0.12.12", "@types/node-fetch": "^2.6.2", "debug": "^4.3.4", "node-fetch": "^2.6.7", @@ -4708,9 +4708,9 @@ } }, "node_modules/@wordpress/babel-plugin-import-jsx-pragma": { - "version": "4.17.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-plugin-import-jsx-pragma/-/babel-plugin-import-jsx-pragma-4.17.0.tgz", - "integrity": "sha512-O6n9L5Ug7L2oeeqwAUFRZq1DlfI3mfNcAORbB/7KZ4PUNKFOcmJC/bsaSMAtt4AWENGmeGO7KL8QxVr744fVOg==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@wordpress/babel-plugin-import-jsx-pragma/-/babel-plugin-import-jsx-pragma-4.18.0.tgz", + "integrity": "sha512-1TBe4pdDD8W9swQkWcGoMi+BdbwSr63JwhB0jvlOPpjSVobfn098UJpzuRms6xc+zB5xbI/HAkCSCcHH1QjGfg==", "dev": true, "engines": { "node": ">=14" @@ -4720,9 +4720,9 @@ } }, "node_modules/@wordpress/babel-preset-default": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-7.18.0.tgz", - "integrity": "sha512-MG9NijzFRgsSNEDkiIZBJ4927V6QmlMQtXQZH1gpV6R7izrJ0BRGtKJpFfhWPHVQbMspHnT/LQ2TLUlmtjmwbQ==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-7.19.0.tgz", + "integrity": "sha512-aocwp+zzaHxWhObhAMmamD4YDRZnDm26DL2/FP6DJCMtT0ivvI4mmSj13wZor7uWXUHVVq4s7VzRCde+vFYNTg==", "dev": true, "dependencies": { "@babel/core": "^7.16.0", @@ -4731,10 +4731,10 @@ "@babel/preset-env": "^7.16.0", "@babel/preset-typescript": "^7.16.0", "@babel/runtime": "^7.16.0", - "@wordpress/babel-plugin-import-jsx-pragma": "^4.17.0", - "@wordpress/browserslist-config": "^5.17.0", - "@wordpress/element": "^5.11.0", - "@wordpress/warning": "^2.34.0", + "@wordpress/babel-plugin-import-jsx-pragma": "^4.18.0", + "@wordpress/browserslist-config": "^5.18.0", + "@wordpress/element": "^5.12.0", + "@wordpress/warning": "^2.35.0", "browserslist": "^4.17.6", "core-js": "^3.19.1" }, @@ -4743,15 +4743,15 @@ } }, "node_modules/@wordpress/base-styles": { - "version": "4.25.0", - "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-4.25.0.tgz", - "integrity": "sha512-OTPVHMdW1p5Y8aEfaJ2rDYYeX4SH+9GaZrcsdcx6JVcnD/zwHLJ5Z04qA1wbbAR7vcsVFChIk5sv+UahjMlxnw==", + "version": "4.26.0", + "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-4.26.0.tgz", + "integrity": "sha512-n7Pt8bAPugRKY1Mf0iTgDdVeTrxJFaBKww9OzwoBj4Cs6DDShUebeZs2TGHbqIuG0UoKjTw9mtGWGVJP1kEP9g==", "dev": true }, "node_modules/@wordpress/browserslist-config": { - "version": "5.17.0", - "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-5.17.0.tgz", - "integrity": "sha512-qxR9cWEP++n44v0wJqtIZb6Q/KQtGsUZdUCx7dKZt3RemzlM1iPUaYJ1P1gQI5RSYFQwsoFPGUAxoWw1o7oVeg==", + "version": "5.18.0", + "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-5.18.0.tgz", + "integrity": "sha512-EnnVWBmv6NzPpoWoVxGgtGHWc/lHko+RvOzGSEBsmlQGIA5ctZmTBhGrlbgcl7nLqBwUAsGAAy+/GRykFnkezg==", "dev": true, "engines": { "node": ">=14" @@ -4937,18 +4937,18 @@ } }, "node_modules/@wordpress/compose": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-6.11.0.tgz", - "integrity": "sha512-3t6rJhsR1jmCsVvGntK4LCk153w7rR4dZtWnMr4pVJEjoyYU0IkMWz/KKvtQaPKRPaZ5DFVftp0btlyhu+LYnA==", + "version": "6.12.0", + "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-6.12.0.tgz", + "integrity": "sha512-IKWVvhs9Z3tMP08n1z8zo6IU8eeIVyEVrV6/sykM7Wkx0n8o2Q8VrhFDR/5Hv6GYmH+vZsTBr4wOlPL4aGo8Tw==", "dependencies": { "@babel/runtime": "^7.16.0", "@types/mousetrap": "^1.6.8", - "@wordpress/deprecated": "^3.34.0", - "@wordpress/dom": "^3.34.0", - "@wordpress/element": "^5.11.0", - "@wordpress/is-shallow-equal": "^4.34.0", - "@wordpress/keycodes": "^3.34.0", - "@wordpress/priority-queue": "^2.34.0", + "@wordpress/deprecated": "^3.35.0", + "@wordpress/dom": "^3.35.0", + "@wordpress/element": "^5.12.0", + "@wordpress/is-shallow-equal": "^4.35.0", + "@wordpress/keycodes": "^3.35.0", + "@wordpress/priority-queue": "^2.35.0", "change-case": "^4.1.2", "clipboard": "^2.0.8", "mousetrap": "^1.6.5", @@ -4962,33 +4962,33 @@ } }, "node_modules/@wordpress/compose/node_modules/@wordpress/deprecated": { - "version": "3.34.0", - "resolved": "https://registry.npmjs.org/@wordpress/deprecated/-/deprecated-3.34.0.tgz", - "integrity": "sha512-erd4Clun4IeluiFDcppg6Nnf77eP2lXGWihjJsKRmppt96bW5XRFSw4peaeXhwiNQ+4rBid2Khchw8xlizQxTQ==", + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/@wordpress/deprecated/-/deprecated-3.35.0.tgz", + "integrity": "sha512-I0KsMuNWMS4HwAjcnCHa5+ie6+INVSdamTVBF5D0i7xEYAOrmqRdIqYCULORrUPZvaXtaXmoCC3mNbJ/B9pUmw==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/hooks": "^3.34.0" + "@wordpress/hooks": "^3.35.0" }, "engines": { "node": ">=12" } }, "node_modules/@wordpress/compose/node_modules/@wordpress/dom": { - "version": "3.34.0", - "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-3.34.0.tgz", - "integrity": "sha512-V2Rksv9uB90qc9akkQjKizantKeNcZNlJe44RWENge70BwLnydZaWbz6o42ROMPWpAiWRbcVXJC83ujmJPLFng==", + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-3.35.0.tgz", + "integrity": "sha512-DfeBUcy6hsKymbAJS+BAxMbcyB+Vb6wqstKYzdjYgw7V5JiDy9R4iXjZuWNhWJvbp/DtVw42wPqfARmRhJIqyg==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/deprecated": "^3.34.0" + "@wordpress/deprecated": "^3.35.0" }, "engines": { "node": ">=12" } }, "node_modules/@wordpress/compose/node_modules/@wordpress/hooks": { - "version": "3.34.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.34.0.tgz", - "integrity": "sha512-qVBtsA8bjACRTL5tkeGkg9jb5O66JmLJY3zSFnQ4v97CTXdtNAFXSCVEIbwDsZSsXOu/ybX06teKsvS9v3tnXg==", + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.35.0.tgz", + "integrity": "sha512-kULaDrUh2G7GMSjHMMjDMmQ9jWmO4nGkeIwwdzyKFwSv+qSpI8ootDQkNpt3d3STTGbwG9fvjQoX9uefSPDZwA==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -4997,9 +4997,9 @@ } }, "node_modules/@wordpress/compose/node_modules/@wordpress/is-shallow-equal": { - "version": "4.34.0", - "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-4.34.0.tgz", - "integrity": "sha512-/KcMrEu9VjSpBYls+NNKvh8z5SRC9lm+qbY9jGQx1i/S3e0Fw+gl/AGMt5o2mLNYaL9V3MGVM4NbINfjEqR+MA==", + "version": "4.35.0", + "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-4.35.0.tgz", + "integrity": "sha512-poPck+5RJTm3bcGj36jxRxlGEtocdma4vUwqGIvevdCDaBzxtgy+bX9xCLgszwKRht7xhsgRDW57UWTU7c35NA==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -5008,12 +5008,12 @@ } }, "node_modules/@wordpress/compose/node_modules/@wordpress/keycodes": { - "version": "3.34.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-3.34.0.tgz", - "integrity": "sha512-gwzOrv+jCYJdMMgCInFQErlxq4FDhJWE8vzBjqZW+meACeyWqVsfLGTfVgc/qWqy/hno+IivfiQbHLCBAO1tFw==", + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-3.35.0.tgz", + "integrity": "sha512-Yr/bmE1rApLd47QBWSsMk6IBCJ/3sxZ0H4OCjg2vI5x1A4mDhh0AQH+mO9Q6e1NJPgpuBobgcriZVN94VxwbEQ==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.34.0", + "@wordpress/i18n": "^4.35.0", "change-case": "^4.1.2" }, "engines": { @@ -5196,9 +5196,9 @@ } }, "node_modules/@wordpress/dependency-extraction-webpack-plugin": { - "version": "4.17.0", - "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-4.17.0.tgz", - "integrity": "sha512-vSWYcjHwdQrnvw6XeYfxRFLGZBEKR3IU82ahfiUEb0doomlR/ulZbnIZdC22Xo0KuQkvTSHEx71yhnvyKYolBg==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-4.18.0.tgz", + "integrity": "sha512-YXT9yJjeh8OED9KfHYTW1PFRLIvU6OsWhomyCJ3uXOOm8sf49PvNt0231YWiz05O8PdvGgsNgAia4BnX3oxNgg==", "dev": true, "dependencies": { "json2php": "^0.0.7", @@ -5230,9 +5230,9 @@ } }, "node_modules/@wordpress/dom-ready": { - "version": "3.34.0", - "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-3.34.0.tgz", - "integrity": "sha512-tcMumpNtS1ZV2OVg1DMZ/ZLrSwNgpVie7boJePxpBioEWJmKD/Lyel/hBgnheZzLKkuVCeSYyfU9Af7iqEbMQg==", + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-3.35.0.tgz", + "integrity": "sha512-EloGshrdTEfUP8oxM1s52Vz3PK0fz5FKd58LGie2nQv2hVl5fev9WWnH7NJGP3JbYQL6355qb+3BarieHkmDAw==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -5241,14 +5241,14 @@ } }, "node_modules/@wordpress/element": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-5.11.0.tgz", - "integrity": "sha512-PRmh2LLNsBKVwYGlff3Mq4P87icBin0AgP52wU0BpJw/Eiy4VnCm+PDw9LCEOMCTVIpLeJXN1VUt+yGZ+VzW6w==", + "version": "5.12.0", + "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-5.12.0.tgz", + "integrity": "sha512-W2Gcg8G9Qbzvh/9smHgvisoepe+GWzHXdxXOdRclNtmNXv0GGRkJJRIm2JFeV7emc2rOiI68VM/khnSTc293sQ==", "dependencies": { "@babel/runtime": "^7.16.0", "@types/react": "^18.0.21", "@types/react-dom": "^18.0.6", - "@wordpress/escape-html": "^2.34.0", + "@wordpress/escape-html": "^2.35.0", "change-case": "^4.1.2", "is-plain-object": "^5.0.0", "react": "^18.2.0", @@ -5259,9 +5259,9 @@ } }, "node_modules/@wordpress/env": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-5.16.0.tgz", - "integrity": "sha512-zx6UO8PuJBrQ34cfeedK1HlGHLFaj7oWzTo9tTt+noB79Ttqc4+a0lYwDqBLLJhlHU+cWgcyOP2lB6TboXH0xA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-8.1.0.tgz", + "integrity": "sha512-GaTMBMIQ3dOoU1wnSZ4jVxDYdYBDm/w4XgOdrN8GSbh8/hv1ZdZTnV+D6rt3fGyFojyVLbJc1nNcHguj9tT18g==", "dev": true, "dependencies": { "chalk": "^4.0.0", @@ -5282,9 +5282,9 @@ } }, "node_modules/@wordpress/escape-html": { - "version": "2.34.0", - "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-2.34.0.tgz", - "integrity": "sha512-xVBtkAfQmOeXb76CQESJeChDq1EA73PCUCJNRxRyDhCIyHBYWp+DmtvhXfwwuHnf0haJhQY2iQNqt5eKZPjBdQ==", + "version": "2.35.0", + "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-2.35.0.tgz", + "integrity": "sha512-tS/+pHBI3Yqkhy2hQ+dKlxm076ULCVa4hk0bgJFtdu0KejQ9wpC7vh/+i8bkv+OQZJx5B8v86872ccO2dKSciw==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -5293,16 +5293,16 @@ } }, "node_modules/@wordpress/eslint-plugin": { - "version": "14.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-14.7.0.tgz", - "integrity": "sha512-UpK+FC7BPIBdOKien9hNlloju252zNiYgJkuSHFNA/RgSkkF993in1PYbf0/ppsTtF2VwbOyFxy2uCHCvJFAEw==", + "version": "14.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-14.8.0.tgz", + "integrity": "sha512-j+lKh274qc+1Xbr5mudHFdR8dlGS2jar4xFnJjoTMHZu3GPlIL5rIvkfV7SGWSwD0Y7nBSQwOs2bt2I8sTo17Q==", "dev": true, "dependencies": { "@babel/eslint-parser": "^7.16.0", "@typescript-eslint/eslint-plugin": "^5.3.0", "@typescript-eslint/parser": "^5.3.0", - "@wordpress/babel-preset-default": "^7.18.0", - "@wordpress/prettier-config": "^2.17.0", + "@wordpress/babel-preset-default": "^7.19.0", + "@wordpress/prettier-config": "^2.18.0", "cosmiconfig": "^7.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.2", @@ -5370,12 +5370,12 @@ } }, "node_modules/@wordpress/i18n": { - "version": "4.34.0", - "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.34.0.tgz", - "integrity": "sha512-rC1Ll/48GNsYHFF8cUU1V+bfqjBtHAsDsB7F8O81tXjfkJDFsNq7J8Gti47lAgeqvQ934y+sj5gAmFaM7A+AdA==", + "version": "4.35.0", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.35.0.tgz", + "integrity": "sha512-YT+8VHRiuna4inTb69cVI+8G3uBrq2wHfdiZesyVzRTBU7Yk/1PKIpqF4zwGNIZymuAojkFY5IS/vADLjBZ69g==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/hooks": "^3.34.0", + "@wordpress/hooks": "^3.35.0", "gettext-parser": "^1.3.1", "memize": "^2.1.0", "sprintf-js": "^1.1.1", @@ -5389,9 +5389,9 @@ } }, "node_modules/@wordpress/i18n/node_modules/@wordpress/hooks": { - "version": "3.34.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.34.0.tgz", - "integrity": "sha512-qVBtsA8bjACRTL5tkeGkg9jb5O66JmLJY3zSFnQ4v97CTXdtNAFXSCVEIbwDsZSsXOu/ybX06teKsvS9v3tnXg==", + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.35.0.tgz", + "integrity": "sha512-kULaDrUh2G7GMSjHMMjDMmQ9jWmO4nGkeIwwdzyKFwSv+qSpI8ootDQkNpt3d3STTGbwG9fvjQoX9uefSPDZwA==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -5405,13 +5405,13 @@ "integrity": "sha512-yywVJy8ctVlN5lNPxsep5urnZ6TTclwPEyigM9M3Bi8vseJBOfqNrGWN/r8NzuIt3PovM323W04blJfGQfQSVg==" }, "node_modules/@wordpress/icons": { - "version": "9.25.0", - "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-9.25.0.tgz", - "integrity": "sha512-TKg6mWWzc8xa1Cte3Ql6vTWRyz5BJGAk10nvjn7I2oy+H1ecCYYrJdBM3WGClEZssvtNGYk6U5IWhlSqvVr05Q==", + "version": "9.26.0", + "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-9.26.0.tgz", + "integrity": "sha512-5tS2DqFG++544Sopiz7z5cmNIgtJUxBrnwcElUvyGT8+eorAKCaSPa7O8InOvYvpQOPS5o9vGd9XYfjTX7fufA==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/element": "^5.11.0", - "@wordpress/primitives": "^3.32.0" + "@wordpress/element": "^5.12.0", + "@wordpress/primitives": "^3.33.0" }, "engines": { "node": ">=12" @@ -5426,9 +5426,9 @@ } }, "node_modules/@wordpress/jest-console": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-7.5.0.tgz", - "integrity": "sha512-9epC9jzlzuOmIeMu1GSO2xgXtPXp7FmmAmPYePKpWR2shqlYI6rxYL4N4leZ3eLOJBthSwSUVaDirKfuB5MRug==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-7.6.0.tgz", + "integrity": "sha512-G1/9KPpbv+JGq0oSr9z20Cc1YNiKZlRczruvTIMznixvtekRMxu3shVT8zkIyvDv0VKz3Cb9GlyfimweYBLp9w==", "dev": true, "dependencies": { "@babel/runtime": "^7.16.0", @@ -5442,12 +5442,12 @@ } }, "node_modules/@wordpress/jest-preset-default": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-11.5.0.tgz", - "integrity": "sha512-NC99oWtQJsMdsbOugb+ZMtSI/mwR6gALmFGDYqlDq6WcBTfqm5kqR+o+yW1omYLaGV5HW2nmVLRcKnYYzrn8aA==", + "version": "11.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-11.6.0.tgz", + "integrity": "sha512-fmY0ZJtFbPhWHF70227yeJpv3uOA9Mjv06SxGIdX0KMRFWtGv5revu7NbmaywzQ1gl/GA+8vzqGUL+RcF1LbkQ==", "dev": true, "dependencies": { - "@wordpress/jest-console": "^7.5.0", + "@wordpress/jest-console": "^7.6.0", "babel-jest": "^29.5.0" }, "engines": { @@ -5486,9 +5486,9 @@ } }, "node_modules/@wordpress/npm-package-json-lint-config": { - "version": "4.19.0", - "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-4.19.0.tgz", - "integrity": "sha512-CKSPay+Tv1OQ24y0g/VDwyc8ZEwWQduejxcuZOMTodtTsB9mQmKFnWFeh9r30sxeTV7gu/zrNQ2fXKGj987NdA==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-4.20.0.tgz", + "integrity": "sha512-R2iBpiQ6L3dAFooqOi69xZqRnLe5+OgC4ZrxwcjgHO8HhaZlrrs+xZPai/g2ojANQdOt1XHNcfEfX2wqhgpw1g==", "dev": true, "engines": { "node": ">=14" @@ -5498,12 +5498,12 @@ } }, "node_modules/@wordpress/postcss-plugins-preset": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-4.18.0.tgz", - "integrity": "sha512-1Z/yahgumc55tNHI3yJQgDPti5oQ4DCRSeit0aT3d6817nddzWp7WwW3FJj29hyvlRT9XbQmc6g32EJtiwu+dQ==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-4.19.0.tgz", + "integrity": "sha512-KV0pAFNxoSQGFyP2fU3G3LUQ/7tS7RrD/Uaz6HTwCRyuLJMtcrYCQi4Jd+papkW9ZVyhKumEogqJ0PX5Q/VTng==", "dev": true, "dependencies": { - "@wordpress/base-styles": "^4.25.0", + "@wordpress/base-styles": "^4.26.0", "autoprefixer": "^10.2.5" }, "engines": { @@ -5514,9 +5514,9 @@ } }, "node_modules/@wordpress/prettier-config": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-2.17.0.tgz", - "integrity": "sha512-g4TEQIRDwNW/O8cAf895YV8a3eFfJr7RNLjqu70r8JFH4jmt2clJNu/9nxRburBxJZwqQnykrnDUz0HvXSbcsA==", + "version": "2.18.0", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-2.18.0.tgz", + "integrity": "sha512-pwapbbHNZ5i2l8bRdBJMjLRWZtjSUDK2uEDjGsUu6zq2Cu/iDqsZuU1TZGDQEAanyIgswnloFnDTjz/31QAsAg==", "dev": true, "engines": { "node": ">=14" @@ -5526,12 +5526,12 @@ } }, "node_modules/@wordpress/primitives": { - "version": "3.32.0", - "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-3.32.0.tgz", - "integrity": "sha512-bBWiFS7LwDQJUqOcOsASnnqjxn2E6qqL5+qSTK0hJXMSwLdh373KA2ja0ZhNWkHzerv8sSWRCJeB89MzuuiVpA==", + "version": "3.33.0", + "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-3.33.0.tgz", + "integrity": "sha512-tgGkoDaWFELSoVM3FCS8T16DclIHbC7P2i3j8eVcprYsbgsGR+gaob7qWjgGb954A/OtSfayp1UNwl2kKuPh/A==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/element": "^5.11.0", + "@wordpress/element": "^5.12.0", "classnames": "^2.3.1" }, "engines": { @@ -5539,9 +5539,9 @@ } }, "node_modules/@wordpress/priority-queue": { - "version": "2.34.0", - "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-2.34.0.tgz", - "integrity": "sha512-JGG0c5QCzb5VxdjlK+/Tow0DEHZg+eyGPXGUtwqobd+bsw1Rz1b4rJPpicx9BxRB6+bkDik/7jpL2vv8X/nQKA==", + "version": "2.35.0", + "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-2.35.0.tgz", + "integrity": "sha512-ybG3Ck8hIwCsPPvasHooUsmgezH7iqr+QEWAbty4hAE5xTNTYBe8CtVYJKWDd1YGjadw90I+R1sAooynY9QsTg==", "dependencies": { "@babel/runtime": "^7.16.0", "requestidlecallback": "^0.3.0" @@ -5698,23 +5698,23 @@ } }, "node_modules/@wordpress/scripts": { - "version": "26.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-26.5.0.tgz", - "integrity": "sha512-9fPPy6FYIRpzd1w89qUGMhvLpgAkD7Zy9y+RSqYqDUTkbB2wO2u1YCWrUvnyNinoMaAOeykM0dBVnrw0QZSdhA==", + "version": "26.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-26.6.0.tgz", + "integrity": "sha512-Pcyg9fg1UL5S0V0iUhZTutqml19nARR99A/LR8gYr3YVzVT5qTV2eyvzZRgs5lTcnBaOfUfKBucWi69v5+yEVg==", "dev": true, "dependencies": { "@babel/core": "^7.16.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.2", "@svgr/webpack": "^6.2.1", - "@wordpress/babel-preset-default": "^7.18.0", - "@wordpress/browserslist-config": "^5.17.0", - "@wordpress/dependency-extraction-webpack-plugin": "^4.17.0", - "@wordpress/eslint-plugin": "^14.7.0", - "@wordpress/jest-preset-default": "^11.5.0", - "@wordpress/npm-package-json-lint-config": "^4.19.0", - "@wordpress/postcss-plugins-preset": "^4.18.0", - "@wordpress/prettier-config": "^2.17.0", - "@wordpress/stylelint-config": "^21.17.0", + "@wordpress/babel-preset-default": "^7.19.0", + "@wordpress/browserslist-config": "^5.18.0", + "@wordpress/dependency-extraction-webpack-plugin": "^4.18.0", + "@wordpress/eslint-plugin": "^14.8.0", + "@wordpress/jest-preset-default": "^11.6.0", + "@wordpress/npm-package-json-lint-config": "^4.20.0", + "@wordpress/postcss-plugins-preset": "^4.19.0", + "@wordpress/prettier-config": "^2.18.0", + "@wordpress/stylelint-config": "^21.18.0", "adm-zip": "^0.5.9", "babel-jest": "^29.5.0", "babel-loader": "^8.2.3", @@ -5753,7 +5753,7 @@ "sass-loader": "^12.1.0", "source-map-loader": "^3.0.0", "stylelint": "^14.2.0", - "terser-webpack-plugin": "^5.1.4", + "terser-webpack-plugin": "^5.3.9", "url-loader": "^4.1.1", "webpack": "^5.47.1", "webpack-bundle-analyzer": "^4.4.2", @@ -5773,9 +5773,9 @@ } }, "node_modules/@wordpress/stylelint-config": { - "version": "21.17.0", - "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-21.17.0.tgz", - "integrity": "sha512-QGK8lJexrbaIjr/YmXG8uBwLbdC4VN9A4w5DoWZTNVux2mq+K0Wqatl8D6OU/aL62dPZkL85AkoZbHVj8WqY1Q==", + "version": "21.18.0", + "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-21.18.0.tgz", + "integrity": "sha512-mpZY7OQ+6G3SZFiH21J3obHOyZKEAY3soZoDPC5GQ48CR3YickmqVJlW8IFMU/6feHHhFM4gE3L12qp/sIdqzw==", "dev": true, "dependencies": { "stylelint-config-recommended": "^6.0.0", @@ -5799,9 +5799,9 @@ } }, "node_modules/@wordpress/warning": { - "version": "2.34.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-2.34.0.tgz", - "integrity": "sha512-y1zYJjj0oydNrET+xD2ji6O4OA7MN+ugqSYvkuITMf+0tcPZfH4BdW0wMQgy1QjDGd6HPH8C3xH4Omhn+NFr5g==", + "version": "2.35.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-2.35.0.tgz", + "integrity": "sha512-lqYFx0L0oeV1X/ucorAh2j1RRB01m5nfPm1ixtmE3mhGT7UET9f9HuvmDJMDUP9pF/QlyeTTXGczaC7VEPjriQ==", "dev": true, "engines": { "node": ">=12" @@ -8286,9 +8286,9 @@ } }, "node_modules/cypress": { - "version": "12.13.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-12.13.0.tgz", - "integrity": "sha512-QJlSmdPk+53Zhy69woJMySZQJoWfEWun3X5OOenGsXjRPVfByVTHorxNehbzhZrEzH9RDUDqVcck0ahtlS+N/Q==", + "version": "12.14.0", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-12.14.0.tgz", + "integrity": "sha512-HiLIXKXZaIT1RT7sw1sVPt+qKtis3uYNm6KwC4qoYjabwLKaqZlyS/P+uVvvlBNcHIwL/BC6nQZajpbUd7hOgQ==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -16867,9 +16867,9 @@ } }, "node_modules/react-router": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.12.0.tgz", - "integrity": "sha512-/tCGtLq9umxRvbYeIx3j94CmpQfue0E3qnetVm9luKhu58cR4t+3O4ZrQXBdXfJrBATOAj+wF/1ihJJQI8AoTw==", + "version": "6.12.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.12.1.tgz", + "integrity": "sha512-evd/GrKJOeOypD0JB9e1r7pQh2gWCsTbUfq059Wm1AFT/K2MNZuDo19lFtAgIhlBrp0MmpgpqtvZC7LPAs7vSw==", "dependencies": { "@remix-run/router": "1.6.3" }, @@ -16881,12 +16881,12 @@ } }, "node_modules/react-router-dom": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.12.0.tgz", - "integrity": "sha512-UzLwZ3ZVaDr6YV0HdjwxuwtDKgwpJx9o1ea9fU0HV4tTvzdB8WPHzlLFMo5orchpIS84e8G4Erlhu7Rl84XDFQ==", + "version": "6.12.1", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.12.1.tgz", + "integrity": "sha512-POIZN9UDKWwEDga054LvYr2KnK8V+0HR4Ny4Bwv8V7/FZCPxJgsCjYxXGxqxzHs7VBxMKZfgvtKhafuJkJSPGA==", "dependencies": { "@remix-run/router": "1.6.3", - "react-router": "6.12.0" + "react-router": "6.12.1" }, "engines": { "node": ">=14" diff --git a/package.json b/package.json index 0c880c7ae..091c324e2 100644 --- a/package.json +++ b/package.json @@ -27,28 +27,28 @@ "@heroicons/react": "^2.0.18", "@newfold-labs/wp-module-ecommerce": "github:newfold-labs/wp-module-ecommerce#v1.0.2", "@reduxjs/toolkit": "^1.9.5", - "@wordpress/compose": "^6.11.0", - "@wordpress/dom-ready": "^3.34.0", - "@wordpress/element": "^5.11.0", - "@wordpress/i18n": "^4.34.0", - "@wordpress/icons": "^9.25.0", + "@wordpress/compose": "^6.12.0", + "@wordpress/dom-ready": "^3.35.0", + "@wordpress/element": "^5.12.0", + "@wordpress/i18n": "^4.35.0", + "@wordpress/icons": "^9.26.0", "@yoast/ui-library": "^3.1.0", "classnames": "^2.3.2", "jquery": "^3.7.0", "lodash": "^4.17.21", "react": "^18.2.0", "react-error-boundary": "^4.0.3", - "react-router-dom": "^6.10.0", + "react-router-dom": "^6.12.1", "react-use": "^17.4.0" }, "devDependencies": { - "@replayio/cypress": "^0.5.10", + "@replayio/cypress": "^1.0.0", "@tailwindcss/forms": "^0.5.3", "@testing-library/cypress": "^9.0.0", - "@wordpress/env": "^5.16.0", - "@wordpress/scripts": "^26.5.0", + "@wordpress/env": "^8.1.0", + "@wordpress/scripts": "^26.6.0", "@yoast/tailwindcss-preset": "^2.2.0", - "cypress": "^12.13.0", + "cypress": "^12.14.0", "cypress-axe": "^1.4.0", "tailwindcss": "^3.3.2" },