From d3a7d26e37e6e63fbc3a198a2224c97f29bedde1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 12:07:13 +0000 Subject: [PATCH 01/36] GitHub Actions(deps): Bump actions/add-to-project from 0.5.0 to 0.6.0 Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 0.5.0 to 0.6.0. - [Release notes](https://github.com/actions/add-to-project/releases) - [Commits](https://github.com/actions/add-to-project/compare/v0.5.0...v0.6.0) --- updated-dependencies: - dependency-name: actions/add-to-project dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/add-to-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index a6b73e98..19f30a67 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -10,7 +10,7 @@ jobs: name: Add issue to project runs-on: ubuntu-latest steps: - - uses: actions/add-to-project@v0.5.0 + - uses: actions/add-to-project@v0.6.0 with: project-url: https://github.com/orgs/newfold-labs/projects/1 github-token: ${{ secrets.PROJECT_TOKEN }} From 81ccfac332d097ca0ab2b4b4248d3bc08c48dddf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 12:49:19 +0000 Subject: [PATCH 02/36] NPM(deps): Bump @wordpress/compose from 6.29.0 to 6.30.0 Bumps [@wordpress/compose](https://github.com/WordPress/gutenberg/tree/HEAD/packages/compose) from 6.29.0 to 6.30.0. - [Release notes](https://github.com/WordPress/gutenberg/releases) - [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/compose/CHANGELOG.md) - [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/compose@6.30.0/packages/compose) --- updated-dependencies: - dependency-name: "@wordpress/compose" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 210 +++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 106 insertions(+), 106 deletions(-) diff --git a/package-lock.json b/package-lock.json index f4c28877..b2593374 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@newfold-labs/wp-module-runtime": "^1.0.9", "@newfold/ui-component-library": "^1.0.1", "@reduxjs/toolkit": "^2.1.0", - "@wordpress/compose": "^6.29.0", + "@wordpress/compose": "^6.30.0", "@wordpress/dom-ready": "^3.52.0", "@wordpress/element": "^5.29.0", "@wordpress/i18n": "^4.52.0", @@ -5404,19 +5404,19 @@ } }, "node_modules/@wordpress/compose": { - "version": "6.29.0", - "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-6.29.0.tgz", - "integrity": "sha512-pL7JhOCDYNCnj3XwkV9jl7901lw/NEaptI6ovF1FTutiFSPeJlrhlZTny9VJpoM9D67Y0x7Q9r+s0exy073oew==", + "version": "6.30.0", + "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-6.30.0.tgz", + "integrity": "sha512-YPyO0Ms3HUZSxb0ICzGe/55IWXAvzk0+iT4r3fiRtJaxrYtwz7XvLHkIJQ25bbue76lJbn4xFVD6hk30DiE7mA==", "dependencies": { "@babel/runtime": "^7.16.0", "@types/mousetrap": "^1.6.8", - "@wordpress/deprecated": "^3.52.0", - "@wordpress/dom": "^3.52.0", - "@wordpress/element": "^5.29.0", - "@wordpress/is-shallow-equal": "^4.52.0", - "@wordpress/keycodes": "^3.52.0", - "@wordpress/priority-queue": "^2.52.0", - "@wordpress/undo-manager": "^0.12.0", + "@wordpress/deprecated": "^3.53.0", + "@wordpress/dom": "^3.53.0", + "@wordpress/element": "^5.30.0", + "@wordpress/is-shallow-equal": "^4.53.0", + "@wordpress/keycodes": "^3.53.0", + "@wordpress/priority-queue": "^2.53.0", + "@wordpress/undo-manager": "^0.13.0", "change-case": "^4.1.2", "clipboard": "^2.0.11", "mousetrap": "^1.6.5", @@ -5430,33 +5430,33 @@ } }, "node_modules/@wordpress/compose/node_modules/@wordpress/deprecated": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/deprecated/-/deprecated-3.52.0.tgz", - "integrity": "sha512-OHO8S/dX6xd7OZ093R6r/kK3OLUeeABLu3OoTULOOn4dS2folENMNMpleH78KY0MuQbBQlPgdtMqbSRKZHdJgQ==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/deprecated/-/deprecated-3.53.0.tgz", + "integrity": "sha512-o6oXvOaEHYDbShDqmthVijiXo0cWdHpPbL6PFZQuqHWvDa9FyxLkfYym2/REZJIFaMJsf6BGZEJMrXTf/W+Nrg==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/hooks": "^3.52.0" + "@wordpress/hooks": "^3.53.0" }, "engines": { "node": ">=12" } }, "node_modules/@wordpress/compose/node_modules/@wordpress/dom": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-3.52.0.tgz", - "integrity": "sha512-eAoQy2cSmRP07SlhfRM7r8vkKBgnSla0074EkEXgQgYs6whGdH6MOp8mtd2ExkzTToXYRuIHh7f+rNBKNyxRtQ==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-3.53.0.tgz", + "integrity": "sha512-mhRAqhDpgfo4cgtd9PGoVvQ7cJQbiMNOgL3BsvRWXDQO2De3cYM8gnJWoNbRW6UOdtMDSAKBM58iJ2PnmIPjbg==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/deprecated": "^3.52.0" + "@wordpress/deprecated": "^3.53.0" }, "engines": { "node": ">=12" } }, "node_modules/@wordpress/compose/node_modules/@wordpress/hooks": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.52.0.tgz", - "integrity": "sha512-acEF5B6GkFOjImqPpLvl1lP0sbpS6h35BV6RbXZFlaawCj8GYs6/tvCkHXzfwvjGwP2aR9jdpSx9DpXWKyJSQQ==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.53.0.tgz", + "integrity": "sha512-Ul8iS+bzJMuN/ZD1HTcs3fwXC6eKLCvJJZmb61tEQ+Z3dubjf6vFQizE6Tl3ZaVlcc2/rtwb0rdEPLfnR6ePFg==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -5465,9 +5465,9 @@ } }, "node_modules/@wordpress/compose/node_modules/@wordpress/is-shallow-equal": { - "version": "4.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-4.52.0.tgz", - "integrity": "sha512-5VpPrnTbWt27I2RJTSyZe8NUrs4MRRIHjvmNLXV9LDWDnttdxtA3p171xkR/VquEr8lDGdl/IeCEuTji/HegpA==", + "version": "4.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-4.53.0.tgz", + "integrity": "sha512-/90Nd1u90yTQxtwv6c+TnGyBFvxrF04pfo1KhdodCHlX/+sBn4CASgSvQAW2+FXemNqfw0rC4mBG/Sa8xhtC5A==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -5476,12 +5476,12 @@ } }, "node_modules/@wordpress/compose/node_modules/@wordpress/keycodes": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-3.52.0.tgz", - "integrity": "sha512-Qz+hdTtTZCBNgnhWb/pzM7iMfhx+bwo/b0LmTbANU4i4wJBaKQ9Qlkkaek30gZ/qC7rHunTtXoupcJ5NrZZdtg==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-3.53.0.tgz", + "integrity": "sha512-fNmjwZCdKg0EqXUQTJzdLj4sC58vIp8UqRKg+DeHQX4xAjLyTN8/JzMvmxPFF2nv57a1J5FLtOONqdrxaETGYg==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.52.0" + "@wordpress/i18n": "^4.53.0" }, "engines": { "node": ">=12" @@ -5705,14 +5705,14 @@ "dev": true }, "node_modules/@wordpress/element": { - "version": "5.29.0", - "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-5.29.0.tgz", - "integrity": "sha512-PG8HbdwL4Gq8wp2EIrTOTz+C7jsghzfQPu8NgbBz74oPXE+qjhrAGT39XyxHqZO/pvEwyZpdIzFyx9uYoED2jw==", + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-5.30.0.tgz", + "integrity": "sha512-KH+KdZ1jzLRgA65Ez6Uy5dVbkS2az0uk1lDUpPRhApEY2J12SbsD/aVuznP/huO2Af+hyh4DDqbVS817Abcy2g==", "dependencies": { "@babel/runtime": "^7.16.0", "@types/react": "^18.0.21", "@types/react-dom": "^18.0.6", - "@wordpress/escape-html": "^2.52.0", + "@wordpress/escape-html": "^2.53.0", "change-case": "^4.1.2", "is-plain-object": "^5.0.0", "react": "^18.2.0", @@ -5746,9 +5746,9 @@ } }, "node_modules/@wordpress/escape-html": { - "version": "2.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-2.52.0.tgz", - "integrity": "sha512-0h5gn9QK+yP7WbhW4rsB2irvfdqsB5/9WFc4D9QSt2nVmC+Wf4KCTCPh6WilV0OApi+Se8TrV1tZwedhuCDqlw==", + "version": "2.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-2.53.0.tgz", + "integrity": "sha512-K2c6jg7qTGZIFj7uTCFR4FTK8PqHM4El7zdPAuK2apnZqhbdJEfH1/ogK+QZtn1VctyOXl0Mc+vzWoLUncey3g==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -5860,12 +5860,12 @@ } }, "node_modules/@wordpress/i18n": { - "version": "4.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.52.0.tgz", - "integrity": "sha512-0fCE5v59SvDkhX6xy7jLav8W3y2IMMp0F3Muvn4m0F1DbPWRQYAqqfsAh3g/0qYqVuLf089JIDc/w2E/GK0e5Q==", + "version": "4.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.53.0.tgz", + "integrity": "sha512-Ovp00blCGhgKwtLQbxT/gweB9r9vGPLkneM28KhCQvgHIlpyDRESIr+CMIDov7KxKnO2gzfnwfrNhXgZX+a/3Q==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/hooks": "^3.52.0", + "@wordpress/hooks": "^3.53.0", "gettext-parser": "^1.3.1", "memize": "^2.1.0", "sprintf-js": "^1.1.1", @@ -5879,9 +5879,9 @@ } }, "node_modules/@wordpress/i18n/node_modules/@wordpress/hooks": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.52.0.tgz", - "integrity": "sha512-acEF5B6GkFOjImqPpLvl1lP0sbpS6h35BV6RbXZFlaawCj8GYs6/tvCkHXzfwvjGwP2aR9jdpSx9DpXWKyJSQQ==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.53.0.tgz", + "integrity": "sha512-Ul8iS+bzJMuN/ZD1HTcs3fwXC6eKLCvJJZmb61tEQ+Z3dubjf6vFQizE6Tl3ZaVlcc2/rtwb0rdEPLfnR6ePFg==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -6029,9 +6029,9 @@ } }, "node_modules/@wordpress/priority-queue": { - "version": "2.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-2.52.0.tgz", - "integrity": "sha512-umajVlF6/T7c81bP5Gl5teQyKAPX0/ilbTyQKsa1iyWsGir/E7sZ9l7mTMuJJ2CkrSl3m3YpV8shfwjMy6EVlQ==", + "version": "2.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-2.53.0.tgz", + "integrity": "sha512-tWsEOzstjE05DGyP9lGtwD6Ver6O1emKFQCHVXqS5kPfTg44Tm4/JTaCpnYYAf/+ki9ueZgTczqIdukCu+PDFA==", "dependencies": { "@babel/runtime": "^7.16.0", "requestidlecallback": "^0.3.0" @@ -6331,21 +6331,21 @@ } }, "node_modules/@wordpress/undo-manager": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@wordpress/undo-manager/-/undo-manager-0.12.0.tgz", - "integrity": "sha512-ZVjB402HxXVn1N5ioeSbnPuNc1+nOBxETWOjmeEvUV4lsEJujm8zjo6KwZvJM0F+UsJVS75G18iW5ept5kfzCQ==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@wordpress/undo-manager/-/undo-manager-0.13.0.tgz", + "integrity": "sha512-3HY1YuQNmRdRH1ZKKLRaJlqYfWYIiBsq4I1nXKEufmwmHwMHz7nzp+bQe6erutkVran4zMzRILZPsZXpbqm//A==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/is-shallow-equal": "^4.52.0" + "@wordpress/is-shallow-equal": "^4.53.0" }, "engines": { "node": ">=12" } }, "node_modules/@wordpress/undo-manager/node_modules/@wordpress/is-shallow-equal": { - "version": "4.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-4.52.0.tgz", - "integrity": "sha512-5VpPrnTbWt27I2RJTSyZe8NUrs4MRRIHjvmNLXV9LDWDnttdxtA3p171xkR/VquEr8lDGdl/IeCEuTji/HegpA==", + "version": "4.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-4.53.0.tgz", + "integrity": "sha512-/90Nd1u90yTQxtwv6c+TnGyBFvxrF04pfo1KhdodCHlX/+sBn4CASgSvQAW2+FXemNqfw0rC4mBG/Sa8xhtC5A==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -27005,19 +27005,19 @@ } }, "@wordpress/compose": { - "version": "6.29.0", - "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-6.29.0.tgz", - "integrity": "sha512-pL7JhOCDYNCnj3XwkV9jl7901lw/NEaptI6ovF1FTutiFSPeJlrhlZTny9VJpoM9D67Y0x7Q9r+s0exy073oew==", + "version": "6.30.0", + "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-6.30.0.tgz", + "integrity": "sha512-YPyO0Ms3HUZSxb0ICzGe/55IWXAvzk0+iT4r3fiRtJaxrYtwz7XvLHkIJQ25bbue76lJbn4xFVD6hk30DiE7mA==", "requires": { "@babel/runtime": "^7.16.0", "@types/mousetrap": "^1.6.8", - "@wordpress/deprecated": "^3.52.0", - "@wordpress/dom": "^3.52.0", - "@wordpress/element": "^5.29.0", - "@wordpress/is-shallow-equal": "^4.52.0", - "@wordpress/keycodes": "^3.52.0", - "@wordpress/priority-queue": "^2.52.0", - "@wordpress/undo-manager": "^0.12.0", + "@wordpress/deprecated": "^3.53.0", + "@wordpress/dom": "^3.53.0", + "@wordpress/element": "^5.30.0", + "@wordpress/is-shallow-equal": "^4.53.0", + "@wordpress/keycodes": "^3.53.0", + "@wordpress/priority-queue": "^2.53.0", + "@wordpress/undo-manager": "^0.13.0", "change-case": "^4.1.2", "clipboard": "^2.0.11", "mousetrap": "^1.6.5", @@ -27025,46 +27025,46 @@ }, "dependencies": { "@wordpress/deprecated": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/deprecated/-/deprecated-3.52.0.tgz", - "integrity": "sha512-OHO8S/dX6xd7OZ093R6r/kK3OLUeeABLu3OoTULOOn4dS2folENMNMpleH78KY0MuQbBQlPgdtMqbSRKZHdJgQ==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/deprecated/-/deprecated-3.53.0.tgz", + "integrity": "sha512-o6oXvOaEHYDbShDqmthVijiXo0cWdHpPbL6PFZQuqHWvDa9FyxLkfYym2/REZJIFaMJsf6BGZEJMrXTf/W+Nrg==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/hooks": "^3.52.0" + "@wordpress/hooks": "^3.53.0" } }, "@wordpress/dom": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-3.52.0.tgz", - "integrity": "sha512-eAoQy2cSmRP07SlhfRM7r8vkKBgnSla0074EkEXgQgYs6whGdH6MOp8mtd2ExkzTToXYRuIHh7f+rNBKNyxRtQ==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-3.53.0.tgz", + "integrity": "sha512-mhRAqhDpgfo4cgtd9PGoVvQ7cJQbiMNOgL3BsvRWXDQO2De3cYM8gnJWoNbRW6UOdtMDSAKBM58iJ2PnmIPjbg==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/deprecated": "^3.52.0" + "@wordpress/deprecated": "^3.53.0" } }, "@wordpress/hooks": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.52.0.tgz", - "integrity": "sha512-acEF5B6GkFOjImqPpLvl1lP0sbpS6h35BV6RbXZFlaawCj8GYs6/tvCkHXzfwvjGwP2aR9jdpSx9DpXWKyJSQQ==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.53.0.tgz", + "integrity": "sha512-Ul8iS+bzJMuN/ZD1HTcs3fwXC6eKLCvJJZmb61tEQ+Z3dubjf6vFQizE6Tl3ZaVlcc2/rtwb0rdEPLfnR6ePFg==", "requires": { "@babel/runtime": "^7.16.0" } }, "@wordpress/is-shallow-equal": { - "version": "4.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-4.52.0.tgz", - "integrity": "sha512-5VpPrnTbWt27I2RJTSyZe8NUrs4MRRIHjvmNLXV9LDWDnttdxtA3p171xkR/VquEr8lDGdl/IeCEuTji/HegpA==", + "version": "4.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-4.53.0.tgz", + "integrity": "sha512-/90Nd1u90yTQxtwv6c+TnGyBFvxrF04pfo1KhdodCHlX/+sBn4CASgSvQAW2+FXemNqfw0rC4mBG/Sa8xhtC5A==", "requires": { "@babel/runtime": "^7.16.0" } }, "@wordpress/keycodes": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-3.52.0.tgz", - "integrity": "sha512-Qz+hdTtTZCBNgnhWb/pzM7iMfhx+bwo/b0LmTbANU4i4wJBaKQ9Qlkkaek30gZ/qC7rHunTtXoupcJ5NrZZdtg==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-3.53.0.tgz", + "integrity": "sha512-fNmjwZCdKg0EqXUQTJzdLj4sC58vIp8UqRKg+DeHQX4xAjLyTN8/JzMvmxPFF2nv57a1J5FLtOONqdrxaETGYg==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.52.0" + "@wordpress/i18n": "^4.53.0" } } } @@ -27245,14 +27245,14 @@ } }, "@wordpress/element": { - "version": "5.29.0", - "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-5.29.0.tgz", - "integrity": "sha512-PG8HbdwL4Gq8wp2EIrTOTz+C7jsghzfQPu8NgbBz74oPXE+qjhrAGT39XyxHqZO/pvEwyZpdIzFyx9uYoED2jw==", + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-5.30.0.tgz", + "integrity": "sha512-KH+KdZ1jzLRgA65Ez6Uy5dVbkS2az0uk1lDUpPRhApEY2J12SbsD/aVuznP/huO2Af+hyh4DDqbVS817Abcy2g==", "requires": { "@babel/runtime": "^7.16.0", "@types/react": "^18.0.21", "@types/react-dom": "^18.0.6", - "@wordpress/escape-html": "^2.52.0", + "@wordpress/escape-html": "^2.53.0", "change-case": "^4.1.2", "is-plain-object": "^5.0.0", "react": "^18.2.0", @@ -27280,9 +27280,9 @@ } }, "@wordpress/escape-html": { - "version": "2.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-2.52.0.tgz", - "integrity": "sha512-0h5gn9QK+yP7WbhW4rsB2irvfdqsB5/9WFc4D9QSt2nVmC+Wf4KCTCPh6WilV0OApi+Se8TrV1tZwedhuCDqlw==", + "version": "2.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-2.53.0.tgz", + "integrity": "sha512-K2c6jg7qTGZIFj7uTCFR4FTK8PqHM4El7zdPAuK2apnZqhbdJEfH1/ogK+QZtn1VctyOXl0Mc+vzWoLUncey3g==", "requires": { "@babel/runtime": "^7.16.0" } @@ -27357,12 +27357,12 @@ } }, "@wordpress/i18n": { - "version": "4.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.52.0.tgz", - "integrity": "sha512-0fCE5v59SvDkhX6xy7jLav8W3y2IMMp0F3Muvn4m0F1DbPWRQYAqqfsAh3g/0qYqVuLf089JIDc/w2E/GK0e5Q==", + "version": "4.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.53.0.tgz", + "integrity": "sha512-Ovp00blCGhgKwtLQbxT/gweB9r9vGPLkneM28KhCQvgHIlpyDRESIr+CMIDov7KxKnO2gzfnwfrNhXgZX+a/3Q==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/hooks": "^3.52.0", + "@wordpress/hooks": "^3.53.0", "gettext-parser": "^1.3.1", "memize": "^2.1.0", "sprintf-js": "^1.1.1", @@ -27370,9 +27370,9 @@ }, "dependencies": { "@wordpress/hooks": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.52.0.tgz", - "integrity": "sha512-acEF5B6GkFOjImqPpLvl1lP0sbpS6h35BV6RbXZFlaawCj8GYs6/tvCkHXzfwvjGwP2aR9jdpSx9DpXWKyJSQQ==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.53.0.tgz", + "integrity": "sha512-Ul8iS+bzJMuN/ZD1HTcs3fwXC6eKLCvJJZmb61tEQ+Z3dubjf6vFQizE6Tl3ZaVlcc2/rtwb0rdEPLfnR6ePFg==", "requires": { "@babel/runtime": "^7.16.0" } @@ -27481,9 +27481,9 @@ } }, "@wordpress/priority-queue": { - "version": "2.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-2.52.0.tgz", - "integrity": "sha512-umajVlF6/T7c81bP5Gl5teQyKAPX0/ilbTyQKsa1iyWsGir/E7sZ9l7mTMuJJ2CkrSl3m3YpV8shfwjMy6EVlQ==", + "version": "2.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-2.53.0.tgz", + "integrity": "sha512-tWsEOzstjE05DGyP9lGtwD6Ver6O1emKFQCHVXqS5kPfTg44Tm4/JTaCpnYYAf/+ki9ueZgTczqIdukCu+PDFA==", "requires": { "@babel/runtime": "^7.16.0", "requestidlecallback": "^0.3.0" @@ -27749,18 +27749,18 @@ } }, "@wordpress/undo-manager": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@wordpress/undo-manager/-/undo-manager-0.12.0.tgz", - "integrity": "sha512-ZVjB402HxXVn1N5ioeSbnPuNc1+nOBxETWOjmeEvUV4lsEJujm8zjo6KwZvJM0F+UsJVS75G18iW5ept5kfzCQ==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@wordpress/undo-manager/-/undo-manager-0.13.0.tgz", + "integrity": "sha512-3HY1YuQNmRdRH1ZKKLRaJlqYfWYIiBsq4I1nXKEufmwmHwMHz7nzp+bQe6erutkVran4zMzRILZPsZXpbqm//A==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/is-shallow-equal": "^4.52.0" + "@wordpress/is-shallow-equal": "^4.53.0" }, "dependencies": { "@wordpress/is-shallow-equal": { - "version": "4.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-4.52.0.tgz", - "integrity": "sha512-5VpPrnTbWt27I2RJTSyZe8NUrs4MRRIHjvmNLXV9LDWDnttdxtA3p171xkR/VquEr8lDGdl/IeCEuTji/HegpA==", + "version": "4.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-4.53.0.tgz", + "integrity": "sha512-/90Nd1u90yTQxtwv6c+TnGyBFvxrF04pfo1KhdodCHlX/+sBn4CASgSvQAW2+FXemNqfw0rC4mBG/Sa8xhtC5A==", "requires": { "@babel/runtime": "^7.16.0" } diff --git a/package.json b/package.json index 69a67cff..01305ebc 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@newfold-labs/wp-module-runtime": "^1.0.9", "@newfold/ui-component-library": "^1.0.1", "@reduxjs/toolkit": "^2.1.0", - "@wordpress/compose": "^6.29.0", + "@wordpress/compose": "^6.30.0", "@wordpress/dom-ready": "^3.52.0", "@wordpress/element": "^5.29.0", "@wordpress/i18n": "^4.52.0", From 663cdc271ecff25711326e2d59a4cdbc4c5a4e0d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 12:58:00 +0000 Subject: [PATCH 03/36] NPM(deps): Bump react-router-dom from 6.22.1 to 6.22.3 Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.22.1 to 6.22.3. - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.22.3/packages/react-router-dom) --- updated-dependencies: - dependency-name: react-router-dom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 50 +++++++++++++++++++++++------------------------ package.json | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index f4c28877..97a28c61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "lodash": "^4.17.21", "react": "^18.2.0", "react-error-boundary": "^4.0.12", - "react-router-dom": "^6.22.0", + "react-router-dom": "^6.22.3", "react-use": "^17.5.0" }, "devDependencies": { @@ -3606,9 +3606,9 @@ "integrity": "sha512-D72j2ubjgHpvuCiORWkOUxndHJrxDaSolheiz5CO+roz8ka97/4msh2E8F5qay4GawR5vzBt5MkbDHT+Rdy/Wg==" }, "node_modules/@remix-run/router": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.15.1.tgz", - "integrity": "sha512-zcU0gM3z+3iqj8UX45AmWY810l3oUmXM7uH4dt5xtzvMhRtYVhKGOmgOd1877dOPPepfCjUv57w+syamWIYe7w==", + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.15.3.tgz", + "integrity": "sha512-Oy8rmScVrVxWZVOpEF57ovlnhpZ8CCPlnIIumVcV9nFdiSIrus99+Lw78ekXyGvVDlIsFJbSfmSovJUhCWYV3w==", "engines": { "node": ">=14.0.0" } @@ -18690,11 +18690,11 @@ } }, "node_modules/react-router": { - "version": "6.22.1", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.22.1.tgz", - "integrity": "sha512-0pdoRGwLtemnJqn1K0XHUbnKiX0S4X8CgvVVmHGOWmofESj31msHo/1YiqcJWK7Wxfq2a4uvvtS01KAQyWK/CQ==", + "version": "6.22.3", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.22.3.tgz", + "integrity": "sha512-dr2eb3Mj5zK2YISHK++foM9w4eBnO23eKnZEDs7c880P6oKbrjz/Svg9+nxqtHQK+oMW4OtjZca0RqPglXxguQ==", "dependencies": { - "@remix-run/router": "1.15.1" + "@remix-run/router": "1.15.3" }, "engines": { "node": ">=14.0.0" @@ -18704,12 +18704,12 @@ } }, "node_modules/react-router-dom": { - "version": "6.22.1", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.22.1.tgz", - "integrity": "sha512-iwMyyyrbL7zkKY7MRjOVRy+TMnS/OPusaFVxM2P11x9dzSzGmLsebkCvYirGq0DWB9K9hOspHYYtDz33gE5Duw==", + "version": "6.22.3", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.22.3.tgz", + "integrity": "sha512-7ZILI7HjcE+p31oQvwbokjk6OA/bnFxrhJ19n82Ex9Ph8fNAq+Hm/7KchpMGlTgWhUxRHMMCut+vEtNpWpowKw==", "dependencies": { - "@remix-run/router": "1.15.1", - "react-router": "6.22.1" + "@remix-run/router": "1.15.3", + "react-router": "6.22.3" }, "engines": { "node": ">=14.0.0" @@ -25523,9 +25523,9 @@ } }, "@remix-run/router": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.15.1.tgz", - "integrity": "sha512-zcU0gM3z+3iqj8UX45AmWY810l3oUmXM7uH4dt5xtzvMhRtYVhKGOmgOd1877dOPPepfCjUv57w+syamWIYe7w==" + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.15.3.tgz", + "integrity": "sha512-Oy8rmScVrVxWZVOpEF57ovlnhpZ8CCPlnIIumVcV9nFdiSIrus99+Lw78ekXyGvVDlIsFJbSfmSovJUhCWYV3w==" }, "@sentry/core": { "version": "6.19.7", @@ -36891,20 +36891,20 @@ "integrity": "sha512-sBtMIEy/9oI+Xf2o7IdWdkTokpZSPo9TWn60gqWKPG3BXg44Rg3FCIMiIjmgvRUF4eQptw6pqYTUhYwkeVSxXA==" }, "react-router": { - "version": "6.22.1", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.22.1.tgz", - "integrity": "sha512-0pdoRGwLtemnJqn1K0XHUbnKiX0S4X8CgvVVmHGOWmofESj31msHo/1YiqcJWK7Wxfq2a4uvvtS01KAQyWK/CQ==", + "version": "6.22.3", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.22.3.tgz", + "integrity": "sha512-dr2eb3Mj5zK2YISHK++foM9w4eBnO23eKnZEDs7c880P6oKbrjz/Svg9+nxqtHQK+oMW4OtjZca0RqPglXxguQ==", "requires": { - "@remix-run/router": "1.15.1" + "@remix-run/router": "1.15.3" } }, "react-router-dom": { - "version": "6.22.1", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.22.1.tgz", - "integrity": "sha512-iwMyyyrbL7zkKY7MRjOVRy+TMnS/OPusaFVxM2P11x9dzSzGmLsebkCvYirGq0DWB9K9hOspHYYtDz33gE5Duw==", + "version": "6.22.3", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.22.3.tgz", + "integrity": "sha512-7ZILI7HjcE+p31oQvwbokjk6OA/bnFxrhJ19n82Ex9Ph8fNAq+Hm/7KchpMGlTgWhUxRHMMCut+vEtNpWpowKw==", "requires": { - "@remix-run/router": "1.15.1", - "react-router": "6.22.1" + "@remix-run/router": "1.15.3", + "react-router": "6.22.3" } }, "react-spring": { diff --git a/package.json b/package.json index 69a67cff..71d1be02 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lodash": "^4.17.21", "react": "^18.2.0", "react-error-boundary": "^4.0.12", - "react-router-dom": "^6.22.0", + "react-router-dom": "^6.22.3", "react-use": "^17.5.0" }, "devDependencies": { From ec04d3583b6682ea541587140dd526edf28c30d1 Mon Sep 17 00:00:00 2001 From: manikantakailasa Date: Tue, 12 Mar 2024 17:23:56 +0530 Subject: [PATCH 04/36] Updating "Sales & Discounts" naming to "Sales & Promotions" --- ...ugin-hostgator-pt_BR-hostgator-script.json | 4 +- src/app/data/routes.js | 230 +++++++++--------- 2 files changed, 117 insertions(+), 117 deletions(-) diff --git a/languages/wp-plugin-hostgator-pt_BR-hostgator-script.json b/languages/wp-plugin-hostgator-pt_BR-hostgator-script.json index d73c51fe..0b77aa17 100644 --- a/languages/wp-plugin-hostgator-pt_BR-hostgator-script.json +++ b/languages/wp-plugin-hostgator-pt_BR-hostgator-script.json @@ -106,8 +106,8 @@ "There's nothing here!": [ "N\u00e3o h\u00e1 nada aqui!" ], - "Sales & Discounts": [ - "Vendas & Descontos" + "Sales & Promotions": [ + "Vendas & Promoções" ], "Store Details": [ "Detalhes da Loja" diff --git a/src/app/data/routes.js b/src/app/data/routes.js index 1c3cd9ef..e5d14e72 100644 --- a/src/app/data/routes.js +++ b/src/app/data/routes.js @@ -1,13 +1,13 @@ -import { - HomeIcon, - ShoppingBagIcon, - WrenchScrewdriverIcon, - BoltIcon, - AdjustmentsHorizontalIcon, - BuildingStorefrontIcon, - QuestionMarkCircleIcon } -from '@heroicons/react/24/outline'; -import { NewfoldRuntime } from "@newfold-labs/wp-module-runtime"; +import { + HomeIcon, + ShoppingBagIcon, + WrenchScrewdriverIcon, + BoltIcon, + AdjustmentsHorizontalIcon, + BuildingStorefrontIcon, + QuestionMarkCircleIcon, +} from '@heroicons/react/24/outline'; +import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime'; import { Route, Routes } from 'react-router-dom'; import { __ } from '@wordpress/i18n'; import Home from '../pages/home'; @@ -19,128 +19,128 @@ import Help from '../pages/help'; import Store from '../pages/ecommerce/page'; import { getMarketplaceSubnavRoutes } from '../../../vendor/newfold-labs/wp-module-marketplace/components/marketplaceSubnav'; -const addPartialMatch = (prefix, path) => prefix === path ? `${prefix}/*` : path; +const addPartialMatch = (prefix, path) => + prefix === path ? `${prefix}/*` : path; -const HelpCenterAI = ( e ) => { - e.preventDefault(); - window.newfoldEmbeddedHelp.toggleNFDLaunchedEmbeddedHelp(); +const HelpCenterAI = (e) => { + e.preventDefault(); + window.newfoldEmbeddedHelp.toggleNFDLaunchedEmbeddedHelp(); }; export const AppRoutes = () => { - return ( - - {routes.map((page) => ( - } - /> - ))} - } /> - -

- {__("There's nothing here!", 'wp-plugin-hostgator')} -

- - } - /> -
- ); + return ( + + {routes.map((page) => ( + } + /> + ))} + } /> + +

{__("There's nothing here!", 'wp-plugin-hostgator')}

+ + } + /> +
+ ); }; const topRoutePaths = [ - '/home', - '/store', - '/marketplace', - '/performance', - '/settings', - '/staging', + '/home', + '/store', + '/marketplace', + '/performance', + '/settings', + '/staging', ]; const utilityRoutePaths = ['/help']; export const routes = [ - { - name: '/home', - title: __('Home', 'wp-plugin-hostgator'), - Component: Home, - Icon: HomeIcon, - }, - { - name: '/store', - title: __('Store', 'wp-plugin-hostgator'), - Component: Store, - Icon: BuildingStorefrontIcon, - subRoutes: [ - { - name: '/store/products', - title: __( 'Products & Services', 'wp-plugin-hostgator' ), - }, - NewfoldRuntime.hasCapability( 'hasYithExtended' ) - ? { - name: "/store/sales_discounts", - title: __("Sales & Discounts", "wp-plugin-hostgator"), - } - : null, - NewfoldRuntime.isWoo - ? { - name: '/store/payments', - title: __( 'Payments', 'wp-plugin-bluehost' ), - } - : null, - { - name: '/store/details', - title: __( 'Store Details', 'wp-plugin-hostgator' ), - } - ].filter(Boolean), - }, - { - name: '/marketplace', - title: __('Marketplace', 'wp-plugin-hostgator'), - Component: Marketplace, - Icon: ShoppingBagIcon, - subRoutes: await getMarketplaceSubnavRoutes(), - }, - { - name: '/performance', - title: __('Performance', 'wp-plugin-hostgator'), - Component: Performance, - Icon: BoltIcon, - }, - { - name: '/settings', - title: __('Settings', 'wp-plugin-hostgator'), - Component: Settings, - Icon: AdjustmentsHorizontalIcon, - }, - { - name: '/staging', - title: __('Staging', 'wp-plugin-hostgator'), - Component: Staging, - Icon: WrenchScrewdriverIcon, - }, - { - name: '/help', - title: __('Help', 'wp-plugin-hostgator'), - Component: Help, - Icon: QuestionMarkCircleIcon, - action: NewfoldRuntime.hasCapability( 'canAccessHelpCenter' ) - ? HelpCenterAI - : false, - }, + { + name: '/home', + title: __('Home', 'wp-plugin-hostgator'), + Component: Home, + Icon: HomeIcon, + }, + { + name: '/store', + title: __('Store', 'wp-plugin-hostgator'), + Component: Store, + Icon: BuildingStorefrontIcon, + subRoutes: [ + { + name: '/store/products', + title: __('Products & Services', 'wp-plugin-hostgator'), + }, + NewfoldRuntime.hasCapability('hasYithExtended') + ? { + name: '/store/sales_discounts', + title: __('Sales & Promotions', 'wp-plugin-hostgator'), + } + : null, + NewfoldRuntime.isWoo + ? { + name: '/store/payments', + title: __('Payments', 'wp-plugin-bluehost'), + } + : null, + { + name: '/store/details', + title: __('Store Details', 'wp-plugin-hostgator'), + }, + ].filter(Boolean), + }, + { + name: '/marketplace', + title: __('Marketplace', 'wp-plugin-hostgator'), + Component: Marketplace, + Icon: ShoppingBagIcon, + subRoutes: await getMarketplaceSubnavRoutes(), + }, + { + name: '/performance', + title: __('Performance', 'wp-plugin-hostgator'), + Component: Performance, + Icon: BoltIcon, + }, + { + name: '/settings', + title: __('Settings', 'wp-plugin-hostgator'), + Component: Settings, + Icon: AdjustmentsHorizontalIcon, + }, + { + name: '/staging', + title: __('Staging', 'wp-plugin-hostgator'), + Component: Staging, + Icon: WrenchScrewdriverIcon, + }, + { + name: '/help', + title: __('Help', 'wp-plugin-hostgator'), + Component: Help, + Icon: QuestionMarkCircleIcon, + action: NewfoldRuntime.hasCapability('canAccessHelpCenter') + ? HelpCenterAI + : false, + }, ]; export const topRoutes = _filter(routes, (route) => - topRoutePaths.includes(route.name) + topRoutePaths.includes(route.name) ); export const utilityRoutes = _filter(routes, (route) => - utilityRoutePaths.includes(route.name) + utilityRoutePaths.includes(route.name) ); export default AppRoutes; From ca71e72a5e2c5b9b4e46056583389ce1e1a91f6b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 13:01:41 +0000 Subject: [PATCH 05/36] Composer(deps): Bump newfold-labs/wp-module-data from 2.4.18 to 2.4.19 Bumps [newfold-labs/wp-module-data](https://github.com/newfold-labs/wp-module-data) from 2.4.18 to 2.4.19. - [Release notes](https://github.com/newfold-labs/wp-module-data/releases) - [Commits](https://github.com/newfold-labs/wp-module-data/compare/2.4.18...2.4.19) --- updated-dependencies: - dependency-name: newfold-labs/wp-module-data dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 22 +++++++++++++++------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 0bd79fc2..a4ac7a14 100644 --- a/composer.json +++ b/composer.json @@ -68,7 +68,7 @@ "doctrine/inflector": "1.4.4 as 1.3.1", "newfold-labs/wp-module-coming-soon": "^1.2.0", "newfold-labs/wp-module-context": "^1.0", - "newfold-labs/wp-module-data": "^2.4.18", + "newfold-labs/wp-module-data": "^2.4.19", "newfold-labs/wp-module-deactivation": "^1.0.5", "newfold-labs/wp-module-ecommerce": "^1.3.23", "newfold-labs/wp-module-global-ctb": "^1.0.11", diff --git a/composer.lock b/composer.lock index 879f770c..5163d872 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2efb6ead5d5eb746e1ebe203f37c6dc2", + "content-hash": "855e42f63c50a9e86a942360bdf4184c", "packages": [ { "name": "doctrine/inflector", @@ -345,24 +345,27 @@ }, { "name": "newfold-labs/wp-module-data", - "version": "2.4.18", + "version": "2.4.19", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-data.git", - "reference": "f7bdfc1f70a2608c1ddaa6e3273221a880b794ed" + "reference": "f12eb13775497758dc7671ed57fb45a5f7c74c42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/f7bdfc1f70a2608c1ddaa6e3273221a880b794ed", - "reference": "f7bdfc1f70a2608c1ddaa6e3273221a880b794ed", + "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/f12eb13775497758dc7671ed57fb45a5f7c74c42", + "reference": "f12eb13775497758dc7671ed57fb45a5f7c74c42", "shasum": "" }, "require": { + "newfold-labs/wp-module-loader": "^1.0", + "wp-forge/helpers": "^2.0", "wp-forge/wp-query-builder": "^1.0", "wp-forge/wp-upgrade-handler": "^1.0", "wpscholar/url": "^1.2" }, "require-dev": { + "10up/wp_mock": "^0.4.2", "newfold-labs/wp-php-standards": "^1.2" }, "type": "library", @@ -374,6 +377,11 @@ "bootstrap.php" ] }, + "autoload-dev": { + "psr-4": { + "NewfoldLabs\\WP\\Module\\Data\\": "tests/phpunit/includes/" + } + }, "scripts": { "fix": [ "vendor/bin/phpcbf . --standard=phpcs.xml" @@ -387,10 +395,10 @@ ], "description": "Newfold Data Module", "support": { - "source": "https://github.com/newfold-labs/wp-module-data/tree/2.4.18", + "source": "https://github.com/newfold-labs/wp-module-data/tree/2.4.19", "issues": "https://github.com/newfold-labs/wp-module-data/issues" }, - "time": "2024-01-24T21:36:38+00:00" + "time": "2024-03-13T20:15:30+00:00" }, { "name": "newfold-labs/wp-module-deactivation", From 6a0b48404ccbb7818a73ffc9c170a1a797477b83 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 14 Mar 2024 17:31:59 -0400 Subject: [PATCH 06/36] update ecommerce module to 1.3.24 --- composer.json | 2 +- composer.lock | 14 +++++++------- package-lock.json | 14 +++++++------- package.json | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index 0bd79fc2..f9201e52 100644 --- a/composer.json +++ b/composer.json @@ -70,7 +70,7 @@ "newfold-labs/wp-module-context": "^1.0", "newfold-labs/wp-module-data": "^2.4.18", "newfold-labs/wp-module-deactivation": "^1.0.5", - "newfold-labs/wp-module-ecommerce": "^1.3.23", + "newfold-labs/wp-module-ecommerce": "^1.3.24", "newfold-labs/wp-module-global-ctb": "^1.0.11", "newfold-labs/wp-module-help-center": "^1.0.23", "newfold-labs/wp-module-loader": "^1.0.10", diff --git a/composer.lock b/composer.lock index 879f770c..73f70047 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2efb6ead5d5eb746e1ebe203f37c6dc2", + "content-hash": "095f82b117c0ce649d2dd55c5c098d3b", "packages": [ { "name": "doctrine/inflector", @@ -455,16 +455,16 @@ }, { "name": "newfold-labs/wp-module-ecommerce", - "version": "v1.3.23", + "version": "v1.3.24", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-ecommerce.git", - "reference": "66d2f7c3c93780974987ce8566169220aee27e87" + "reference": "baabe57f9c14df3e976b3907ca34c4706df917c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-ecommerce/zipball/66d2f7c3c93780974987ce8566169220aee27e87", - "reference": "66d2f7c3c93780974987ce8566169220aee27e87", + "url": "https://api.github.com/repos/newfold-labs/wp-module-ecommerce/zipball/baabe57f9c14df3e976b3907ca34c4706df917c3", + "reference": "baabe57f9c14df3e976b3907ca34c4706df917c3", "shasum": "" }, "require": { @@ -507,10 +507,10 @@ ], "description": "Brand Agnostic eCommerce Experience", "support": { - "source": "https://github.com/newfold-labs/wp-module-ecommerce/tree/v1.3.23", + "source": "https://github.com/newfold-labs/wp-module-ecommerce/tree/v1.3.24", "issues": "https://github.com/newfold-labs/wp-module-ecommerce/issues" }, - "time": "2024-02-22T16:51:37+00:00" + "time": "2024-03-12T12:49:07+00:00" }, { "name": "newfold-labs/wp-module-facebook", diff --git a/package-lock.json b/package-lock.json index f4c28877..7dbb1590 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "GPL-2.0-or-later", "dependencies": { "@heroicons/react": "^2.1.1", - "@newfold-labs/wp-module-ecommerce": "^1.3.23", + "@newfold-labs/wp-module-ecommerce": "^1.3.24", "@newfold-labs/wp-module-runtime": "^1.0.9", "@newfold/ui-component-library": "^1.0.1", "@reduxjs/toolkit": "^2.1.0", @@ -3133,9 +3133,9 @@ "integrity": "sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==" }, "node_modules/@newfold-labs/wp-module-ecommerce": { - "version": "1.3.23", - "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.23/6cdfd95b644440b647934c3a87d1ea3a15ca05d1", - "integrity": "sha512-BNayu27u63dMhsHq3k1/I15sjOs7uVSskR92cpeI40NQiYRp2po6RlF4l23+DCKsjdxDJNtijC8d0dpHhmkWGw==", + "version": "1.3.24", + "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.24/fe7d1d1c91bffe5d6ebe2b2d592e673cb35f74d5", + "integrity": "sha512-T7jgFNI4pftqaHrEA6fjX1VrlLnbxGnluKrttcI55gXJJQgz9m4Pn9kSRrGrPgOf9j3o5MT4yXj0SAML/1O+MQ==", "license": "GPL-2.0-or-later", "dependencies": { "@faizaanceg/pandora": "^1.1.1", @@ -25186,9 +25186,9 @@ } }, "@newfold-labs/wp-module-ecommerce": { - "version": "1.3.23", - "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.23/6cdfd95b644440b647934c3a87d1ea3a15ca05d1", - "integrity": "sha512-BNayu27u63dMhsHq3k1/I15sjOs7uVSskR92cpeI40NQiYRp2po6RlF4l23+DCKsjdxDJNtijC8d0dpHhmkWGw==", + "version": "1.3.24", + "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.24/fe7d1d1c91bffe5d6ebe2b2d592e673cb35f74d5", + "integrity": "sha512-T7jgFNI4pftqaHrEA6fjX1VrlLnbxGnluKrttcI55gXJJQgz9m4Pn9kSRrGrPgOf9j3o5MT4yXj0SAML/1O+MQ==", "requires": { "@faizaanceg/pandora": "^1.1.1", "@heroicons/react": "2.0.18", diff --git a/package.json b/package.json index 69a67cff..3e50d7b0 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@heroicons/react": "^2.1.1", - "@newfold-labs/wp-module-ecommerce": "^1.3.23", + "@newfold-labs/wp-module-ecommerce": "^1.3.24", "@newfold-labs/wp-module-runtime": "^1.0.9", "@newfold/ui-component-library": "^1.0.1", "@reduxjs/toolkit": "^2.1.0", From e7959dd7118918d0a8933e85a064bcc34e5381d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 21:35:37 +0000 Subject: [PATCH 07/36] Composer(deps): Bump newfold-labs/wp-module-coming-soon Bumps [newfold-labs/wp-module-coming-soon](https://github.com/newfold-labs/wp-module-coming-soon) from 1.2.0 to 1.2.3. - [Release notes](https://github.com/newfold-labs/wp-module-coming-soon/releases) - [Commits](https://github.com/newfold-labs/wp-module-coming-soon/compare/1.2.0...1.2.3) --- updated-dependencies: - dependency-name: newfold-labs/wp-module-coming-soon dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index a4ac7a14..c5222c5f 100644 --- a/composer.json +++ b/composer.json @@ -66,7 +66,7 @@ }, "require": { "doctrine/inflector": "1.4.4 as 1.3.1", - "newfold-labs/wp-module-coming-soon": "^1.2.0", + "newfold-labs/wp-module-coming-soon": "^1.2.3", "newfold-labs/wp-module-context": "^1.0", "newfold-labs/wp-module-data": "^2.4.19", "newfold-labs/wp-module-deactivation": "^1.0.5", diff --git a/composer.lock b/composer.lock index 5163d872..32c533a3 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "855e42f63c50a9e86a942360bdf4184c", + "content-hash": "4c32a8967520267c0d4528975db7d7c9", "packages": [ { "name": "doctrine/inflector", @@ -237,16 +237,16 @@ }, { "name": "newfold-labs/wp-module-coming-soon", - "version": "1.2.0", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-coming-soon.git", - "reference": "74a6eab836e1d339f3650c68e89fd51b574e46bb" + "reference": "335bfe833ebdc072de55ed54cd6eebe0a210e43f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-coming-soon/zipball/74a6eab836e1d339f3650c68e89fd51b574e46bb", - "reference": "74a6eab836e1d339f3650c68e89fd51b574e46bb", + "url": "https://api.github.com/repos/newfold-labs/wp-module-coming-soon/zipball/335bfe833ebdc072de55ed54cd6eebe0a210e43f", + "reference": "335bfe833ebdc072de55ed54cd6eebe0a210e43f", "shasum": "" }, "require": { @@ -284,10 +284,10 @@ ], "description": "Coming Soon module for WordPress sites.", "support": { - "source": "https://github.com/newfold-labs/wp-module-coming-soon/tree/1.2.0", + "source": "https://github.com/newfold-labs/wp-module-coming-soon/tree/1.2.3", "issues": "https://github.com/newfold-labs/wp-module-coming-soon/issues" }, - "time": "2024-01-31T17:46:37+00:00" + "time": "2024-02-29T19:54:02+00:00" }, { "name": "newfold-labs/wp-module-context", From e55d25a8d5340aed655ebd97548dab42be6a2b46 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 21:36:18 +0000 Subject: [PATCH 08/36] NPM(deps): Bump @wordpress/dom-ready from 3.52.0 to 3.53.0 Bumps [@wordpress/dom-ready](https://github.com/WordPress/gutenberg/tree/HEAD/packages/dom-ready) from 3.52.0 to 3.53.0. - [Release notes](https://github.com/WordPress/gutenberg/releases) - [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/dom-ready/CHANGELOG.md) - [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/dom-ready@3.53.0/packages/dom-ready) --- updated-dependencies: - dependency-name: "@wordpress/dom-ready" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 900f7327..5ee11253 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@newfold/ui-component-library": "^1.0.1", "@reduxjs/toolkit": "^2.1.0", "@wordpress/compose": "^6.30.0", - "@wordpress/dom-ready": "^3.52.0", + "@wordpress/dom-ready": "^3.53.0", "@wordpress/element": "^5.29.0", "@wordpress/i18n": "^4.52.0", "@wordpress/icons": "^9.43.0", @@ -5625,9 +5625,9 @@ } }, "node_modules/@wordpress/dom-ready": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-3.52.0.tgz", - "integrity": "sha512-xJEGle5naOwO27Z+22kpjWAWqrZClLHGem+5KsGVUwbk2Lde/pBj/C8rlmQGNHx9mGwV0BVR5+QPvoTiMt8RMQ==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-3.53.0.tgz", + "integrity": "sha512-0sKnHwWoSxFrazehbxg4gZwTMCe1qIC4u2jUjVDviTlUMn3vsx5GdXNi0a7nYdR3Oiq7/a5JRKWsgXtIpeprnw==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -27181,9 +27181,9 @@ } }, "@wordpress/dom-ready": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-3.52.0.tgz", - "integrity": "sha512-xJEGle5naOwO27Z+22kpjWAWqrZClLHGem+5KsGVUwbk2Lde/pBj/C8rlmQGNHx9mGwV0BVR5+QPvoTiMt8RMQ==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-3.53.0.tgz", + "integrity": "sha512-0sKnHwWoSxFrazehbxg4gZwTMCe1qIC4u2jUjVDviTlUMn3vsx5GdXNi0a7nYdR3Oiq7/a5JRKWsgXtIpeprnw==", "requires": { "@babel/runtime": "^7.16.0" } diff --git a/package.json b/package.json index acc8ba82..658ab937 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@newfold/ui-component-library": "^1.0.1", "@reduxjs/toolkit": "^2.1.0", "@wordpress/compose": "^6.30.0", - "@wordpress/dom-ready": "^3.52.0", + "@wordpress/dom-ready": "^3.53.0", "@wordpress/element": "^5.29.0", "@wordpress/i18n": "^4.52.0", "@wordpress/icons": "^9.43.0", From bb5151119defb076600c9a605363774534a2855f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 21:36:19 +0000 Subject: [PATCH 09/36] NPM(deps): Bump react-error-boundary from 4.0.12 to 4.0.13 Bumps [react-error-boundary](https://github.com/bvaughn/react-error-boundary) from 4.0.12 to 4.0.13. - [Release notes](https://github.com/bvaughn/react-error-boundary/releases) - [Commits](https://github.com/bvaughn/react-error-boundary/compare/4.0.12...4.0.13) --- updated-dependencies: - dependency-name: react-error-boundary dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 900f7327..21c5f753 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "jquery": "^3.7.1", "lodash": "^4.17.21", "react": "^18.2.0", - "react-error-boundary": "^4.0.12", + "react-error-boundary": "^4.0.13", "react-router-dom": "^6.22.3", "react-use": "^17.5.0" }, @@ -18607,9 +18607,9 @@ } }, "node_modules/react-error-boundary": { - "version": "4.0.12", - "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-4.0.12.tgz", - "integrity": "sha512-kJdxdEYlb7CPC1A0SeUY38cHpjuu6UkvzKiAmqmOFL21VRfMhOcWxTCBgLVCO0VEMh9JhFNcVaXlV4/BTpiwOA==", + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-4.0.13.tgz", + "integrity": "sha512-b6PwbdSv8XeOSYvjt8LpgpKrZ0yGdtZokYwkwV2wlcZbxgopHX/hgPl5VgpnoVOWd868n1hktM8Qm4b+02MiLQ==", "dependencies": { "@babel/runtime": "^7.12.5" }, @@ -36831,9 +36831,9 @@ } }, "react-error-boundary": { - "version": "4.0.12", - "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-4.0.12.tgz", - "integrity": "sha512-kJdxdEYlb7CPC1A0SeUY38cHpjuu6UkvzKiAmqmOFL21VRfMhOcWxTCBgLVCO0VEMh9JhFNcVaXlV4/BTpiwOA==", + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-4.0.13.tgz", + "integrity": "sha512-b6PwbdSv8XeOSYvjt8LpgpKrZ0yGdtZokYwkwV2wlcZbxgopHX/hgPl5VgpnoVOWd868n1hktM8Qm4b+02MiLQ==", "requires": { "@babel/runtime": "^7.12.5" } diff --git a/package.json b/package.json index acc8ba82..6d98d04d 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "jquery": "^3.7.1", "lodash": "^4.17.21", "react": "^18.2.0", - "react-error-boundary": "^4.0.12", + "react-error-boundary": "^4.0.13", "react-router-dom": "^6.22.3", "react-use": "^17.5.0" }, From 7db595df307508aa07099710a98d44cb12641f4e Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 14 Mar 2024 17:53:55 -0400 Subject: [PATCH 10/36] finish i18n updates with string change --- ...ugin-hostgator-es_MX-hostgator-script.json | 6 +++--- languages/wp-plugin-hostgator-es_MX.po | 8 ++++---- ...ugin-hostgator-pt_BR-hostgator-script.json | 6 +++--- languages/wp-plugin-hostgator-pt_BR.mo | Bin 19768 -> 19771 bytes languages/wp-plugin-hostgator-pt_BR.po | 8 ++++---- languages/wp-plugin-hostgator.pot | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/languages/wp-plugin-hostgator-es_MX-hostgator-script.json b/languages/wp-plugin-hostgator-es_MX-hostgator-script.json index 59fca6be..a6b81e8b 100644 --- a/languages/wp-plugin-hostgator-es_MX-hostgator-script.json +++ b/languages/wp-plugin-hostgator-es_MX-hostgator-script.json @@ -378,9 +378,6 @@ "HostGator Account": [ "" ], - "Sales & Discounts": [ - "" - ], "Store Details": [ "" ], @@ -548,6 +545,9 @@ ], "Products & Services": [ "" + ], + "Sales & Promotions": [ + "" ] } } diff --git a/languages/wp-plugin-hostgator-es_MX.po b/languages/wp-plugin-hostgator-es_MX.po index 592d467a..5f8e0ae3 100644 --- a/languages/wp-plugin-hostgator-es_MX.po +++ b/languages/wp-plugin-hostgator-es_MX.po @@ -646,10 +646,6 @@ msgstr "" msgid "HostGator Account" msgstr "" -#: build/2.7.0/index.js:1 -msgid "Sales & Discounts" -msgstr "" - #: build/2.7.0/index.js:1 msgid "Store Details" msgstr "" @@ -873,3 +869,7 @@ msgstr "" #: build/2.7.0/index.js:1 msgid "Products & Services" msgstr "" + +#: build/2.7.0/index.js:1 +msgid "Sales & Promotions" +msgstr "" diff --git a/languages/wp-plugin-hostgator-pt_BR-hostgator-script.json b/languages/wp-plugin-hostgator-pt_BR-hostgator-script.json index 0b77aa17..803cfa59 100644 --- a/languages/wp-plugin-hostgator-pt_BR-hostgator-script.json +++ b/languages/wp-plugin-hostgator-pt_BR-hostgator-script.json @@ -106,9 +106,6 @@ "There's nothing here!": [ "N\u00e3o h\u00e1 nada aqui!" ], - "Sales & Promotions": [ - "Vendas & Promoções" - ], "Store Details": [ "Detalhes da Loja" ], @@ -548,6 +545,9 @@ ], "Products & Services": [ "Produtos & Servi\u00e7os" + ], + "Sales & Promotions": [ + "Vendas & Promo\u00e7\u00f5es" ] } } diff --git a/languages/wp-plugin-hostgator-pt_BR.mo b/languages/wp-plugin-hostgator-pt_BR.mo index 1036364f26a191376933ad19a2bd23a7f9bd3459..5a34c43599a58a4dc16bead39268e0098e0e27d5 100644 GIT binary patch delta 2115 zcmXZce@xX?7{~F4#>IQ#LU4gVNCdo+2&JJ|pvDgq#28v;(G(?@wwseng=U0)OWnl& z@DIf{@gGMsmTt_(M5b9z(jaxTe$ArQWX+Z>TPA!?8eYN_9LqJwd<_0zp$>0j4OZou?Z!@=iT-@|izQgdycV_LtGFJwV>({L#dr&! zz~UKZVcd-KaSR{DJ6Q~<_3M_Jg z46J3IhbJ+F%3Rh%?(+qh#C!qj;H4OkqYi@y82o_c_!n-%;#owE2T|+yP&X{+`fc}_ ztwfdXVv*SzyoSX%pN}kj5&hVK+J7JF0!LBb8$y-R`HsO72JsYb6*k~n>_M_`_b?Un z9-&XL6yLxwYU5w=eVjxtZ9Q}74;;Zr&)_uX!MSc=)u`v1Fq!jh4+Ac3hp-vXVK(Ma zs8}q=VXQ!<-dp0PHWMSwh*ZNGk@DJ3q))8}m*It|2|WA^^Jh`}^rDyZ?KA_`;ymiW z%cx%X68(4+t(c6OK}R()pNmTQeoVp-(T9Vm?_asfm=}r?m+Fg7xi2>(l&Mu-^M>t zJ<__+J+Esa`H$3$1#LKps@W%)h?g;l-=msz5|x>PMeYX6PzN@lO4o{0@f}paM{q5k zz&Fv$uhUN4g$g{z;b%&z@u3b*LLHoqs(m5mU+7Nb(wfFA6?HMk2?@h5D+ zzp);xh*~$^j|$9J>vnl59$>x!Z{P$fqd)Sil#6%K!}*p?;gr%m)CNVUT0f5pD1_>X zc6<&yaSVS(1$1_~`}`;>)z|SL{)@`&yHB}q!(rr1`xv*Ohv?H^X3)WahO}QW6Z88= k{M!S*m9K@jgxf;lmj1fw-{i+frbE3$r#AM_tWHh%A6(7;I{*Lx delta 2112 zcmXZcZD`e17y$62IXB(Z=5$j_UFvjdX}*=yT2rT{R#Hj^&NQTzmRsb^e93Ewy%2rK znb5w736g>!4O7Vy#n>{j0>ih+{E$>+MT!M6>-X#qF86oN;eXG0&htF~`)O0B!%dwI zoa~Y*Oes|iPH8pgF^|XCkFCt-6;9$cPTSNq`9rcl9LJI7vltt`#HC!zzC6bVd5x7EJycL! z$%(wkaqKlLrMEe4SSFaf2?yQ~L#qIorIH z2lzZAbNxqTpD$xi^GS?@tJ$4rG6uy47dVA~vX-OEQ+k2h80)tfH>_~|hR!L?XK(Y9 zqf=VUbG(}qd=20-MoBg>_J50Uft`%sonVwQ^PRyAgKi49fRD0Oq#^IdE zwX9=oe3iS|Mwd>z#-=2hsg>cR@P zvXYVd-0|7emax4UsTye!l{dXceVTUhVIJ?WyN91JU%=RB5A&R#J~4<|9Ag}KiqQ*S zvw**_D{nI1inb1mb<`5`v5b_z%bxs*-FS%c`{P`}GxSN5r6mGh6*@mP8pH-iC?)AE zOZXG}vW@dubYDu3b2%gR2dV7oG$X)&SjGQX#H#yK8pMUn|VR+{_5Li8b8EbzMO+t$wDsSDAqF$ZsK_E=N$e>Z)_SRzj=I$QL<+` z<}Xrp(;7ygnf(Snsl``Blv|Zec`pt$uV4hSh>?L+j8wnR2w*3pbRV;pEnLqr)AR@T zGM?)*UE^^CBQv{sXT1N-22p} Date: Thu, 14 Mar 2024 17:54:49 -0400 Subject: [PATCH 11/36] npm run lint:js:fix --- src/app/components/accordion/index.js | 8 +- src/app/components/action-field/index.js | 38 +-- src/app/components/app-nav/index.js | 183 ++++++------ src/app/components/errorCard/index.js | 30 +- src/app/components/heading/index.js | 6 +- src/app/components/icons/Hostgator.js | 4 +- src/app/components/icons/WordPressIcon.js | 4 +- src/app/components/notifications/feed.js | 129 ++++----- src/app/components/site-info/index.js | 75 +++-- src/app/data/help.js | 28 +- src/app/data/region.js | 171 +++++------ src/app/data/routes.js | 238 ++++++++-------- src/app/data/store.js | 51 ++-- src/app/index.js | 62 ++-- src/app/pages/ecommerce/page.js | 76 ++--- src/app/pages/help/index.js | 58 ++-- src/app/pages/home/freeAddonsSection.js | 11 +- src/app/pages/home/index.js | 30 +- src/app/pages/home/settingsSection.js | 53 ++-- src/app/pages/home/webContentSection.js | 56 ++-- src/app/pages/home/webHostingSection.js | 96 ++++--- src/app/pages/home/welcomeSection.js | 44 +-- src/app/pages/marketplace/index.js | 58 ++-- src/app/pages/performance/index.js | 181 ++++++++---- src/app/pages/settings/automaticUpdates.js | 311 ++++++++++++--------- src/app/pages/settings/comingSoon.js | 117 ++++---- src/app/pages/settings/commentSettings.js | 228 ++++++++------- src/app/pages/settings/contentSettings.js | 192 +++++++------ src/app/pages/settings/index.js | 33 ++- src/app/pages/staging/index.js | 204 +++++++++----- src/app/util/helpers.js | 146 +++++----- src/index.js | 22 +- src/webpack-public-path.js | 5 +- 33 files changed, 1649 insertions(+), 1299 deletions(-) diff --git a/src/app/components/accordion/index.js b/src/app/components/accordion/index.js index 2e0b3b03..85173260 100644 --- a/src/app/components/accordion/index.js +++ b/src/app/components/accordion/index.js @@ -1,12 +1,12 @@ import './stylesheet.scss'; -const Accordion = ({ summary, className, children }) => { +const Accordion = ( { summary, className, children } ) => { return ( -
+
-

{summary}

+

{ summary }

-
{children}
+
{ children }
); }; diff --git a/src/app/components/action-field/index.js b/src/app/components/action-field/index.js index 31314eb1..91c90c4a 100644 --- a/src/app/components/action-field/index.js +++ b/src/app/components/action-field/index.js @@ -1,37 +1,37 @@ -import { Button, Label } from "@newfold/ui-component-library"; -import classNames from "classnames"; +import { Button, Label } from '@newfold/ui-component-library'; +import classNames from 'classnames'; -const ActionField = ({ +const ActionField = ( { label, buttonLabel, href, target, children, className, - onClick -}) => { + onClick, +} ) => { return ( -
+
- +
-

- {children} -

+

{ children }

); -} +}; -export default ActionField; \ No newline at end of file +export default ActionField; diff --git a/src/app/components/app-nav/index.js b/src/app/components/app-nav/index.js index 471f0083..b350ba9c 100644 --- a/src/app/components/app-nav/index.js +++ b/src/app/components/app-nav/index.js @@ -1,12 +1,11 @@ import { useEffect } from '@wordpress/element'; import { useViewportMatch } from '@wordpress/compose'; -import { Modal, SidebarNavigation } from "@newfold/ui-component-library" +import { Modal, SidebarNavigation } from '@newfold/ui-component-library'; import { NavLink, useLocation } from 'react-router-dom'; -import Logo from "./logo"; -import { topRoutes, utilityRoutes } from "../../data/routes"; +import Logo from './logo'; +import { topRoutes, utilityRoutes } from '../../data/routes'; import { handleHelpLinksClick } from '../../util/helpers'; -import { Bars3Icon } from "@heroicons/react/24/outline"; - +import { Bars3Icon } from '@heroicons/react/24/outline'; export const SideNavHeader = () => { return ( @@ -14,122 +13,135 @@ export const SideNavHeader = () => { ); -} +}; export const SideNavMenu = () => { - let location = useLocation(); + const location = useLocation(); const primaryMenu = () => { return (
    - {topRoutes.map((page) => ( - + { topRoutes.map( ( page ) => ( - - ))} + ) ) }
); - } + }; const secondaryMenu = () => { return (
    - {utilityRoutes.map((page) => ( - + { utilityRoutes.map( ( page ) => ( - - ))} + ) ) }
); - } + }; const SubMenusManager = () => { // close any open submenus - const subMenus = document.querySelectorAll('.hgwp-app-navitem-submenu'); - subMenus.forEach((subMenu) => { - subMenu.classList.add('nfd-hidden'); - }); + const subMenus = document.querySelectorAll( + '.hgwp-app-navitem-submenu' + ); + subMenus.forEach( ( subMenu ) => { + subMenu.classList.add( 'nfd-hidden' ); + } ); // open active's submenu if it exists - const activeMenu = document.querySelector('.hgwp-app-sidenav .active'); - if (activeMenu && null !== activeMenu.nextSibling && activeMenu.nextSibling.classList.contains('hgwp-app-navitem-submenu')) { - activeMenu.nextSibling.classList.remove('nfd-hidden'); + const activeMenu = document.querySelector( + '.hgwp-app-sidenav .active' + ); + if ( + activeMenu && + null !== activeMenu.nextSibling && + activeMenu.nextSibling.classList.contains( + 'hgwp-app-navitem-submenu' + ) + ) { + activeMenu.nextSibling.classList.remove( 'nfd-hidden' ); } - } + }; - useEffect(() => { + useEffect( () => { SubMenusManager(); document.onclick = SubMenusManager; - }, [location]); + }, [ location ] ); return (
- {primaryMenu()} - {secondaryMenu()} + { primaryMenu() } + { secondaryMenu() }
); -} - -export const SideNavMenuItem = ({ label, name, icon: Icon = null, path, action, subItems }) => { +}; + +export const SideNavMenuItem = ( { + label, + name, + icon: Icon = null, + path, + action, + subItems, +} ) => { return (
  • - {Icon && + { Icon && ( - } - {label} + ) } + { label } - {subItems && subItems.length > 0 && + { subItems && subItems.length > 0 && (
      - {subItems.map((subItem) => ( + { subItems.map( ( subItem ) => ( - ))} + ) ) }
    - } + ) }
  • ); -} +}; -export const SideNavMenuSubItem = ({ label, name, path, action }) => { +export const SideNavMenuSubItem = ( { label, name, path, action } ) => { return (
  • - {label} + { label }
  • ); -} +}; export const SideNav = () => { return ( @@ -142,36 +154,37 @@ export const SideNav = () => { ); -} +}; export const MobileNav = () => { - const [isOpen, setIsOpen] = useState(false); + const [ isOpen, setIsOpen ] = useState( false ); - let location = useLocation(); + const location = useLocation(); // Close mobile nav when location changes - useEffect(() => { - setIsOpen(false); - }, [location]); + useEffect( () => { + setIsOpen( false ); + }, [ location ] ); return (
    -
    setIsOpen(false)} + isOpen={ isOpen } + onClose={ () => setIsOpen( false ) } className="hgwp-app-sidenav-mobile nfd-z-40" initialFocus > @@ -181,20 +194,14 @@ export const MobileNav = () => {
    -
    ); -} +}; export const AppNav = () => { - const isLargeViewport = useViewportMatch('medium'); + const isLargeViewport = useViewportMatch( 'medium' ); handleHelpLinksClick(); - return ( - <> - {(isLargeViewport && ) || } - - - ); -} \ No newline at end of file + return <>{ ( isLargeViewport && ) || }; +}; diff --git a/src/app/components/errorCard/index.js b/src/app/components/errorCard/index.js index 52ab03ff..41544f86 100644 --- a/src/app/components/errorCard/index.js +++ b/src/app/components/errorCard/index.js @@ -9,45 +9,45 @@ import { Dashicon, } from '@wordpress/components'; -const ErrorCard = ({ error, className, notice = 'Error!' }) => { - dispatchUpdateSnackbar(notice); +const ErrorCard = ( { error, className, notice = 'Error!' } ) => { + dispatchUpdateSnackbar( notice ); return ( - + {' '} - {__('Oh No, An Error!', 'wp-plugin-hostgator')} + } } + />{ ' ' } + { __( 'Oh No, An Error!', 'wp-plugin-hostgator' ) }

    - {__( + { __( 'You found an error, please refresh the page and try again!', 'wp-plugin-hostgator' - )} + ) }

    - {__( + { __( 'If the error persists, please contact support.', 'wp-plugin-hostgator' - )} + ) }

    - {error && error.message ? error.message : ''} - {error && error.data - ? __(' Error code: ', 'wp-plugin-hostgator') + + { error && error.message ? error.message : '' } + { error && error.data + ? __( ' Error code: ', 'wp-plugin-hostgator' ) + error.data.status - : ''} + : '' }

    diff --git a/src/app/components/heading/index.js b/src/app/components/heading/index.js index 8b9698d4..68249ed2 100644 --- a/src/app/components/heading/index.js +++ b/src/app/components/heading/index.js @@ -1,9 +1,9 @@ -const Heading = ({ level, className, children }) => { +const Heading = ( { level, className, children } ) => { const TagName = 'h' + level; return ( - - {children} + + { children } ); }; diff --git a/src/app/components/icons/Hostgator.js b/src/app/components/icons/Hostgator.js index d0bb2c46..ed3b62b4 100644 --- a/src/app/components/icons/Hostgator.js +++ b/src/app/components/icons/Hostgator.js @@ -151,6 +151,6 @@ const HostgatorIcon = () => { > ); -} +}; -export default HostgatorIcon; \ No newline at end of file +export default HostgatorIcon; diff --git a/src/app/components/icons/WordPressIcon.js b/src/app/components/icons/WordPressIcon.js index 13b45a97..f03d289b 100644 --- a/src/app/components/icons/WordPressIcon.js +++ b/src/app/components/icons/WordPressIcon.js @@ -14,6 +14,6 @@ const WordPressIcon = () => { ); -} +}; -export default WordPressIcon; \ No newline at end of file +export default WordPressIcon; diff --git a/src/app/components/notifications/feed.js b/src/app/components/notifications/feed.js index 967ef71c..6c4a0f81 100644 --- a/src/app/components/notifications/feed.js +++ b/src/app/components/notifications/feed.js @@ -1,82 +1,83 @@ -import { createContext, useContext, useReducer } from "@wordpress/element"; -import { Notifications } from "@newfold/ui-component-library"; +import { createContext, useContext, useReducer } from '@wordpress/element'; +import { Notifications } from '@newfold/ui-component-library'; -const actions = { PUSH: "push", DISMISS: "dismiss" }; +const actions = { PUSH: 'push', DISMISS: 'dismiss' }; /** * @typedef FeedEntry - * @property {string} title - * @property {React.ReactNode | string[]} description - * @property {"info" | "success" | "error" | "warning"} variant - * @property {number} autoDismiss - * @property {(id) => void | null} onDismiss + * @property {string} title + * @property {React.ReactNode | string[]} description + * @property {"info" | "success" | "error" | "warning"} variant + * @property {number} autoDismiss + * @property {(id) => void | null} onDismiss * @property {"bottom-left" | "bottom-center" | "top-center"} position */ /** * * @typedef FeedReducerAction - * @property {"push" | "dismiss"} type - * @property {string} id - * @property {FeedEntry?} message + * @property {"push" | "dismiss"} type + * @property {string} id + * @property {FeedEntry?} message * - * @param {Record} feed - * @param {FeedReducerAction} action - * @returns {Record} + * @param {Record} feed + * @param {FeedReducerAction} action + * @return {Record} */ -function feedReducer(feed, action) { - switch (action.type) { - case actions.PUSH: - return { ...feed, [action.id]: action.message }; - case actions.DISMISS: - return { ...feed, [action.id]: null }; - default: - return feed; - } +function feedReducer( feed, action ) { + switch ( action.type ) { + case actions.PUSH: + return { ...feed, [ action.id ]: action.message }; + case actions.DISMISS: + return { ...feed, [ action.id ]: null }; + default: + return feed; + } } -const FeedContext = createContext({ - push: (id, message) => {}, -}); +const FeedContext = createContext( { + push: ( id, message ) => {}, +} ); /** @type {() => { push: (id: string, message: FeedEntry) => void}} */ -export const useNotification = () => useContext(FeedContext); +export const useNotification = () => useContext( FeedContext ); -export function NotificationFeed({ children }) { - let [feed, dispatch] = useReducer(feedReducer, {}); - return ( - <> - dispatch({ type: actions.PUSH, id, message }), - }} - > - {children} - - - {Object.entries(feed) - .filter(([, value]) => value !== null) - .map(([key, { description, ...entry }]) => { - let contentProps = Array.isArray(description) - ? { description } - : { children: description }; - return ( - { - dispatch({ type: actions.DISMISS, id }); - if (entry.onDismiss) { - entry.onDismiss(id); - } - }} - /> - ); - })} - - - ); +export function NotificationFeed( { children } ) { + const [ feed, dispatch ] = useReducer( feedReducer, {} ); + return ( + <> + + dispatch( { type: actions.PUSH, id, message } ), + } } + > + { children } + + + { Object.entries( feed ) + .filter( ( [ , value ] ) => value !== null ) + .map( ( [ key, { description, ...entry } ] ) => { + const contentProps = Array.isArray( description ) + ? { description } + : { children: description }; + return ( + { + dispatch( { type: actions.DISMISS, id } ); + if ( entry.onDismiss ) { + entry.onDismiss( id ); + } + } } + /> + ); + } ) } + + + ); } diff --git a/src/app/components/site-info/index.js b/src/app/components/site-info/index.js index d82445c0..c9af8659 100644 --- a/src/app/components/site-info/index.js +++ b/src/app/components/site-info/index.js @@ -1,38 +1,44 @@ -import {LockClosedIcon, LockOpenIcon} from "@heroicons/react/24/outline"; -import {decodeEntities} from '@wordpress/html-entities'; -import {NewfoldRuntime} from "@newfold-labs/wp-module-runtime"; -import {Button} from "@newfold/ui-component-library"; -import {HostgatorIcon, WordPressIcon} from "../icons"; -import {getLinkPerRegion} from '../../util/helpers'; +import { LockClosedIcon, LockOpenIcon } from '@heroicons/react/24/outline'; +import { decodeEntities } from '@wordpress/html-entities'; +import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime'; +import { Button } from '@newfold/ui-component-library'; +import { HostgatorIcon, WordPressIcon } from '../icons'; +import { getLinkPerRegion } from '../../util/helpers'; export const SiteInfoBar = () => { const homeUrl = window.NewfoldRuntime.homeUrl; - const {url, title} = NewfoldRuntime.siteDetails; - const parsedUrl = new URL(url); + const { url, title } = NewfoldRuntime.siteDetails; + const parsedUrl = new URL( url ); const siteDomain = parsedUrl.hostname; - const hasSSL = parsedUrl.protocol.includes("https"); - const isEcommerce = NewfoldRuntime.hasCapability("isEcommerce"); - const isStore = window.location.href?.includes("store"); + const hasSSL = parsedUrl.protocol.includes( 'https' ); + const isEcommerce = NewfoldRuntime.hasCapability( 'isEcommerce' ); + const isStore = window.location.href?.includes( 'store' ); const renderPadLock = () => { - if (hasSSL) { - return + if ( hasSSL ) { + return ( + + ); } - return - } + return ( + + ); + }; return ( -
    +
    -
    -

    {decodeEntities(title)}

    +

    + { decodeEntities( title ) } +

    - {renderPadLock()} - {siteDomain} + { renderPadLock() } + + { siteDomain } +
    @@ -41,27 +47,36 @@ export const SiteInfoBar = () => {
    -
    ); -} \ No newline at end of file +}; diff --git a/src/app/data/help.js b/src/app/data/help.js index 625e5388..0adb0b7d 100644 --- a/src/app/data/help.js +++ b/src/app/data/help.js @@ -1,70 +1,70 @@ const help = [ { name: 'phone', - title: __('Phone', 'wp-plugin-hostgator'), + title: __( 'Phone', 'wp-plugin-hostgator' ), description: __( 'Give us a ring at (866) 96-GATOR', 'wp-plugin-hostgator' ), icon: false, - cta: __('Call Us', 'wp-plugin-hostgator'), + cta: __( 'Call Us', 'wp-plugin-hostgator' ), id: 'help_phone_number', url: 'tel:18669642867', }, { name: 'chat', - title: __('Chat', 'wp-plugin-hostgator'), + title: __( 'Chat', 'wp-plugin-hostgator' ), description: __( "Have a question? We're here 24/7/365", 'wp-plugin-hostgator' ), icon: false, - cta: __('Live Chat', 'wp-plugin-hostgator'), + cta: __( 'Live Chat', 'wp-plugin-hostgator' ), id: 'help_chat', - url: 'https://helpchat.hostgator.com/?utm_campaign=&utm_content=help_chat_link&utm_term=live_chat&utm_medium=brand_plugin&utm_source=wp-admin/admin.php?page=hostgator#/help' + url: 'https://helpchat.hostgator.com/?utm_campaign=&utm_content=help_chat_link&utm_term=live_chat&utm_medium=brand_plugin&utm_source=wp-admin/admin.php?page=hostgator#/help', }, { name: 'twitter', - title: __('Tweet', 'wp-plugin-hostgator'), + title: __( 'Tweet', 'wp-plugin-hostgator' ), description: __( 'Tweet us at @hgsupport for support', 'wp-plugin-hostgator' ), icon: false, - cta: __('Tweet Us', 'wp-plugin-hostgator'), + cta: __( 'Tweet Us', 'wp-plugin-hostgator' ), id: 'help_twitter', url: 'https://twitter.com/hgsupport', }, { name: 'kb', - title: __('Knowledge Base', 'wp-plugin-hostgator'), - description: __('Know what the pros know.', 'wp-plugin-hostgator'), + title: __( 'Knowledge Base', 'wp-plugin-hostgator' ), + description: __( 'Know what the pros know.', 'wp-plugin-hostgator' ), icon: false, - cta: __('Find Answers', 'wp-plugin-hostgator'), + cta: __( 'Find Answers', 'wp-plugin-hostgator' ), id: 'help_kb', url: 'https://www.hostgator.com/help?utm_campaign=&utm_content=help_kb_link&utm_term=find_answers&utm_medium=brand_plugin&utm_source=wp-admin/admin.php?page=hostgator#/help', }, { name: 'blog', - title: __('Blog', 'wp-plugin-hostgator'), + title: __( 'Blog', 'wp-plugin-hostgator' ), description: __( 'Get our tips and in-depth articles.', 'wp-plugin-hostgator' ), icon: false, - cta: __('Learn Stuff', 'wp-plugin-hostgator'), + cta: __( 'Learn Stuff', 'wp-plugin-hostgator' ), id: 'help_blog', url: 'https://www.hostgator.com/blog/?utm_campaign=&utm_content=help_blog_link&utm_term=learn_stuff&utm_medium=brand_plugin&utm_source=wp-admin/admin.php?page=hostgator#/help', }, { name: 'video', - title: __('Video Tutorials', 'wp-plugin-hostgator'), + title: __( 'Video Tutorials', 'wp-plugin-hostgator' ), description: __( 'Step-by-step tutorials and additional guides.', 'wp-plugin-hostgator' ), icon: false, - cta: __('Watch Now', 'wp-plugin-hostgator'), + cta: __( 'Watch Now', 'wp-plugin-hostgator' ), id: 'help_youtube', url: 'https://www.youtube.com/c/hostgatorUS', }, diff --git a/src/app/data/region.js b/src/app/data/region.js index 6f10c2b0..cd30b5de 100644 --- a/src/app/data/region.js +++ b/src/app/data/region.js @@ -1,101 +1,102 @@ /** * Big JS object to contain all hostgator links per market - * + * * Each value should be an object with a default value - * as well as a value for each region with a key that matches + * as well as a value for each region with a key that matches * the locale for that country (not language) - * + * * default - US (.com market) * BR - Brazil * MX - Mexico * CL - Chile * CO - Colombia - * + * * the value can be omitted and the default will be used - * the value can also be set to false + * the value can also be set to false * - to check if the market should omit the block containing the link altogether - * + * */ const region = { - main: { - default: 'https://www.hostgator.com', - BR: 'https://www.hostgator.com.br', - MX: 'https://www.hostgator.mx', - CL: 'https://www.hostgator.cl', - CO: 'https://www.hostgator.co', - }, - site_info_portal: { - default: 'https://www.hostgator.com/my-account/login', - BR: 'https://financeiro.hostgator.com.br/', - MX: 'https://cliente.hostgator.mx', - CL: 'https://cliente.hostgator.cl', - CO: 'https://cliente.hostgator.co', - }, - home_manage_sites: { - default: 'https://www.hostgator.com/my-account/hosting/details/sites', - BR: 'https://cliente.hostgator.com.br/', - MX: 'https://cliente.hostgator.mx/', - CL: 'https://cliente.hostgator.cl/', - CO: 'https://cliente.hostgator.co/', - }, - home_manage_email: { - default: 'https://www.hostgator.com/my-account/google-workspace/google-workspace-list', - BR: 'https://cliente.hostgator.com.br/emails-list', - MX: 'https://cliente.hostgator.mx/emails-list', - CL: 'https://cliente.hostgator.cl/emails-list', - CO: 'https://cliente.hostgator.co/emails-list', - }, - home_find_domain: { - default: 'https://www.hostgator.com/my-account/domain-center/domain-list', - BR: 'https://www.hostgator.com.br/registro-de-dominio/', - MX: 'https://www.hostgator.mx/dominios/', - CL: 'https://www.hostgator.cl/dominios/', - CO: 'https://www.hostgator.co/dominios/', - }, - help_phone_number: { - default: 'tel:8669642867', - BR: 'false', // a string false value will remove this section - MX: 'false', - CL: 'false', - CO: 'false', - }, - help_chat: { - default: 'https://helpchat.hostgator.com/', - BR: 'https://suporte.hostgator.com.br/', - MX: 'https://billing.hostgator.mx/chat/?country=mx&department=technical', - CL: 'https://billing.hostgator.mx/chat/?country=cl&department=technical', - CO: 'https://billing.hostgator.mx/chat/?country=co&department=technical', - }, - help_twitter: { - default: 'https://twitter.com/hgsupport', - BR: 'false', // a string false value will remove this section - MX: 'false', - CL: 'false', - CO: 'false', - }, - help_kb: { - default: 'https://www.hostgator.com/help', - BR: 'https://suporte.hostgator.com.br/hc/pt-br', - MX: 'https://soporte-latam.hostgator.com/hc/es-419', - CL: 'https://soporte-latam.hostgator.com/hc/es-419', - CO: 'https://soporte-latam.hostgator.com/hc/es-419', - }, - help_blog: { - default: 'https://www.hostgator.com/blog/', - BR: 'https://www.hostgator.com.br/blog/', - MX: 'https://www.hostgator.mx/blog/', - CL: 'https://www.hostgator.mx/blog/', - CO: 'https://www.hostgator.mx/blog/', - }, - help_youtube: { - default: 'https://www.youtube.com/c/hostgatorUS', - BR: 'https://www.youtube.com/user/HostGatorBRTV', - MX: 'https://www.youtube.com/c/HostGatorM%C3%A9xico', - CL: 'https://www.youtube.com/c/HostGatorM%C3%A9xico', - CO: 'https://www.youtube.com/c/HostGatorM%C3%A9xico', - }, - + main: { + default: 'https://www.hostgator.com', + BR: 'https://www.hostgator.com.br', + MX: 'https://www.hostgator.mx', + CL: 'https://www.hostgator.cl', + CO: 'https://www.hostgator.co', + }, + site_info_portal: { + default: 'https://www.hostgator.com/my-account/login', + BR: 'https://financeiro.hostgator.com.br/', + MX: 'https://cliente.hostgator.mx', + CL: 'https://cliente.hostgator.cl', + CO: 'https://cliente.hostgator.co', + }, + home_manage_sites: { + default: 'https://www.hostgator.com/my-account/hosting/details/sites', + BR: 'https://cliente.hostgator.com.br/', + MX: 'https://cliente.hostgator.mx/', + CL: 'https://cliente.hostgator.cl/', + CO: 'https://cliente.hostgator.co/', + }, + home_manage_email: { + default: + 'https://www.hostgator.com/my-account/google-workspace/google-workspace-list', + BR: 'https://cliente.hostgator.com.br/emails-list', + MX: 'https://cliente.hostgator.mx/emails-list', + CL: 'https://cliente.hostgator.cl/emails-list', + CO: 'https://cliente.hostgator.co/emails-list', + }, + home_find_domain: { + default: + 'https://www.hostgator.com/my-account/domain-center/domain-list', + BR: 'https://www.hostgator.com.br/registro-de-dominio/', + MX: 'https://www.hostgator.mx/dominios/', + CL: 'https://www.hostgator.cl/dominios/', + CO: 'https://www.hostgator.co/dominios/', + }, + help_phone_number: { + default: 'tel:8669642867', + BR: 'false', // a string false value will remove this section + MX: 'false', + CL: 'false', + CO: 'false', + }, + help_chat: { + default: 'https://helpchat.hostgator.com/', + BR: 'https://suporte.hostgator.com.br/', + MX: 'https://billing.hostgator.mx/chat/?country=mx&department=technical', + CL: 'https://billing.hostgator.mx/chat/?country=cl&department=technical', + CO: 'https://billing.hostgator.mx/chat/?country=co&department=technical', + }, + help_twitter: { + default: 'https://twitter.com/hgsupport', + BR: 'false', // a string false value will remove this section + MX: 'false', + CL: 'false', + CO: 'false', + }, + help_kb: { + default: 'https://www.hostgator.com/help', + BR: 'https://suporte.hostgator.com.br/hc/pt-br', + MX: 'https://soporte-latam.hostgator.com/hc/es-419', + CL: 'https://soporte-latam.hostgator.com/hc/es-419', + CO: 'https://soporte-latam.hostgator.com/hc/es-419', + }, + help_blog: { + default: 'https://www.hostgator.com/blog/', + BR: 'https://www.hostgator.com.br/blog/', + MX: 'https://www.hostgator.mx/blog/', + CL: 'https://www.hostgator.mx/blog/', + CO: 'https://www.hostgator.mx/blog/', + }, + help_youtube: { + default: 'https://www.youtube.com/c/hostgatorUS', + BR: 'https://www.youtube.com/user/HostGatorBRTV', + MX: 'https://www.youtube.com/c/HostGatorM%C3%A9xico', + CL: 'https://www.youtube.com/c/HostGatorM%C3%A9xico', + CO: 'https://www.youtube.com/c/HostGatorM%C3%A9xico', + }, }; -export default region; \ No newline at end of file +export default region; diff --git a/src/app/data/routes.js b/src/app/data/routes.js index e5d14e72..6489ba86 100644 --- a/src/app/data/routes.js +++ b/src/app/data/routes.js @@ -1,11 +1,11 @@ import { - HomeIcon, - ShoppingBagIcon, - WrenchScrewdriverIcon, - BoltIcon, - AdjustmentsHorizontalIcon, - BuildingStorefrontIcon, - QuestionMarkCircleIcon, + HomeIcon, + ShoppingBagIcon, + WrenchScrewdriverIcon, + BoltIcon, + AdjustmentsHorizontalIcon, + BuildingStorefrontIcon, + QuestionMarkCircleIcon, } from '@heroicons/react/24/outline'; import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime'; import { Route, Routes } from 'react-router-dom'; @@ -19,128 +19,136 @@ import Help from '../pages/help'; import Store from '../pages/ecommerce/page'; import { getMarketplaceSubnavRoutes } from '../../../vendor/newfold-labs/wp-module-marketplace/components/marketplaceSubnav'; -const addPartialMatch = (prefix, path) => - prefix === path ? `${prefix}/*` : path; +const addPartialMatch = ( prefix, path ) => + prefix === path ? `${ prefix }/*` : path; -const HelpCenterAI = (e) => { - e.preventDefault(); - window.newfoldEmbeddedHelp.toggleNFDLaunchedEmbeddedHelp(); +const HelpCenterAI = ( e ) => { + e.preventDefault(); + window.newfoldEmbeddedHelp.toggleNFDLaunchedEmbeddedHelp(); }; export const AppRoutes = () => { - return ( - - {routes.map((page) => ( - } - /> - ))} - } /> - -

    {__("There's nothing here!", 'wp-plugin-hostgator')}

    - - } - /> -
    - ); + return ( + + { routes.map( ( page ) => ( + } + /> + ) ) } + } /> + +

    + { __( + "There's nothing here!", + 'wp-plugin-hostgator' + ) } +

    + + } + /> +
    + ); }; const topRoutePaths = [ - '/home', - '/store', - '/marketplace', - '/performance', - '/settings', - '/staging', + '/home', + '/store', + '/marketplace', + '/performance', + '/settings', + '/staging', ]; -const utilityRoutePaths = ['/help']; +const utilityRoutePaths = [ '/help' ]; export const routes = [ - { - name: '/home', - title: __('Home', 'wp-plugin-hostgator'), - Component: Home, - Icon: HomeIcon, - }, - { - name: '/store', - title: __('Store', 'wp-plugin-hostgator'), - Component: Store, - Icon: BuildingStorefrontIcon, - subRoutes: [ - { - name: '/store/products', - title: __('Products & Services', 'wp-plugin-hostgator'), - }, - NewfoldRuntime.hasCapability('hasYithExtended') - ? { - name: '/store/sales_discounts', - title: __('Sales & Promotions', 'wp-plugin-hostgator'), - } - : null, - NewfoldRuntime.isWoo - ? { - name: '/store/payments', - title: __('Payments', 'wp-plugin-bluehost'), - } - : null, - { - name: '/store/details', - title: __('Store Details', 'wp-plugin-hostgator'), - }, - ].filter(Boolean), - }, - { - name: '/marketplace', - title: __('Marketplace', 'wp-plugin-hostgator'), - Component: Marketplace, - Icon: ShoppingBagIcon, - subRoutes: await getMarketplaceSubnavRoutes(), - }, - { - name: '/performance', - title: __('Performance', 'wp-plugin-hostgator'), - Component: Performance, - Icon: BoltIcon, - }, - { - name: '/settings', - title: __('Settings', 'wp-plugin-hostgator'), - Component: Settings, - Icon: AdjustmentsHorizontalIcon, - }, - { - name: '/staging', - title: __('Staging', 'wp-plugin-hostgator'), - Component: Staging, - Icon: WrenchScrewdriverIcon, - }, - { - name: '/help', - title: __('Help', 'wp-plugin-hostgator'), - Component: Help, - Icon: QuestionMarkCircleIcon, - action: NewfoldRuntime.hasCapability('canAccessHelpCenter') - ? HelpCenterAI - : false, - }, + { + name: '/home', + title: __( 'Home', 'wp-plugin-hostgator' ), + Component: Home, + Icon: HomeIcon, + }, + { + name: '/store', + title: __( 'Store', 'wp-plugin-hostgator' ), + Component: Store, + Icon: BuildingStorefrontIcon, + subRoutes: [ + { + name: '/store/products', + title: __( 'Products & Services', 'wp-plugin-hostgator' ), + }, + NewfoldRuntime.hasCapability( 'hasYithExtended' ) + ? { + name: '/store/sales_discounts', + title: __( + 'Sales & Promotions', + 'wp-plugin-hostgator' + ), + } + : null, + NewfoldRuntime.isWoo + ? { + name: '/store/payments', + title: __( 'Payments', 'wp-plugin-bluehost' ), + } + : null, + { + name: '/store/details', + title: __( 'Store Details', 'wp-plugin-hostgator' ), + }, + ].filter( Boolean ), + }, + { + name: '/marketplace', + title: __( 'Marketplace', 'wp-plugin-hostgator' ), + Component: Marketplace, + Icon: ShoppingBagIcon, + subRoutes: await getMarketplaceSubnavRoutes(), + }, + { + name: '/performance', + title: __( 'Performance', 'wp-plugin-hostgator' ), + Component: Performance, + Icon: BoltIcon, + }, + { + name: '/settings', + title: __( 'Settings', 'wp-plugin-hostgator' ), + Component: Settings, + Icon: AdjustmentsHorizontalIcon, + }, + { + name: '/staging', + title: __( 'Staging', 'wp-plugin-hostgator' ), + Component: Staging, + Icon: WrenchScrewdriverIcon, + }, + { + name: '/help', + title: __( 'Help', 'wp-plugin-hostgator' ), + Component: Help, + Icon: QuestionMarkCircleIcon, + action: NewfoldRuntime.hasCapability( 'canAccessHelpCenter' ) + ? HelpCenterAI + : false, + }, ]; -export const topRoutes = _filter(routes, (route) => - topRoutePaths.includes(route.name) +export const topRoutes = _filter( routes, ( route ) => + topRoutePaths.includes( route.name ) ); -export const utilityRoutes = _filter(routes, (route) => - utilityRoutePaths.includes(route.name) +export const utilityRoutes = _filter( routes, ( route ) => + utilityRoutePaths.includes( route.name ) ); export default AppRoutes; diff --git a/src/app/data/store.js b/src/app/data/store.js index 0a5690f2..470760ce 100644 --- a/src/app/data/store.js +++ b/src/app/data/store.js @@ -8,47 +8,50 @@ const DEFAULT = { setStore: () => {}, }; -const AppStore = createContext(DEFAULT); +const AppStore = createContext( DEFAULT ); -export const hgApiFetchSettings = async (options = {}) => { - return await apiFetch({ - url: NewfoldRuntime.createApiUrl('/hostgator/v1/settings'), +export const hgApiFetchSettings = async ( options = {} ) => { + return await apiFetch( { + url: NewfoldRuntime.createApiUrl( '/hostgator/v1/settings' ), ...options, - }); + } ); }; -export const reformStore = (store, endpoint, response) => { +export const reformStore = ( store, endpoint, response ) => { return { ...store, - [_camelCase(endpoint)]: response, + [ _camelCase( endpoint ) ]: response, }; }; -export const AppStoreProvider = ({ children }) => { - const [booted, setBooted] = useState(false); - const [hasError, setError] = useState(false); - const [store, setStore] = useState({}); +export const AppStoreProvider = ( { children } ) => { + const [ booted, setBooted ] = useState( false ); + const [ hasError, setError ] = useState( false ); + const [ store, setStore ] = useState( {} ); const contextStore = useMemo( - () => ({ store, setStore, booted, setBooted, hasError, setError }), - [store, booted, hasError] + () => ( { store, setStore, booted, setBooted, hasError, setError } ), + [ store, booted, hasError ] ); - useEffect(() => { - if (false === booted) { + useEffect( () => { + if ( false === booted ) { hgApiFetchSettings() - .then((settings) => { - setStore({ ...store, ...window.HGWP, ...settings }); - setBooted(true); - }) - .catch((error) => { - setError(error); - }); + .then( ( settings ) => { + setStore( { ...store, ...window.HGWP, ...settings } ); + setBooted( true ); + } ) + .catch( ( error ) => { + setError( error ); + } ); } - }, []); + }, [] ); return ( - {children} + + { ' ' } + { children }{ ' ' } + ); }; diff --git a/src/app/index.js b/src/app/index.js index b4229e36..97ee75e9 100644 --- a/src/app/index.js +++ b/src/app/index.js @@ -2,7 +2,7 @@ import './stylesheet.scss'; import './tailwind.pcss'; import AppStore, { AppStoreProvider } from './data/store'; -import { Root } from "@newfold/ui-component-library"; +import { Root } from '@newfold/ui-component-library'; import { useLocation, HashRouter as Router } from 'react-router-dom'; import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime'; import { __ } from '@wordpress/i18n'; @@ -21,83 +21,83 @@ import { NotificationFeed } from './components/notifications/feed'; import { addQueryArgs } from '@wordpress/url'; // component sourced from module -import { default as NewfoldNotifications } from '../../vendor/newfold-labs/wp-module-notifications/assets/js/components/notifications/'; +import { default as NewfoldNotifications } from '../../vendor/newfold-labs/wp-module-notifications/assets/js/components/notifications/'; // to pass to notifications module -import apiFetch from '@wordpress/api-fetch'; +import apiFetch from '@wordpress/api-fetch'; import { useState } from '@wordpress/element'; const Notices = () => { - if ('undefined' === typeof noticesStore) { + if ( 'undefined' === typeof noticesStore ) { return null; } const notices = useSelect( - (select) => - select(noticesStore) + ( select ) => + select( noticesStore ) .getNotices() - .filter((notice) => notice.type === 'snackbar'), + .filter( ( notice ) => notice.type === 'snackbar' ), [] ); - const { removeNotice } = useDispatch(noticesStore); + const { removeNotice } = useDispatch( noticesStore ); return ( ); }; const handlePageLoad = () => { const location = useLocation(); - const routeContents = document.querySelector('.hgwp-app-body-inner'); - useEffect(() => { - window.scrollTo(0, 0); - if (routeContents) { - routeContents.focus({ preventScroll: true }); + const routeContents = document.querySelector( '.hgwp-app-body-inner' ); + useEffect( () => { + window.scrollTo( 0, 0 ); + if ( routeContents ) { + routeContents.focus( { preventScroll: true } ); } - }, [location.pathname]); + }, [ location.pathname ] ); }; -const AppBody = (props) => { +const AppBody = ( props ) => { const location = useLocation(); const hashedPath = '#' + location.pathname; - const { booted, hasError } = useContext(AppStore); + const { booted, hasError } = useContext( AppStore ); handlePageLoad(); return (
    - }> - {hasError && } + }> + { hasError && } - {(true === booted && ) || - (!hasError && )} + { ( true === booted && ) || + ( ! hasError && ) }
    @@ -111,7 +111,7 @@ const AppBody = (props) => { export const App = () => ( - +
    diff --git a/src/app/pages/ecommerce/page.js b/src/app/pages/ecommerce/page.js index b441dd7c..4ac026d4 100644 --- a/src/app/pages/ecommerce/page.js +++ b/src/app/pages/ecommerce/page.js @@ -1,42 +1,48 @@ -import { Page } from "@newfold/ui-component-library"; -import { NewfoldECommerce } from "@newfold-labs/wp-module-ecommerce"; -import { useNavigate, useLocation, useSearchParams } from "react-router-dom"; -import { useNotification } from "../../components/notifications/feed"; -import AppStore from "../../data/store"; -import { useContext } from "@wordpress/element"; -import { hostgatorSettingsApiFetch } from "../../util/helpers"; -import "@newfold-labs/wp-module-ecommerce/hostgator.css"; +import { Page } from '@newfold/ui-component-library'; +import { NewfoldECommerce } from '@newfold-labs/wp-module-ecommerce'; +import { useNavigate, useLocation, useSearchParams } from 'react-router-dom'; +import { useNotification } from '../../components/notifications/feed'; +import AppStore from '../../data/store'; +import { useContext } from '@wordpress/element'; +import { hostgatorSettingsApiFetch } from '../../util/helpers'; +import '@newfold-labs/wp-module-ecommerce/hostgator.css'; const EcomerceStore = () => { - const {store, setStore} = useContext(AppStore) - const location = useLocation(); - const navigate = useNavigate(); - const [params] = useSearchParams(); - const notify = useNotification(); + const { store, setStore } = useContext( AppStore ); + const location = useLocation(); + const navigate = useNavigate(); + const [ params ] = useSearchParams(); + const notify = useNotification(); - const wpModules = { - navigate, - notify - } + const wpModules = { + navigate, + notify, + }; - const state = { - wp: {comingSoon: store?.comingSoon}, - location: location.pathname, - params - } + const state = { + wp: { comingSoon: store?.comingSoon }, + location: location.pathname, + params, + }; - const actions = { - toggleComingSoon : () => hostgatorSettingsApiFetch( - { comingSoon: !store.comingSoon }, - console.error, - (response) => setStore({...store, comingSoon: !store.comingSoon}) - ) - } - return ( - - - - ) -} + const actions = { + toggleComingSoon: () => + hostgatorSettingsApiFetch( + { comingSoon: ! store.comingSoon }, + console.error, + ( response ) => + setStore( { ...store, comingSoon: ! store.comingSoon } ) + ), + }; + return ( + + + + ); +}; export default EcomerceStore; diff --git a/src/app/pages/help/index.js b/src/app/pages/help/index.js index a34913d8..4e9facee 100644 --- a/src/app/pages/help/index.js +++ b/src/app/pages/help/index.js @@ -2,26 +2,24 @@ import help from '../../data/help'; import { getLinkPerRegion, supportsLinkPerRegion, - handleHelpLinksClick + handleHelpLinksClick, } from '../../util/helpers'; -import { +import { Button, Card, Title, Container, - Page -} from "@newfold/ui-component-library"; + Page, +} from '@newfold/ui-component-library'; -const HelpCard = ({ item }) => { - return ( - +const HelpCard = ( { item } ) => { + return ( + - {item.title} -

    {item.description}

    + + { item.title } + +

    { item.description }

    @@ -29,15 +27,15 @@ const HelpCard = ({ item }) => { variant="secondary" as="a" className="nfd-w-full" - href={ getLinkPerRegion( item.id, item.cta )} + href={ getLinkPerRegion( item.id, item.cta ) } target="_blank" > - {item.cta} + { item.cta }
    - ); -} + ); +}; const Help = () => { handleHelpLinksClick(); @@ -46,25 +44,27 @@ const Help = () => { return (
    - {helpItems.map((item) => ( - supportsLinkPerRegion(item.id) && - - ))} + { helpItems.map( + ( item ) => + supportsLinkPerRegion( item.id ) && ( + + ) + ) }
    ); }; return ( - - + + - - {renderHelpCards()} - + { renderHelpCards() } ); diff --git a/src/app/pages/home/freeAddonsSection.js b/src/app/pages/home/freeAddonsSection.js index ec9e40f4..c84851c3 100644 --- a/src/app/pages/home/freeAddonsSection.js +++ b/src/app/pages/home/freeAddonsSection.js @@ -1,10 +1,9 @@ -import { FreePlugins } from "@newfold-labs/wp-module-ecommerce"; -import { useNotification } from "../../components/notifications/feed"; +import { FreePlugins } from '@newfold-labs/wp-module-ecommerce'; +import { useNotification } from '../../components/notifications/feed'; const FreePluginsSection = () => { - - const notify = useNotification(); - return -} + const notify = useNotification(); + return ; +}; export default FreePluginsSection; diff --git a/src/app/pages/home/index.js b/src/app/pages/home/index.js index 8e290306..c6d2763f 100644 --- a/src/app/pages/home/index.js +++ b/src/app/pages/home/index.js @@ -1,4 +1,4 @@ -import { Container, Page } from "@newfold/ui-component-library"; +import { Container, Page } from '@newfold/ui-component-library'; import ComingSoon from '../settings/comingSoon'; import FreePluginsSection from './freeAddonsSection'; import SettingsSection from './settingsSection'; @@ -8,27 +8,39 @@ import WelcomeSection from './welcomeSection'; const Home = () => { return ( - + - + - + - + - + - + diff --git a/src/app/pages/home/settingsSection.js b/src/app/pages/home/settingsSection.js index 1cdcf73d..00fe7459 100644 --- a/src/app/pages/home/settingsSection.js +++ b/src/app/pages/home/settingsSection.js @@ -1,38 +1,53 @@ -import ActionField from "../../components/action-field"; -import { Container } from "@newfold/ui-component-library"; +import ActionField from '../../components/action-field'; +import { Container } from '@newfold/ui-component-library'; const SettingsSection = () => { return (
    - {__('Manage your site settings. You can ajdust automatic updates, comments, revisions and more.', 'wp-plugin-hostgator')} + { __( + 'Manage your site settings. You can ajdust automatic updates, comments, revisions and more.', + 'wp-plugin-hostgator' + ) } - {__('Manage site performance and caching settings as well as clear the site cache.', 'wp-plugin-hostgator')} + { __( + 'Manage site performance and caching settings as well as clear the site cache.', + 'wp-plugin-hostgator' + ) } - {__('Add site services, themes or plugins from the marketplace.', 'wp-plugin-hostgator')} + { __( + 'Add site services, themes or plugins from the marketplace.', + 'wp-plugin-hostgator' + ) }
    diff --git a/src/app/pages/home/webContentSection.js b/src/app/pages/home/webContentSection.js index bef281b8..3ba594f1 100644 --- a/src/app/pages/home/webContentSection.js +++ b/src/app/pages/home/webContentSection.js @@ -1,38 +1,56 @@ -import ActionField from "../../components/action-field"; -import { Container } from "@newfold/ui-component-library"; +import ActionField from '../../components/action-field'; +import { Container } from '@newfold/ui-component-library'; const WebContentSection = () => { return (
    - {__('Write a new blog post.', 'wp-plugin-hostgator')} + { __( 'Write a new blog post.', 'wp-plugin-hostgator' ) } - {__('Add fresh pages to your website.', 'wp-plugin-hostgator')} + { __( + 'Add fresh pages to your website.', + 'wp-plugin-hostgator' + ) } - {__('Organize existing content into categories.', 'wp-plugin-hostgator')} + { __( + 'Organize existing content into categories.', + 'wp-plugin-hostgator' + ) }
    diff --git a/src/app/pages/home/webHostingSection.js b/src/app/pages/home/webHostingSection.js index 15d0b8c7..055e6d12 100644 --- a/src/app/pages/home/webHostingSection.js +++ b/src/app/pages/home/webHostingSection.js @@ -1,66 +1,90 @@ -import ActionField from "../../components/action-field"; -import { Container } from "@newfold/ui-component-library"; +import ActionField from '../../components/action-field'; +import { Container } from '@newfold/ui-component-library'; import { getLinkPerRegion, supportsLinkPerRegion } from '../../util/helpers'; const WebHostingSection = () => { return (
    - {supportsLinkPerRegion('home_manage_sites') && + { supportsLinkPerRegion( 'home_manage_sites' ) && ( - {__('Manage your site from the control panel. You can create backups, set security, and improve performance.', 'wp-plugin-hostgator')} + { __( + 'Manage your site from the control panel. You can create backups, set security, and improve performance.', + 'wp-plugin-hostgator' + ) } - } + ) } - {supportsLinkPerRegion('home_manage_email') && + { supportsLinkPerRegion( 'home_manage_email' ) && ( - {__('Create email accounts, compose, send, and receive your email from the control panel.', 'wp-plugin-hostgator')} + { __( + 'Create email accounts, compose, send, and receive your email from the control panel.', + 'wp-plugin-hostgator' + ) } - } + ) } - {supportsLinkPerRegion('home_find_domain') && + { supportsLinkPerRegion( 'home_find_domain' ) && ( - {__('Find a new domain and assign it to your site or start a new site with a fresh domain.', 'wp-plugin-hostgator')} + { __( + 'Find a new domain and assign it to your site or start a new site with a fresh domain.', + 'wp-plugin-hostgator' + ) } - } + ) } - {__('24/7/365 support. We work when you work.', 'wp-plugin-hostgator')} + { __( + '24/7/365 support. We work when you work.', + 'wp-plugin-hostgator' + ) }
    diff --git a/src/app/pages/home/welcomeSection.js b/src/app/pages/home/welcomeSection.js index 817918d4..a1547bdd 100644 --- a/src/app/pages/home/welcomeSection.js +++ b/src/app/pages/home/welcomeSection.js @@ -1,27 +1,27 @@ -import { OnboardingScreen } from "@newfold-labs/wp-module-ecommerce"; -import { useNotification } from "../../components/notifications/feed"; -import AppStore from "../../data/store"; -import { useContext } from "@wordpress/element"; -import { hostgatorSettingsApiFetch } from "../../util/helpers"; +import { OnboardingScreen } from '@newfold-labs/wp-module-ecommerce'; +import { useNotification } from '../../components/notifications/feed'; +import AppStore from '../../data/store'; +import { useContext } from '@wordpress/element'; +import { hostgatorSettingsApiFetch } from '../../util/helpers'; const WelcomeSection = () => { - const {store, setStore} = useContext(AppStore) - const notify= useNotification(); - const toggleComingSoon = () => - hostgatorSettingsApiFetch( - { comingSoon: !store.comingSoon }, - console.error, - () => setStore({ ...store, comingSoon: !store.comingSoon }) - ); + const { store, setStore } = useContext( AppStore ); + const notify = useNotification(); + const toggleComingSoon = () => + hostgatorSettingsApiFetch( + { comingSoon: ! store.comingSoon }, + console.error, + () => setStore( { ...store, comingSoon: ! store.comingSoon } ) + ); - return ( - - ); -} + return ( + + ); +}; export default WelcomeSection; diff --git a/src/app/pages/marketplace/index.js b/src/app/pages/marketplace/index.js index 1c940421..caa0bddf 100644 --- a/src/app/pages/marketplace/index.js +++ b/src/app/pages/marketplace/index.js @@ -3,45 +3,51 @@ import { useState, useEffect } from '@wordpress/element'; import { useLocation } from 'react-router-dom'; import classnames from 'classnames'; import { Container, Page } from '@newfold/ui-component-library'; -import { NewfoldRuntime } from "@newfold-labs/wp-module-runtime"; +import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime'; // component sourced from marketplace module import { default as NewfoldMarketplace } from '../../../../vendor/newfold-labs/wp-module-marketplace/components/marketplace/'; const MarketplacePage = () => { - // constants to pass to module const moduleConstants = { - 'text': { - 'title': __('Marketplace', 'wp-plugin-hostgator'), - 'subTitle': __('Explore our featured collection of tools and services.', 'wp-plugin-hostgator'), - 'error': __('Oops, there was an error loading the marketplace, please try again later.', 'wp-plugin-hostgator'), - 'noProducts': __('Sorry, no marketplace items. Please, try again later.', 'wp-plugin-hostgator'), - 'loadMore': __('Load More', 'wp-plugin-hostgator'), - } + text: { + title: __( 'Marketplace', 'wp-plugin-hostgator' ), + subTitle: __( + 'Explore our featured collection of tools and services.', + 'wp-plugin-hostgator' + ), + error: __( + 'Oops, there was an error loading the marketplace, please try again later.', + 'wp-plugin-hostgator' + ), + noProducts: __( + 'Sorry, no marketplace items. Please, try again later.', + 'wp-plugin-hostgator' + ), + loadMore: __( 'Load More', 'wp-plugin-hostgator' ), + }, }; - // methods to pass to module - const moduleMethods = { - apiFetch, - classnames, - useState, - useEffect, - useLocation, - NewfoldRuntime, - }; + // methods to pass to module + const moduleMethods = { + apiFetch, + classnames, + useState, + useEffect, + useLocation, + NewfoldRuntime, + }; return ( - - - - + + - ); }; -export default MarketplacePage; \ No newline at end of file +export default MarketplacePage; diff --git a/src/app/pages/performance/index.js b/src/app/pages/performance/index.js index 49c0da68..7acfa93d 100644 --- a/src/app/pages/performance/index.js +++ b/src/app/pages/performance/index.js @@ -4,81 +4,138 @@ import { useState, useEffect, useContext, Fragment } from '@wordpress/element'; import apiFetch from '@wordpress/api-fetch'; import classnames from 'classnames'; import { useUpdateEffect } from 'react-use'; -import { NewfoldRuntime } from "@newfold-labs/wp-module-runtime"; +import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime'; import { useNotification } from '../../components/notifications/feed'; -import { - hostgatorSettingsApiFetch as newfoldSettingsApiFetch, - hostgatorPurgeCacheApiFetch as newfoldPurgeCacheApiFetch +import { + hostgatorSettingsApiFetch as newfoldSettingsApiFetch, + hostgatorPurgeCacheApiFetch as newfoldPurgeCacheApiFetch, } from '../../util/helpers'; import { default as NewfoldPerformance } from '../../../../vendor/newfold-labs/wp-module-performance/components/performance/'; const PerformancePage = () => { - - // constants to pass to module - const moduleConstants = { - text: { - cacheLevel0Description: __('No cache enabled.', 'wp-plugin-hostgator') + ' ' + __('Every page load is fresh.', 'wp-plugin-hostgator') + ' ', - cacheLevel0Label: __('Disabled', 'wp-plugin-hostgator'), - cacheLevel0NoticeText: __('No cache enabled.', 'wp-plugin-hostgator') + ' ' + __('Every page load is fresh.', 'wp-plugin-hostgator'), - cacheLevel0Recommendation: __('Not recommended.', 'wp-plugin-hostgator'), - cacheLevel1Description: __('Cache static assets like images and the appearance of your site for 1 hour.', 'wp-plugin-hostgator') + ' ', - cacheLevel1Label: __('Assets Only', 'wp-plugin-hostgator'), - cacheLevel1NoticeText: __('Cache enabled for assets only.', 'wp-plugin-hostgator'), - cacheLevel1Recommendation: __('Recommended for ecommerce and sites that update frequently or display info in real-time.', 'wp-plugin-hostgator'), - cacheLevel2Description: __('Cache static assets for 24 hours and web pages for 2 hours.', 'wp-plugin-hostgator') + ' ', - cacheLevel2Label: __('Assets & Web Pages', 'wp-plugin-hostgator'), - cacheLevel2NoticeText: __('Cache enabled for assets and pages.', 'wp-plugin-hostgator'), - cacheLevel2Recommendation: __('Recommended for blogs, educational sites, and sites that update at least weekly.', 'wp-plugin-hostgator'), - cacheLevel3Description: __('Cache static assets for 1 week and web pages for 8 hours.', 'wp-plugin-hostgator') + ' ', - cacheLevel3Label: __('Assets & Web Pages - Extended', 'wp-plugin-hostgator'), - cacheLevel3NoticeText: __('Cache enabled for assets and pages (extended).', 'wp-plugin-hostgator'), - cacheLevel3Recommendation: __('Recommended for sites that update a few times a month or less like porfolios or brochure sites.', 'wp-plugin-hostgator'), - cacheLevelDescription: __('Boost speed and performance by storing a copy of your website content, files, and images online so the pages of your website load faster for your visitors.', 'wp-plugin-hostgator'), - cacheLevelNoticeTitle: __('Cache setting saved', 'wp-plugin-hostgator'), - cacheLevelTitle: __('Cache Level', 'wp-plugin-hostgator'), - clearCacheButton: __('Clear All Cache Now', 'wp-plugin-hostgator'), - clearCacheDescription: __('We automatically clear your cache as you work (creating content, changing settings, installing plugins and more). But you can manually clear it here to be confident it\'s fresh.', 'wp-plugin-hostgator'), - clearCacheNoticeTitle: __('Cache cleared', 'wp-plugin-hostgator'), - clearCacheTitle: __('Clear Cache', 'wp-plugin-hostgator'), - }, + // constants to pass to module + const moduleConstants = { + text: { + cacheLevel0Description: + __( 'No cache enabled.', 'wp-plugin-hostgator' ) + + ' ' + + __( 'Every page load is fresh.', 'wp-plugin-hostgator' ) + + ' ', + cacheLevel0Label: __( 'Disabled', 'wp-plugin-hostgator' ), + cacheLevel0NoticeText: + __( 'No cache enabled.', 'wp-plugin-hostgator' ) + + ' ' + + __( 'Every page load is fresh.', 'wp-plugin-hostgator' ), + cacheLevel0Recommendation: __( + 'Not recommended.', + 'wp-plugin-hostgator' + ), + cacheLevel1Description: + __( + 'Cache static assets like images and the appearance of your site for 1 hour.', + 'wp-plugin-hostgator' + ) + ' ', + cacheLevel1Label: __( 'Assets Only', 'wp-plugin-hostgator' ), + cacheLevel1NoticeText: __( + 'Cache enabled for assets only.', + 'wp-plugin-hostgator' + ), + cacheLevel1Recommendation: __( + 'Recommended for ecommerce and sites that update frequently or display info in real-time.', + 'wp-plugin-hostgator' + ), + cacheLevel2Description: + __( + 'Cache static assets for 24 hours and web pages for 2 hours.', + 'wp-plugin-hostgator' + ) + ' ', + cacheLevel2Label: __( 'Assets & Web Pages', 'wp-plugin-hostgator' ), + cacheLevel2NoticeText: __( + 'Cache enabled for assets and pages.', + 'wp-plugin-hostgator' + ), + cacheLevel2Recommendation: __( + 'Recommended for blogs, educational sites, and sites that update at least weekly.', + 'wp-plugin-hostgator' + ), + cacheLevel3Description: + __( + 'Cache static assets for 1 week and web pages for 8 hours.', + 'wp-plugin-hostgator' + ) + ' ', + cacheLevel3Label: __( + 'Assets & Web Pages - Extended', + 'wp-plugin-hostgator' + ), + cacheLevel3NoticeText: __( + 'Cache enabled for assets and pages (extended).', + 'wp-plugin-hostgator' + ), + cacheLevel3Recommendation: __( + 'Recommended for sites that update a few times a month or less like porfolios or brochure sites.', + 'wp-plugin-hostgator' + ), + cacheLevelDescription: __( + 'Boost speed and performance by storing a copy of your website content, files, and images online so the pages of your website load faster for your visitors.', + 'wp-plugin-hostgator' + ), + cacheLevelNoticeTitle: __( + 'Cache setting saved', + 'wp-plugin-hostgator' + ), + cacheLevelTitle: __( 'Cache Level', 'wp-plugin-hostgator' ), + clearCacheButton: __( + 'Clear All Cache Now', + 'wp-plugin-hostgator' + ), + clearCacheDescription: __( + "We automatically clear your cache as you work (creating content, changing settings, installing plugins and more). But you can manually clear it here to be confident it's fresh.", + 'wp-plugin-hostgator' + ), + clearCacheNoticeTitle: __( 'Cache cleared', 'wp-plugin-hostgator' ), + clearCacheTitle: __( 'Clear Cache', 'wp-plugin-hostgator' ), + }, }; - // methods to pass to module - const moduleMethods = { - apiFetch, - classnames, - useState, - useEffect, - useContext, - NewfoldRuntime, - useNotification, - newfoldSettingsApiFetch, - newfoldPurgeCacheApiFetch, - useUpdateEffect, - AppStore, - }; + // methods to pass to module + const moduleMethods = { + apiFetch, + classnames, + useState, + useEffect, + useContext, + NewfoldRuntime, + useNotification, + newfoldSettingsApiFetch, + newfoldPurgeCacheApiFetch, + useUpdateEffect, + AppStore, + }; const moduleComponents = { - Fragment, - } + Fragment, + }; return ( - - - - - + + + + + ); }; -export default PerformancePage; \ No newline at end of file +export default PerformancePage; diff --git a/src/app/pages/settings/automaticUpdates.js b/src/app/pages/settings/automaticUpdates.js index 6f93fe48..1036c459 100644 --- a/src/app/pages/settings/automaticUpdates.js +++ b/src/app/pages/settings/automaticUpdates.js @@ -2,282 +2,323 @@ import AppStore from '../../data/store'; import { hostgatorSettingsApiFetch } from '../../util/helpers'; import { useUpdateEffect } from 'react-use'; import { useState } from '@wordpress/element'; -import { Alert, Container, ToggleField } from "@newfold/ui-component-library"; +import { Alert, Container, ToggleField } from '@newfold/ui-component-library'; import { useNotification } from '../../components/notifications/feed'; -const AutomaticUpdatesAll = ({ setError, notify }) => { - const { store, setStore } = useContext(AppStore); - const [autoUpdatesAll, setAutoUpdatesAll] = useState( +const AutomaticUpdatesAll = ( { setError, notify } ) => { + const { store, setStore } = useContext( AppStore ); + const [ autoUpdatesAll, setAutoUpdatesAll ] = useState( store.autoUpdatesMajorCore && - store.autoUpdatesPlugins && - store.autoUpdatesThemes - ? true - : false + store.autoUpdatesPlugins && + store.autoUpdatesThemes + ? true + : false ); const getAllNoticeTitle = () => { return autoUpdatesAll - ? __('Enabled All auto-updates', 'wp-plugin-hostgator') - : __('Disabled All auto-updates', 'wp-plugin-hostgator'); + ? __( 'Enabled All auto-updates', 'wp-plugin-hostgator' ) + : __( 'Disabled All auto-updates', 'wp-plugin-hostgator' ); }; const getAllNoticeText = () => { return autoUpdatesAll - ? __('Everything will automatically update.', 'wp-plugin-hostgator') - : __('Custom auto-update settings.', 'wp-plugin-hostgator'); + ? __( + 'Everything will automatically update.', + 'wp-plugin-hostgator' + ) + : __( 'Custom auto-update settings.', 'wp-plugin-hostgator' ); }; const toggleAutoUpdatesAll = () => { - if ( autoUpdatesAll ) { // is unchecking + if ( autoUpdatesAll ) { + // is unchecking // just uncheck this one - setAutoUpdatesAll(!autoUpdatesAll); - } else { // is checking + setAutoUpdatesAll( ! autoUpdatesAll ); + } else { + // is checking hostgatorSettingsApiFetch( - { + { autoUpdatesMajorCore: true, autoUpdatesPlugins: true, - autoUpdatesThemes: true - }, - setError, - (response) => { - setAutoUpdatesAll(!autoUpdatesAll); + autoUpdatesThemes: true, + }, + setError, + ( response ) => { + setAutoUpdatesAll( ! autoUpdatesAll ); } ); } }; const notifySuccess = () => { - notify.push("everything-autoupdate-notice", { + notify.push( 'everything-autoupdate-notice', { title: getAllNoticeTitle(), - description: ( - - {getAllNoticeText()} - - ), - variant: "success", + description: { getAllNoticeText() }, + variant: 'success', autoDismiss: 5000, - }); + } ); }; useEffect( () => { - if ( store.autoUpdatesMajorCore && store.autoUpdatesPlugins && store.autoUpdatesThemes ) { + if ( + store.autoUpdatesMajorCore && + store.autoUpdatesPlugins && + store.autoUpdatesThemes + ) { setAutoUpdatesAll( true ); } else { setAutoUpdatesAll( false ); } - }, [ store.autoUpdatesMajorCore, store.autoUpdatesPlugins, store.autoUpdatesThemes ] ); - - useUpdateEffect(() => { - - setStore({ + }, [ + store.autoUpdatesMajorCore, + store.autoUpdatesPlugins, + store.autoUpdatesThemes, + ] ); + + useUpdateEffect( () => { + setStore( { ...store, autoUpdatesAll, - }); + } ); notifySuccess(); - }, [autoUpdatesAll]); + }, [ autoUpdatesAll ] ); return ( ); -} +}; -const AutomaticUpdatesMajorCore = ({ setError, notify }) => { - const { store, setStore } = useContext(AppStore); - const [autoUpdatesMajorCore, setAutoUpdatesCore] = useState( +const AutomaticUpdatesMajorCore = ( { setError, notify } ) => { + const { store, setStore } = useContext( AppStore ); + const [ autoUpdatesMajorCore, setAutoUpdatesCore ] = useState( store.autoUpdatesMajorCore ); const getCoreNoticeTitle = () => { return autoUpdatesMajorCore - ? __('Enabled Core auto-updates', 'wp-plugin-hostgator') - : __('Disabled Core auto-updates', 'wp-plugin-hostgator'); + ? __( 'Enabled Core auto-updates', 'wp-plugin-hostgator' ) + : __( 'Disabled Core auto-updates', 'wp-plugin-hostgator' ); }; const getCoreNoticeText = () => { return autoUpdatesMajorCore - ? __('WordPress will automatically update.', 'wp-plugin-hostgator') - : __('WordPress must be manually updated.', 'wp-plugin-hostgator'); + ? __( + 'WordPress will automatically update.', + 'wp-plugin-hostgator' + ) + : __( + 'WordPress must be manually updated.', + 'wp-plugin-hostgator' + ); }; const toggleAutoUpdatesMajorCore = () => { - hostgatorSettingsApiFetch({ autoUpdatesMajorCore: !autoUpdatesMajorCore }, setError, (response) => { - setAutoUpdatesCore(!autoUpdatesMajorCore); - }); + hostgatorSettingsApiFetch( + { autoUpdatesMajorCore: ! autoUpdatesMajorCore }, + setError, + ( response ) => { + setAutoUpdatesCore( ! autoUpdatesMajorCore ); + } + ); }; const notifySuccess = () => { - notify.push("major-core-autoupdate-notice", { + notify.push( 'major-core-autoupdate-notice', { title: getCoreNoticeTitle(), - description: ( - - {getCoreNoticeText()} - - ), - variant: "success", + description: { getCoreNoticeText() }, + variant: 'success', autoDismiss: 5000, - }); + } ); }; - useUpdateEffect(() => { - setStore({ + useUpdateEffect( () => { + setStore( { ...store, autoUpdatesMajorCore, - }); + } ); notifySuccess(); - }, [autoUpdatesMajorCore]); + }, [ autoUpdatesMajorCore ] ); return ( ); -} +}; -const AutomaticUpdatesPlugins = ({ setError, notify }) => { - const { store, setStore } = useContext(AppStore); - const [autoUpdatesPlugins, setAutoUpdatesPlugins] = useState( +const AutomaticUpdatesPlugins = ( { setError, notify } ) => { + const { store, setStore } = useContext( AppStore ); + const [ autoUpdatesPlugins, setAutoUpdatesPlugins ] = useState( store.autoUpdatesPlugins ); const getPluginsNoticeTitle = () => { return autoUpdatesPlugins - ? __('Enabled Plugins auto-update', 'wp-plugin-hostgator') - : __('Disabled Plugins auto-update', 'wp-plugin-hostgator'); + ? __( 'Enabled Plugins auto-update', 'wp-plugin-hostgator' ) + : __( 'Disabled Plugins auto-update', 'wp-plugin-hostgator' ); }; const getPluginsNoticeText = () => { return autoUpdatesPlugins - ? __('All plugins will automatically update.', 'wp-plugin-hostgator') - : __('Each plugin must be manually updated.', 'wp-plugin-hostgator'); + ? __( + 'All plugins will automatically update.', + 'wp-plugin-hostgator' + ) + : __( + 'Each plugin must be manually updated.', + 'wp-plugin-hostgator' + ); }; const toggleAutoUpdatesPlugins = () => { - hostgatorSettingsApiFetch({ autoUpdatesPlugins: !autoUpdatesPlugins }, setError, (response) => { - setAutoUpdatesPlugins(!autoUpdatesPlugins); - }); + hostgatorSettingsApiFetch( + { autoUpdatesPlugins: ! autoUpdatesPlugins }, + setError, + ( response ) => { + setAutoUpdatesPlugins( ! autoUpdatesPlugins ); + } + ); }; const notifySuccess = () => { - notify.push("plugins-autoupdate-notice", { + notify.push( 'plugins-autoupdate-notice', { title: getPluginsNoticeTitle(), - description: ( - - {getPluginsNoticeText()} - - ), - variant: "success", + description: { getPluginsNoticeText() }, + variant: 'success', autoDismiss: 5000, - }); + } ); }; - useUpdateEffect(() => { - setStore({ + useUpdateEffect( () => { + setStore( { ...store, autoUpdatesPlugins, - }); + } ); notifySuccess(); - }, [autoUpdatesPlugins]); + }, [ autoUpdatesPlugins ] ); return ( ); -} +}; -const AutomaticUpdatesThemes = ({ setError, notify }) => { - const { store, setStore } = useContext(AppStore); - const [autoUpdatesThemes, setAutoUpdatesThemes] = useState( +const AutomaticUpdatesThemes = ( { setError, notify } ) => { + const { store, setStore } = useContext( AppStore ); + const [ autoUpdatesThemes, setAutoUpdatesThemes ] = useState( store.autoUpdatesThemes ); const getThemesNoticeTitle = () => { return autoUpdatesThemes - ? __('Enabled Themes auto-update', 'wp-plugin-hostgator') - : __('Disabled Themes auto-update', 'wp-plugin-hostgator'); + ? __( 'Enabled Themes auto-update', 'wp-plugin-hostgator' ) + : __( 'Disabled Themes auto-update', 'wp-plugin-hostgator' ); }; const getThemesNoticeText = () => { return autoUpdatesThemes - ? __('All themes will automatically update.', 'wp-plugin-hostgator') - : __('Each theme must be manually updated.', 'wp-plugin-hostgator'); + ? __( + 'All themes will automatically update.', + 'wp-plugin-hostgator' + ) + : __( + 'Each theme must be manually updated.', + 'wp-plugin-hostgator' + ); }; const toggleAutoUpdatesThemes = () => { - hostgatorSettingsApiFetch({ autoUpdatesThemes: !autoUpdatesThemes }, setError, (response) => { - setAutoUpdatesThemes(!autoUpdatesThemes); - }); + hostgatorSettingsApiFetch( + { autoUpdatesThemes: ! autoUpdatesThemes }, + setError, + ( response ) => { + setAutoUpdatesThemes( ! autoUpdatesThemes ); + } + ); }; const notifySuccess = () => { - notify.push("themes-autoupdate-notice", { + notify.push( 'themes-autoupdate-notice', { title: getThemesNoticeTitle(), - description: ( - - {getThemesNoticeText()} - - ), - variant: "success", + description: { getThemesNoticeText() }, + variant: 'success', autoDismiss: 5000, - }); + } ); }; - useUpdateEffect(() => { - setStore({ + useUpdateEffect( () => { + setStore( { ...store, autoUpdatesThemes, - }); + } ); notifySuccess(); - }, [autoUpdatesThemes]); + }, [ autoUpdatesThemes ] ); return ( ); -} +}; const AutomaticUpdates = () => { - const [isError, setError] = useState(false); + const [ isError, setError ] = useState( false ); - let notify = useNotification(); + const notify = useNotification(); return (
    - - - - - {isError && + + + + + { isError && ( - {__('Oops! Something went wrong. Please try again.', 'wp-plugin-hostgator')} + { __( + 'Oops! Something went wrong. Please try again.', + 'wp-plugin-hostgator' + ) } - } + ) }
    ); -} +}; -export default AutomaticUpdates; \ No newline at end of file +export default AutomaticUpdates; diff --git a/src/app/pages/settings/comingSoon.js b/src/app/pages/settings/comingSoon.js index b26ea2bf..1b8b6ce4 100644 --- a/src/app/pages/settings/comingSoon.js +++ b/src/app/pages/settings/comingSoon.js @@ -5,56 +5,62 @@ import { } from '../../util/helpers'; import { useState } from '@wordpress/element'; import { useUpdateEffect } from 'react-use'; -import { Alert, Container, ToggleField } from "@newfold/ui-component-library"; +import { Alert, Container, ToggleField } from '@newfold/ui-component-library'; import { useNotification } from '../../components/notifications/feed'; const ComingSoon = () => { - const { store, setStore } = useContext(AppStore); - const [comingSoon, setComingSoon] = useState(store.comingSoon); - const [isError, setError] = useState(false); + const { store, setStore } = useContext( AppStore ); + const [ comingSoon, setComingSoon ] = useState( store.comingSoon ); + const [ isError, setError ] = useState( false ); - let notify = useNotification(); + const notify = useNotification(); const getComingSoonNoticeTitle = () => { return comingSoon - ? __('Coming soon activated', 'wp-plugin-hostgator') - : __('Coming soon deactivated', 'wp-plugin-hostgator'); + ? __( 'Coming soon activated', 'wp-plugin-hostgator' ) + : __( 'Coming soon deactivated', 'wp-plugin-hostgator' ); }; const getComingSoonNoticeText = () => { return comingSoon ? __( - 'Coming soon page is active. Site requires login.', - 'wp-plugin-hostgator' - ) + 'Coming soon page is active. Site requires login.', + 'wp-plugin-hostgator' + ) : __( - 'Coming soon page is not active. Site is live to visitors.', - 'wp-plugin-hostgator' - ); + 'Coming soon page is not active. Site is live to visitors.', + 'wp-plugin-hostgator' + ); }; - + const getComingSoonSectionTitle = () => { const getStatus = () => { - return ( - comingSoon - ? - {__('Not Live', 'wp-plugin-hostgator')} + return comingSoon ? ( + + { __( 'Not Live', 'wp-plugin-hostgator' ) } - : - {__('Live', 'wp-plugin-hostgator')} + ) : ( + + { __( 'Live', 'wp-plugin-hostgator' ) } ); }; return ( - {__('Site Status', 'wp-plugin-hostgator')}: {getStatus()} - ) + + { __( 'Site Status', 'wp-plugin-hostgator' ) }: { getStatus() } + + ); }; const toggleComingSoon = () => { - hostgatorSettingsApiFetch({ comingSoon: !comingSoon }, setError, (response) => { - setComingSoon(!comingSoon); - }); + hostgatorSettingsApiFetch( + { comingSoon: ! comingSoon }, + setError, + ( response ) => { + setComingSoon( ! comingSoon ); + } + ); }; const getComingSoonSectionDescription = () => { @@ -69,63 +75,64 @@ const ComingSoon = () => { ); }; - const notifySuccess = () => { - notify.push("coming-soon-toggle-notice", { + notify.push( 'coming-soon-toggle-notice', { title: getComingSoonNoticeTitle(), - description: ( - - {getComingSoonNoticeText()} - - ), - variant: "success", + description: { getComingSoonNoticeText() }, + variant: 'success', autoDismiss: 5000, - }); + } ); }; - useUpdateEffect(() => { - setStore({ + useUpdateEffect( () => { + setStore( { ...store, comingSoon, - }); + } ); notifySuccess(); - comingSoonAdminbarToggle(comingSoon); - }, [comingSoon]); + comingSoonAdminbarToggle( comingSoon ); + }, [ comingSoon ] ); return (
    { + ) } + checked={ comingSoon } + onChange={ () => { toggleComingSoon(); - }} + } } /> - {comingSoon && + { comingSoon && ( - {__('Your website is currently displaying a "Coming Soon" page.', 'wp-plugin-hostgator')} + { __( + 'Your website is currently displaying a "Coming Soon" page.', + 'wp-plugin-hostgator' + ) } - } + ) } - {isError && + { isError && ( - {__('Oops! Something went wrong. Please try again.', 'wp-plugin-hostgator')} + { __( + 'Oops! Something went wrong. Please try again.', + 'wp-plugin-hostgator' + ) } - } + ) }
    ); -} +}; -export default ComingSoon; \ No newline at end of file +export default ComingSoon; diff --git a/src/app/pages/settings/commentSettings.js b/src/app/pages/settings/commentSettings.js index 75ea4068..662a1607 100644 --- a/src/app/pages/settings/commentSettings.js +++ b/src/app/pages/settings/commentSettings.js @@ -6,136 +6,147 @@ import { Alert, Container, SelectField, - ToggleField -} from "@newfold/ui-component-library"; + ToggleField, +} from '@newfold/ui-component-library'; import { useNotification } from '../../components/notifications/feed'; -const OldPostsComments = ({ setError, notify }) => { - const { store, setStore } = useContext(AppStore); - const [disableCommentsOldPosts, setDisableCommentsOldPosts] = useState( +const OldPostsComments = ( { setError, notify } ) => { + const { store, setStore } = useContext( AppStore ); + const [ disableCommentsOldPosts, setDisableCommentsOldPosts ] = useState( store.disableCommentsOldPosts ); const disableCommentsNoticeTitle = () => { return disableCommentsOldPosts - ? __('Disabled old post comments', 'wp-plugin-hostgator') - : __('Enabled old post comments', 'wp-plugin-hostgator'); + ? __( 'Disabled old post comments', 'wp-plugin-hostgator' ) + : __( 'Enabled old post comments', 'wp-plugin-hostgator' ); }; const disableCommentsNoticeText = () => { return disableCommentsOldPosts - ? __('Comments on old posts are disabled.', 'wp-plugin-hostgator') - : __('Comments are allowed on old posts.', 'wp-plugin-hostgator'); + ? __( 'Comments on old posts are disabled.', 'wp-plugin-hostgator' ) + : __( 'Comments are allowed on old posts.', 'wp-plugin-hostgator' ); }; const toggleDisableCommentsOldPosts = () => { - hostgatorSettingsApiFetch({ disableCommentsOldPosts: !disableCommentsOldPosts }, setError, (response) => { - setDisableCommentsOldPosts(!disableCommentsOldPosts); - }); + hostgatorSettingsApiFetch( + { disableCommentsOldPosts: ! disableCommentsOldPosts }, + setError, + ( response ) => { + setDisableCommentsOldPosts( ! disableCommentsOldPosts ); + } + ); }; const notifySuccess = () => { - notify.push("disable-old-posts-comments-notice", { + notify.push( 'disable-old-posts-comments-notice', { title: disableCommentsNoticeTitle(), - description: ( - - {disableCommentsNoticeText()} - - ), - variant: "success", + description: { disableCommentsNoticeText() }, + variant: 'success', autoDismiss: 5000, - }); + } ); }; - useUpdateEffect(() => { - setStore({ + useUpdateEffect( () => { + setStore( { ...store, disableCommentsOldPosts, - }); + } ); notifySuccess(); - }, [disableCommentsOldPosts]); + }, [ disableCommentsOldPosts ] ); return ( ); -} +}; -const CloseCommentsDays = ({ setError, notify }) => { - const { store, setStore } = useContext(AppStore); - const [closeCommentsDays, setNumCloseCommentsDays] = useState( +const CloseCommentsDays = ( { setError, notify } ) => { + const { store, setStore } = useContext( AppStore ); + const [ closeCommentsDays, setNumCloseCommentsDays ] = useState( store.closeCommentsDays ); const closeCommentsDaysNoticeTitle = () => { - return ( - __('Comments setting saved ', 'wp-plugin-hostgator') - ); + return __( 'Comments setting saved ', 'wp-plugin-hostgator' ); }; const closeCommentsDaysNoticeText = () => { //`Comments on posts are disabled after ${closeCommentsDays} days.` return ( - __('Comments on posts are disabled after ', 'wp-plugin-hostgator') + + __( + 'Comments on posts are disabled after ', + 'wp-plugin-hostgator' + ) + closeCommentsDays + - _n(' day.', ' days.', parseInt(closeCommentsDays), 'wp-plugin-hostgator') + _n( + ' day.', + ' days.', + parseInt( closeCommentsDays ), + 'wp-plugin-hostgator' + ) ); }; const closeCommentsDaysLabelText = () => { //`Close comments after ${closeCommentsDays} days.` return ( - __('Close comments after ', 'wp-plugin-hostgator') + + __( 'Close comments after ', 'wp-plugin-hostgator' ) + closeCommentsDays + - _n(' day.', ' days.', parseInt(closeCommentsDays), 'wp-plugin-hostgator') + _n( + ' day.', + ' days.', + parseInt( closeCommentsDays ), + 'wp-plugin-hostgator' + ) ); }; - const handleCloseCommentsDaysChange = (value) => { - hostgatorSettingsApiFetch({ closeCommentsDays: value }, setError, (response) => { - setNumCloseCommentsDays(value); - }); + const handleCloseCommentsDaysChange = ( value ) => { + hostgatorSettingsApiFetch( + { closeCommentsDays: value }, + setError, + ( response ) => { + setNumCloseCommentsDays( value ); + } + ); }; const notifySuccess = () => { - notify.push("close-comments-days-notice", { + notify.push( 'close-comments-days-notice', { title: closeCommentsDaysNoticeTitle(), - description: ( - - {closeCommentsDaysNoticeText()} - - ), - variant: "success", + description: { closeCommentsDaysNoticeText() }, + variant: 'success', autoDismiss: 5000, - }); + } ); }; - useUpdateEffect(() => { - setStore({ + useUpdateEffect( () => { + setStore( { ...store, closeCommentsDays, - }); + } ); notifySuccess(); - }, [closeCommentsDays]); + }, [ closeCommentsDays ] ); return ( { { label: '30', value: '30' }, { label: '50', value: '50' }, { label: '100', value: '100' }, - ]} - onChange={handleCloseCommentsDaysChange} + ] } + onChange={ handleCloseCommentsDaysChange } className="nfd-select-field__spaced" /> ); -} +}; -const CommentsPerPage = ({ setError, notify }) => { - const { store, setStore } = useContext(AppStore); - const [commentsPerPage, setNumCommentsPerPage] = useState( +const CommentsPerPage = ( { setError, notify } ) => { + const { store, setStore } = useContext( AppStore ); + const [ commentsPerPage, setNumCommentsPerPage ] = useState( store.commentsPerPage ); const commentsPerPageNoticeTitle = () => { - return __('Comments setting saved.', 'wp-plugin-hostgator'); + return __( 'Comments setting saved.', 'wp-plugin-hostgator' ); }; const commentsPerPageNoticeText = () => { //`Posts will display ${commentsPerPage} comments at a time.` return ( - __('Posts will display ', 'wp-plugin-hostgator') + + __( 'Posts will display ', 'wp-plugin-hostgator' ) + commentsPerPage + _n( ' comment at a time.', ' comments at a time.', - parseInt(commentsPerPage), + parseInt( commentsPerPage ), 'wp-plugin-hostgator' ) ); }; - const handleCommentsPerPageChange = (value) => { - hostgatorSettingsApiFetch({ commentsPerPage: value }, setError, (response) => { - setNumCommentsPerPage(value); - }); + const handleCommentsPerPageChange = ( value ) => { + hostgatorSettingsApiFetch( + { commentsPerPage: value }, + setError, + ( response ) => { + setNumCommentsPerPage( value ); + } + ); }; const notifySuccess = () => { - notify.push("comments-per-page-notice", { + notify.push( 'comments-per-page-notice', { title: commentsPerPageNoticeTitle(), - description: ( - - {commentsPerPageNoticeText()} - - ), - variant: "success", + description: { commentsPerPageNoticeText() }, + variant: 'success', autoDismiss: 5000, - }); + } ); }; - useUpdateEffect(() => { - setStore({ + useUpdateEffect( () => { + setStore( { ...store, commentsPerPage, - }); + } ); notifySuccess(); - }, [commentsPerPage]); + }, [ commentsPerPage ] ); return ( ); -} +}; const CommentSettings = () => { - const [isError, setError] = useState(false); + const [ isError, setError ] = useState( false ); - let notify = useNotification(); + const notify = useNotification(); return (
    - - - - {isError && + + + + { isError && ( - {__('Oops! Something went wrong. Please try again.', 'wp-plugin-hostgator')} + { __( + 'Oops! Something went wrong. Please try again.', + 'wp-plugin-hostgator' + ) } - } + ) }
    ); }; -export default CommentSettings; \ No newline at end of file +export default CommentSettings; diff --git a/src/app/pages/settings/contentSettings.js b/src/app/pages/settings/contentSettings.js index b9c2205d..ab12c4ac 100644 --- a/src/app/pages/settings/contentSettings.js +++ b/src/app/pages/settings/contentSettings.js @@ -2,179 +2,213 @@ import AppStore from '../../data/store'; import { hostgatorSettingsApiFetch } from '../../util/helpers'; import { useUpdateEffect } from 'react-use'; import { useState } from '@wordpress/element'; -import { Alert, Container, SelectField } from "@newfold/ui-component-library"; +import { Alert, Container, SelectField } from '@newfold/ui-component-library'; import { useNotification } from '../../components/notifications/feed'; -const ContentRevisions = ({ setError, notify }) => { - const { store, setStore } = useContext(AppStore); +const ContentRevisions = ( { setError, notify } ) => { + const { store, setStore } = useContext( AppStore ); const [ contentRevisions, setNumContentRevisions ] = useState( store.contentRevisions ); const contentRevisionsNoticeTitle = () => { - return ( - __('Post revision setting saved ', 'wp-plugin-hostgator') - ); + return __( 'Post revision setting saved ', 'wp-plugin-hostgator' ); }; const contentRevisionsNoticeText = () => { return ( - __('Posts will save ', 'wp-plugin-hostgator') + + __( 'Posts will save ', 'wp-plugin-hostgator' ) + contentRevisions + - _n(' revision.', ' revisions.', parseInt(contentRevisions), 'wp-plugin-hostgator') + _n( + ' revision.', + ' revisions.', + parseInt( contentRevisions ), + 'wp-plugin-hostgator' + ) ); }; const contentRevisionsDescriptionText = () => { return ( - __('Saving drafts and updating published content creates revisions. Make changes with confidence, knowing you can take ', 'wp-plugin-hostgator') + + __( + 'Saving drafts and updating published content creates revisions. Make changes with confidence, knowing you can take ', + 'wp-plugin-hostgator' + ) + contentRevisions + - _n(' step back.', ' steps back.', parseInt(contentRevisions), 'wp-plugin-hostgator') + _n( + ' step back.', + ' steps back.', + parseInt( contentRevisions ), + 'wp-plugin-hostgator' + ) ); }; - const handleContentRevisionsChange = (value) => { - hostgatorSettingsApiFetch({ contentRevisions: value }, setError, (response) => { - setNumContentRevisions(value); - }); + const handleContentRevisionsChange = ( value ) => { + hostgatorSettingsApiFetch( + { contentRevisions: value }, + setError, + ( response ) => { + setNumContentRevisions( value ); + } + ); }; const notifySuccess = () => { - notify.push("content-revision-notice", { + notify.push( 'content-revision-notice', { title: contentRevisionsNoticeTitle(), - description: ( - - {contentRevisionsNoticeText()} - - ), - variant: "success", + description: { contentRevisionsNoticeText() }, + variant: 'success', autoDismiss: 5000, - }); + } ); }; - useUpdateEffect(() => { - setStore({ + useUpdateEffect( () => { + setStore( { ...store, contentRevisions, - }); + } ); notifySuccess(); - }, [contentRevisions]); + }, [ contentRevisions ] ); return ( ); -} +}; -const EmptyTrash = ({ setError, notify }) => { - const { store, setStore } = useContext(AppStore); +const EmptyTrash = ( { setError, notify } ) => { + const { store, setStore } = useContext( AppStore ); const [ emptyTrashDays, setNumEmptyTrashDays ] = useState( store.emptyTrashDays ); let numTrashWeeks = Math.floor( emptyTrashDays / 7 ); const emptyTrashNoticeTitle = () => { - return ( - __('Trash setting saved ', 'wp-plugin-hostgator') - ); + return __( 'Trash setting saved ', 'wp-plugin-hostgator' ); }; const emptyTrashNoticeText = () => { return ( - __('The trash will automatically empty every ', 'wp-plugin-hostgator') + + __( + 'The trash will automatically empty every ', + 'wp-plugin-hostgator' + ) + numTrashWeeks + - _n( ' week.', ' weeks.', parseInt(numTrashWeeks), 'wp-plugin-hostgator' ) + _n( + ' week.', + ' weeks.', + parseInt( numTrashWeeks ), + 'wp-plugin-hostgator' + ) ); }; - const handleEmptyTrashDaysChange = (value) => { - hostgatorSettingsApiFetch({ emptyTrashDays: value }, setError, (response) => { - setNumEmptyTrashDays(value); - }); + const handleEmptyTrashDaysChange = ( value ) => { + hostgatorSettingsApiFetch( + { emptyTrashDays: value }, + setError, + ( response ) => { + setNumEmptyTrashDays( value ); + } + ); }; const notifySuccess = () => { - notify.push("empty-trash-notice", { + notify.push( 'empty-trash-notice', { title: emptyTrashNoticeTitle(), - description: ( - - {emptyTrashNoticeText()} - - ), - variant: "success", + description: { emptyTrashNoticeText() }, + variant: 'success', autoDismiss: 5000, - }); + } ); }; - useUpdateEffect(() => { - setStore({ + useUpdateEffect( () => { + setStore( { ...store, emptyTrashDays, - }); + } ); numTrashWeeks = Math.floor( emptyTrashDays / 7 ); notifySuccess(); - }, [emptyTrashDays]); + }, [ emptyTrashDays ] ); return ( ); -} +}; const ContentSettings = () => { - const [isError, setError] = useState(false); + const [ isError, setError ] = useState( false ); - let notify = useNotification(); + const notify = useNotification(); return (
    - - - - {isError && + + + + { isError && ( - {__('Oops! Something went wrong. Please try again.', 'wp-plugin-hostgator')} + { __( + 'Oops! Something went wrong. Please try again.', + 'wp-plugin-hostgator' + ) } - } + ) }
    ); -} +}; -export default ContentSettings; \ No newline at end of file +export default ContentSettings; diff --git a/src/app/pages/settings/index.js b/src/app/pages/settings/index.js index 8c38fc9d..df474659 100644 --- a/src/app/pages/settings/index.js +++ b/src/app/pages/settings/index.js @@ -6,33 +6,44 @@ import ContentSettings from './contentSettings'; const Settings = () => { return ( - - + + - + - + - + - + - ); }; -export default Settings; \ No newline at end of file +export default Settings; diff --git a/src/app/pages/staging/index.js b/src/app/pages/staging/index.js index 28a2cc55..795e2e45 100644 --- a/src/app/pages/staging/index.js +++ b/src/app/pages/staging/index.js @@ -2,84 +2,144 @@ import './stylesheet.scss'; import { useState, useEffect } from '@wordpress/element'; import apiFetch from '@wordpress/api-fetch'; import classnames from 'classnames'; -import { NewfoldRuntime } from "@newfold-labs/wp-module-runtime"; +import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime'; import { useNotification } from '../../components/notifications/feed'; // component sourced from staging module import { default as NewfoldStaging } from '../../../../vendor/newfold-labs/wp-module-staging/components/staging/'; const Staging = () => { - - // constants to pass to module - const moduleConstants = { - 'text': { - 'cancel': __('Cancel', 'wp-plugin-hostgator'), - 'clone': __('Clone', 'wp-plugin-hostgator'), - 'cloneConfirm': __('Confirm Clone Action', 'wp-plugin-hostgator'), - 'cloneDescription': __('This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?', 'wp-plugin-hostgator'), - 'cloneNoticeCompleteText': __('Cloned to Staging', 'wp-plugin-hostgator'), - 'cloneNoticeStartText': __('Cloning production to staging, this should take about a minute.', 'wp-plugin-hostgator'), - 'cloneStagingSite': __('Clone to staging', 'wp-plugin-hostgator'), - 'created': __('Created', 'wp-plugin-hostgator'), - 'createNoticeCompleteText': __('Staging Created', 'wp-plugin-hostgator'), - 'createNoticeStartText': __('Creating a staging site, this should take about a minute.', 'wp-plugin-hostgator'), - 'createStagingSite': __('Create staging site', 'wp-plugin-hostgator'), - 'currentlyEditing': __('Currently editing', 'wp-plugin-hostgator'), - 'delete': __('Delete', 'wp-plugin-hostgator'), - 'deleteConfirm': __('Confirm Delete', 'wp-plugin-hostgator'), - 'deleteDescription': __('This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you\'ve made to this staging site will be lost.', 'wp-plugin-hostgator'), - 'deleteNoticeCompleteText': __('Deleted Staging', 'wp-plugin-hostgator'), - 'deleteNoticeStartText': __('Deleting the staging site, this should take about a minute.', 'wp-plugin-hostgator'), - 'deleteSite': __('Delete Staging Site', 'wp-plugin-hostgator'), - 'deploy': __('Deploy', 'wp-plugin-hostgator'), - 'deployAll': __('Deploy all changes', 'wp-plugin-hostgator'), - 'deployConfirm': __('Confirm Deployment', 'wp-plugin-hostgator'), - 'deployDatabase': __('Deploy database only', 'wp-plugin-hostgator'), - 'deployDescription': __('This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?', 'wp-plugin-hostgator'), - 'deployFiles': __('Deploy files only', 'wp-plugin-hostgator'), - 'deployNoticeCompleteText': __('Deployed', 'wp-plugin-hostgator'), - 'deployNoticeStartText': __('Deploying from staging to production, this should take about a minute.', 'wp-plugin-hostgator'), - 'deploySite': __('Deploy Site', 'wp-plugin-hostgator'), - 'error': __('Error', 'wp-plugin-hostgator'), - 'noStagingSite': "You don't have a staging site yet.", - 'notCurrentlyEditing': __('Not currently editing', 'wp-plugin-hostgator'), - 'proceed': __('Proceed', 'wp-plugin-hostgator'), - 'productionSiteTitle': __('Production Site', 'wp-plugin-hostgator'), - 'stagingSiteTitle': __('Staging Site', 'wp-plugin-hostgator'), - 'subTitle': __('A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready.', 'wp-plugin-hostgator'), - 'switch': __('Switch', 'wp-plugin-hostgator'), - 'switching': __('Switching', 'wp-plugin-hostgator'), - 'switchToProduction': __('Switch to Production', 'wp-plugin-hostgator'), - 'switchToProductionDescription': __('This will navigate you to the production environment', 'wp-plugin-hostgator'), - 'switchToProductionNoticeCompleteText': __('Loading the production environment now.', 'wp-plugin-hostgator'), - 'switchToProductionNoticeStartText': __('Switching to the production environment, this should take about a minute.', 'wp-plugin-hostgator'), - 'switchToStaging': __('Switch to Staging', 'wp-plugin-hostgator'), - 'switchToStagingDescription': __('This will navigate you to the staging environment', 'wp-plugin-hostgator'), - 'switchToStagingNoticeCompleteText': __('Loading the staging environment now.', 'wp-plugin-hostgator'), - 'switchToStagingNoticeStartText': __('Switching to the staging environment, this should take about a minute.', 'wp-plugin-hostgator'), - 'title': __('Staging', 'wp-plugin-hostgator'), - 'unknownErrorMessage': __('An unknown error has occurred.', 'wp-plugin-hostgator'), - 'working': __('Working...', 'wp-plugin-hostgator'), - } + // constants to pass to module + const moduleConstants = { + text: { + cancel: __( 'Cancel', 'wp-plugin-hostgator' ), + clone: __( 'Clone', 'wp-plugin-hostgator' ), + cloneConfirm: __( 'Confirm Clone Action', 'wp-plugin-hostgator' ), + cloneDescription: __( + 'This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?', + 'wp-plugin-hostgator' + ), + cloneNoticeCompleteText: __( + 'Cloned to Staging', + 'wp-plugin-hostgator' + ), + cloneNoticeStartText: __( + 'Cloning production to staging, this should take about a minute.', + 'wp-plugin-hostgator' + ), + cloneStagingSite: __( 'Clone to staging', 'wp-plugin-hostgator' ), + created: __( 'Created', 'wp-plugin-hostgator' ), + createNoticeCompleteText: __( + 'Staging Created', + 'wp-plugin-hostgator' + ), + createNoticeStartText: __( + 'Creating a staging site, this should take about a minute.', + 'wp-plugin-hostgator' + ), + createStagingSite: __( + 'Create staging site', + 'wp-plugin-hostgator' + ), + currentlyEditing: __( 'Currently editing', 'wp-plugin-hostgator' ), + delete: __( 'Delete', 'wp-plugin-hostgator' ), + deleteConfirm: __( 'Confirm Delete', 'wp-plugin-hostgator' ), + deleteDescription: __( + "This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you've made to this staging site will be lost.", + 'wp-plugin-hostgator' + ), + deleteNoticeCompleteText: __( + 'Deleted Staging', + 'wp-plugin-hostgator' + ), + deleteNoticeStartText: __( + 'Deleting the staging site, this should take about a minute.', + 'wp-plugin-hostgator' + ), + deleteSite: __( 'Delete Staging Site', 'wp-plugin-hostgator' ), + deploy: __( 'Deploy', 'wp-plugin-hostgator' ), + deployAll: __( 'Deploy all changes', 'wp-plugin-hostgator' ), + deployConfirm: __( 'Confirm Deployment', 'wp-plugin-hostgator' ), + deployDatabase: __( 'Deploy database only', 'wp-plugin-hostgator' ), + deployDescription: __( + 'This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?', + 'wp-plugin-hostgator' + ), + deployFiles: __( 'Deploy files only', 'wp-plugin-hostgator' ), + deployNoticeCompleteText: __( 'Deployed', 'wp-plugin-hostgator' ), + deployNoticeStartText: __( + 'Deploying from staging to production, this should take about a minute.', + 'wp-plugin-hostgator' + ), + deploySite: __( 'Deploy Site', 'wp-plugin-hostgator' ), + error: __( 'Error', 'wp-plugin-hostgator' ), + noStagingSite: "You don't have a staging site yet.", + notCurrentlyEditing: __( + 'Not currently editing', + 'wp-plugin-hostgator' + ), + proceed: __( 'Proceed', 'wp-plugin-hostgator' ), + productionSiteTitle: __( 'Production Site', 'wp-plugin-hostgator' ), + stagingSiteTitle: __( 'Staging Site', 'wp-plugin-hostgator' ), + subTitle: __( + 'A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready.', + 'wp-plugin-hostgator' + ), + switch: __( 'Switch', 'wp-plugin-hostgator' ), + switching: __( 'Switching', 'wp-plugin-hostgator' ), + switchToProduction: __( + 'Switch to Production', + 'wp-plugin-hostgator' + ), + switchToProductionDescription: __( + 'This will navigate you to the production environment', + 'wp-plugin-hostgator' + ), + switchToProductionNoticeCompleteText: __( + 'Loading the production environment now.', + 'wp-plugin-hostgator' + ), + switchToProductionNoticeStartText: __( + 'Switching to the production environment, this should take about a minute.', + 'wp-plugin-hostgator' + ), + switchToStaging: __( 'Switch to Staging', 'wp-plugin-hostgator' ), + switchToStagingDescription: __( + 'This will navigate you to the staging environment', + 'wp-plugin-hostgator' + ), + switchToStagingNoticeCompleteText: __( + 'Loading the staging environment now.', + 'wp-plugin-hostgator' + ), + switchToStagingNoticeStartText: __( + 'Switching to the staging environment, this should take about a minute.', + 'wp-plugin-hostgator' + ), + title: __( 'Staging', 'wp-plugin-hostgator' ), + unknownErrorMessage: __( + 'An unknown error has occurred.', + 'wp-plugin-hostgator' + ), + working: __( 'Working…', 'wp-plugin-hostgator' ), + }, }; - // methods to pass to module - const moduleMethods = { - apiFetch, - classnames, - useState, - useEffect, - NewfoldRuntime, - useNotification, - }; - - return ( - - + // methods to pass to module + const moduleMethods = { + apiFetch, + classnames, + useState, + useEffect, + NewfoldRuntime, + useNotification, + }; - ); -} + return ( + + ); +}; -export default Staging; \ No newline at end of file +export default Staging; diff --git a/src/app/util/helpers.js b/src/app/util/helpers.js index e220606b..652cfa56 100644 --- a/src/app/util/helpers.js +++ b/src/app/util/helpers.js @@ -1,7 +1,7 @@ import { addQueryArgs } from '@wordpress/url'; import { dispatch } from '@wordpress/data'; import apiFetch from '@wordpress/api-fetch'; -import { NewfoldRuntime } from "@newfold-labs/wp-module-runtime"; +import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime'; import region from '../data/region'; let lastNoticeId; @@ -9,72 +9,77 @@ let lastNoticeId; /** * Wrapper method to dispatch snackbar notice * - * @param string text text for notice - * @param text + * @param string text text for notice + * @param text */ -export const dispatchUpdateSnackbar = (text = 'Settings Saved') => { +export const dispatchUpdateSnackbar = ( text = 'Settings Saved' ) => { //clear previous notice so they don't stack up when quickly saving multiple settings - dispatch('core/notices').removeNotice(lastNoticeId); + dispatch( 'core/notices' ).removeNotice( lastNoticeId ); //make new - dispatch('core/notices') - .createNotice('info', text, { + dispatch( 'core/notices' ) + .createNotice( 'info', text, { type: 'snackbar', isDismissible: true, - }) - .then((result) => { + } ) + .then( ( result ) => { // save as notice to dismiss later lastNoticeId = result.notice.id; - }); + } ); }; /** * Wrapper method to post setting to hostgator endpoint * - * @param {*} data object of data - * @param passError setter for the error in component - * @param thenCallback method to call in promise then + * @param {*} data object of data + * @param passError setter for the error in component + * @param thenCallback method to call in promise then * @return apiFetch promise */ -export const hostgatorSettingsApiFetch = (data, passError, thenCallback) => { - return apiFetch({ +export const hostgatorSettingsApiFetch = ( data, passError, thenCallback ) => { + return apiFetch( { url: NewfoldRuntime.createApiUrl( '/hostgator/v1/settings' ), method: 'POST', data, - }) - .then((response) => { - thenCallback(response); - }) - .catch((error) => { - passError(error); - }); + } ) + .then( ( response ) => { + thenCallback( response ); + } ) + .catch( ( error ) => { + passError( error ); + } ); }; /** * Wrapper method to post request to hostgator cache endpoint * - * @param {*} data object of data - * @param passError setter for the error in component - * @param thenCallback method to call in promise then + * @param {*} data object of data + * @param passError setter for the error in component + * @param thenCallback method to call in promise then * @return apiFetch promise */ -export const hostgatorPurgeCacheApiFetch = (data, passError, thenCallback) => { - return apiFetch({ +export const hostgatorPurgeCacheApiFetch = ( + data, + passError, + thenCallback +) => { + return apiFetch( { url: NewfoldRuntime.createApiUrl( '/hostgator/v1/caching' ), method: 'DELETE', data, - }) - .then((response) => { - thenCallback(response); - }) - .catch((error) => { - console.log(error); - passError(error); - }); + } ) + .then( ( response ) => { + thenCallback( response ); + } ) + .catch( ( error ) => { + console.log( error ); + passError( error ); + } ); }; /** * Coming soon admin bar + * @param comingSoon */ export const comingSoonAdminbarToggle = ( comingSoon ) => { window.NewfoldRuntime.comingSoon.toggleAdminBarSiteStatus( comingSoon ); @@ -82,14 +87,14 @@ export const comingSoonAdminbarToggle = ( comingSoon ) => { /** * Get the current region value - * @returns string - 2 char country code for region - or empty string for default region + * @return string - 2 char country code for region - or empty string for default region */ export const getRegionValue = () => { - const brand = NewfoldRuntime.sdk.plugin.brand; - const region = NewfoldRuntime.sdk.plugin.region.toUpperCase(); + const brand = NewfoldRuntime.sdk.plugin.brand; + const region = NewfoldRuntime.sdk.plugin.region.toUpperCase(); // bail if not hostgator-latam brand - if ( brand !== 'hostgator-latam' ){ + if ( brand !== 'hostgator-latam' ) { return ''; } // qualify region setting and return region code @@ -109,49 +114,46 @@ export const getRegionValue = () => { /** * Get region specific link value - * - * @param {*} link_name - name for link in regions object - * @param {*} region_code - region code for reference - * @returns region specific href value for specified link or default + * + * @param {*} link_name - name for link in regions object + * @param {*} region_code - region code for reference + * @param link_text + * @return region specific href value for specified link or default */ -export const getLinkPerRegion = (link_name = 'main', link_text) => { - let region_code = getRegionValue(); +export const getLinkPerRegion = ( link_name = 'main', link_text ) => { + const region_code = getRegionValue(); // ensure there's a link value match - if ( region[link_name] && region[link_name][region_code] ) { + if ( region[ link_name ] && region[ link_name ][ region_code ] ) { // automatically add utm params - return addUtmParams( region[link_name][region_code], { - utm_term: link_text, - utm_content: link_name - }); - } else { - // if no match return default and automatically add utm params - return addUtmParams( region[link_name]['default'], { + return addUtmParams( region[ link_name ][ region_code ], { utm_term: link_text, - utm_content: link_name - }); + utm_content: link_name, + } ); } - + // if no match return default and automatically add utm params + return addUtmParams( region[ link_name ].default, { + utm_term: link_text, + utm_content: link_name, + } ); }; /** * Supports or can get region specific link value - * - * @param {*} link_name - name for link in regions object - * @param {*} region_code - region code for reference - * @returns boolean value of whether the region link is present or missing, or is false + * + * @param {*} link_name - name for link in regions object + * @param {*} region_code - region code for reference + * @return boolean value of whether the region link is present or missing, or is false */ -export const supportsLinkPerRegion = (link_name = 'main') => { - let region_code = getRegionValue(); +export const supportsLinkPerRegion = ( link_name = 'main' ) => { + const region_code = getRegionValue(); // ensure there's a link value to check - if ( region[link_name] && region[link_name][region_code] ) { + if ( region[ link_name ] && region[ link_name ][ region_code ] ) { // if value exists return true - unless value itself is false, then return false - return region[link_name][region_code] !== 'false'; - } else { - // if no match, we'll return default - return true; + return region[ link_name ][ region_code ] !== 'false'; } - + // if no match, we'll return default + return true; }; /** @@ -161,15 +163,15 @@ export const supportsLinkPerRegion = (link_name = 'main') => { * The utm_content, if passed, should be the unique identifier for the link. * The utm_campaign is optional and reserved for special occasions. * - * @param {string} url The original URL. + * @param {string} url The original URL. * @param {Object} params The URL parameters to add. * * @return {string} The new URL. */ - export const addUtmParams = (url, params = {}) => { +export const addUtmParams = ( url, params = {} ) => { params.utm_source = `wp-admin/admin.php?page=hostgator${ window.location.hash }`; params.utm_medium = 'hostgator_plugin'; - return addQueryArgs(url, params); + return addQueryArgs( url, params ); }; /** @@ -195,7 +197,7 @@ export const handleHelpLinksClick = () => { } // if on help page already, open help center - if( window.location.hash === '#/help') { + if ( window.location.hash === '#/help' ) { window.newfoldEmbeddedHelp.toggleNFDLaunchedEmbeddedHelp(); } } diff --git a/src/index.js b/src/index.js index 1091c979..779fff0d 100644 --- a/src/index.js +++ b/src/index.js @@ -3,7 +3,7 @@ import './webpack-public-path'; import App from './app'; import domReady from '@wordpress/dom-ready'; -import {createRoot, render} from '@wordpress/element'; +import { createRoot, render } from '@wordpress/element'; const WP_ADM_PAGE_ROOT_ELEMENT = 'hwa-app'; const HG_ASCI = ` @@ -41,18 +41,18 @@ const HG_ASCI = ` .((((((((((((,,,,,,,,,,,,,,, Welcome to HostGator! `; -console.log(HG_ASCI); +console.log( HG_ASCI ); const HGWPRender = () => { const DOM_ELEMENT = document.getElementById( WP_ADM_PAGE_ROOT_ELEMENT ); - if (null !== DOM_ELEMENT) { - if ('undefined' !== typeof createRoot) { - // WP 6.2+ only - createRoot(DOM_ELEMENT).render(); - } else if ('undefined' !== typeof render) { - render(, DOM_ELEMENT); - } - } + if ( null !== DOM_ELEMENT ) { + if ( 'undefined' !== typeof createRoot ) { + // WP 6.2+ only + createRoot( DOM_ELEMENT ).render( ); + } else if ( 'undefined' !== typeof render ) { + render( , DOM_ELEMENT ); + } + } }; -domReady( HGWPRender ); \ No newline at end of file +domReady( HGWPRender ); diff --git a/src/webpack-public-path.js b/src/webpack-public-path.js index 122ff2e6..20335831 100644 --- a/src/webpack-public-path.js +++ b/src/webpack-public-path.js @@ -3,7 +3,10 @@ * so that lazy-loading works correctly. This value is set in /includes/Data.php in runtime(). */ export default () => { - if ( 'undefined' !== typeof window.NewfoldRuntime && 'plugin' in window.NewfoldRuntime ) { + if ( + 'undefined' !== typeof window.NewfoldRuntime && + 'plugin' in window.NewfoldRuntime + ) { __webpack_public_path__ = window.NewfoldRuntime.plugin.url; } }; From 620f90061b3575853e2b90a1f6a8f41ee8f12457 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 14 Mar 2024 17:56:44 -0400 Subject: [PATCH 12/36] php lint fix --- bootstrap.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index 63d44e5e..a453e4ea 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -61,18 +61,18 @@ function () { array( 'browser', 'file', 'skip404' ) ); -$website_guide_link = 'https://www.hostgator.com/blog/build-wordpress-website-guide/'; -$migrate_link = 'https://www.hostgator.com/help/article/hostgator-website-migration'; -$hosting_link = 'https://www.hostgator.com/blog/reasons-why-wordpress-website/'; +$website_guide_link = 'https://www.hostgator.com/blog/build-wordpress-website-guide/'; +$migrate_link = 'https://www.hostgator.com/help/article/hostgator-website-migration'; +$hosting_link = 'https://www.hostgator.com/blog/reasons-why-wordpress-website/'; // Set coming soon values $nfd_module_container->set( 'comingsoon', array( - 'admin_app_url' => admin_url( 'admin.php?page=hostgator#/home' ), - 'template_h1' => __( 'A New WordPress Site', 'wp-plugin-hostgator' ), - 'template_h2' => __( 'Coming Soon!', 'wp-plugin-hostgator' ), - 'template_coming_soon_links' => sprintf( + 'admin_app_url' => admin_url( 'admin.php?page=hostgator#/home' ), + 'template_h1' => __( 'A New WordPress Site', 'wp-plugin-hostgator' ), + 'template_h2' => __( 'Coming Soon!', 'wp-plugin-hostgator' ), + 'template_coming_soon_links' => sprintf( esc_html__( ' %1$sHow to build your WordPress Website%2$s %3$sHow to Migrate a Website to Hostgator?%4$s %5$sWhy choose HostGator for your WordPress site?%6$s', 'wp-plugin-bluehost' ) . ' ', '', '
    ', @@ -81,7 +81,7 @@ function () { '', '
    ' ), - 'template_footer_t' => sprintf( + 'template_footer_t' => sprintf( /* translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag */ esc_html__( 'A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s.', 'wp-plugin-hostgator' ) . ' ', '', @@ -91,13 +91,13 @@ function () { '', '' ), - 'template_page_title' => sprintf( + 'template_page_title' => sprintf( /* translators: %s: Blog name */ __( '%s — Coming Soon', 'wp-plugin-hostgator' ), esc_html( get_option( 'blogname' ) ) ), - 'admin_bar_text' => '
    ' . __( 'Coming Soon Active', 'wp-plugin-hostgator' ) . '
    ', - 'admin_notice_text' => sprintf( + 'admin_bar_text' => '
    ' . __( 'Coming Soon Active', 'wp-plugin-hostgator' ) . '
    ', + 'admin_notice_text' => sprintf( /* translators: %1$s is replaced with the opening link tag and %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. */ __( 'Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s.', 'wp-plugin-hostgator' ), '', @@ -105,7 +105,7 @@ function () { '', '' ), - 'template_styles' => esc_url( HOSTGATOR_PLUGIN_URL . 'assets/styles/coming-soon.css' ), + 'template_styles' => esc_url( HOSTGATOR_PLUGIN_URL . 'assets/styles/coming-soon.css' ), ) ); setContainer( $nfd_module_container ); From 1832b140d39f2cafc1eb6e3abd584376dededed5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 22:00:01 +0000 Subject: [PATCH 13/36] Composer Dev(deps-dev): Bump wp-cli/i18n-command from 2.6.0 to 2.6.1 Bumps [wp-cli/i18n-command](https://github.com/wp-cli/i18n-command) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/wp-cli/i18n-command/releases) - [Commits](https://github.com/wp-cli/i18n-command/compare/v2.6.0...2.6.1) --- updated-dependencies: - dependency-name: wp-cli/i18n-command dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/composer.json b/composer.json index 5d756b6c..b101fa69 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ }, "require-dev": { "newfold-labs/wp-php-standards": "^1.2", - "wp-cli/i18n-command": "^2.5.0", + "wp-cli/i18n-command": "^2.6.1", "wp-phpunit/wp-phpunit": "^6.4.2" }, "scripts": { diff --git a/composer.lock b/composer.lock index 3ecb0ae2..aa8d85da 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5e6c432aa09752116f7edec761e08885", + "content-hash": "7bf9febc204ec6d660f2862068273594", "packages": [ { "name": "doctrine/inflector", @@ -1984,16 +1984,16 @@ }, { "name": "mck89/peast", - "version": "v1.16.1", + "version": "v1.16.2", "source": { "type": "git", "url": "https://github.com/mck89/peast.git", - "reference": "f6e681062bb25c8dacbd30e079f4ad3fd890d7ad" + "reference": "2791b08ffcc1862fe18eef85675da3aa58c406fe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mck89/peast/zipball/f6e681062bb25c8dacbd30e079f4ad3fd890d7ad", - "reference": "f6e681062bb25c8dacbd30e079f4ad3fd890d7ad", + "url": "https://api.github.com/repos/mck89/peast/zipball/2791b08ffcc1862fe18eef85675da3aa58c406fe", + "reference": "2791b08ffcc1862fe18eef85675da3aa58c406fe", "shasum": "" }, "require": { @@ -2006,7 +2006,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.16.1-dev" + "dev-master": "1.16.2-dev" } }, "autoload": { @@ -2027,9 +2027,9 @@ "description": "Peast is PHP library that generates AST for JavaScript code", "support": { "issues": "https://github.com/mck89/peast/issues", - "source": "https://github.com/mck89/peast/tree/v1.16.1" + "source": "https://github.com/mck89/peast/tree/v1.16.2" }, - "time": "2024-02-14T08:15:19+00:00" + "time": "2024-03-05T09:16:03+00:00" }, { "name": "newfold-labs/wp-php-standards", @@ -2700,16 +2700,16 @@ }, { "name": "wp-cli/i18n-command", - "version": "v2.6.0", + "version": "2.6.1", "source": { "type": "git", "url": "https://github.com/wp-cli/i18n-command.git", - "reference": "ca7a44a1f8b09d533621b4006e739974212860ee" + "reference": "7538d684d4f06b0e10c8a0166ce4e6d9e1687aa1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/ca7a44a1f8b09d533621b4006e739974212860ee", - "reference": "ca7a44a1f8b09d533621b4006e739974212860ee", + "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/7538d684d4f06b0e10c8a0166ce4e6d9e1687aa1", + "reference": "7538d684d4f06b0e10c8a0166ce4e6d9e1687aa1", "shasum": "" }, "require": { @@ -2763,9 +2763,9 @@ "homepage": "https://github.com/wp-cli/i18n-command", "support": { "issues": "https://github.com/wp-cli/i18n-command/issues", - "source": "https://github.com/wp-cli/i18n-command/tree/v2.6.0" + "source": "https://github.com/wp-cli/i18n-command/tree/2.6.1" }, - "time": "2024-02-01T14:25:11+00:00" + "time": "2024-02-28T11:27:34+00:00" }, { "name": "wp-cli/mustangostang-spyc", From 335b06640c5a1df01ce7d86df086912532ecccf6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 12:47:57 +0000 Subject: [PATCH 14/36] NPM Dev(deps-dev): Bump @wordpress/scripts from 27.3.0 to 27.4.0 Bumps [@wordpress/scripts](https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts) from 27.3.0 to 27.4.0. - [Release notes](https://github.com/WordPress/gutenberg/releases) - [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/scripts/CHANGELOG.md) - [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/scripts@27.4.0/packages/scripts) --- updated-dependencies: - dependency-name: "@wordpress/scripts" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 562 +++++++++++++++++++++++++--------------------- package.json | 2 +- 2 files changed, 312 insertions(+), 252 deletions(-) diff --git a/package-lock.json b/package-lock.json index 464644d1..257b5354 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "@tailwindcss/forms": "^0.5.7", "@testing-library/cypress": "^10.0.1", "@wordpress/env": "^9.2.0", - "@wordpress/scripts": "^27.3.0", + "@wordpress/scripts": "^27.4.0", "cypress": "^13.6.6", "cypress-axe": "1.5.0", "node-wp-i18n": "^1.2.7", @@ -453,9 +453,9 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", + "version": "7.24.0", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz", + "integrity": "sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==", "dev": true, "engines": { "node": ">=6.9.0" @@ -1716,13 +1716,13 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.23.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.9.tgz", - "integrity": "sha512-A7clW3a0aSjm3ONU9o2HAILSegJCYlEZmOhmBRReVtIpY/Z/p7yIZ+wR41Z+UipwdGuqwtID/V/dOdZXjwi9gQ==", + "version": "7.24.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.24.0.tgz", + "integrity": "sha512-zc0GA5IitLKJrSfXlXmp8KDqLrnGECK7YRfQBmEKg1NmBOQ7e+KuclBEKJgzifQeUYLdNiAw4B4bjyvzWVLiSA==", "dev": true, "dependencies": { "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-plugin-utils": "^7.24.0", "babel-plugin-polyfill-corejs2": "^0.4.8", "babel-plugin-polyfill-corejs3": "^0.9.0", "babel-plugin-polyfill-regenerator": "^0.5.5", @@ -5175,9 +5175,9 @@ } }, "node_modules/@wordpress/babel-plugin-import-jsx-pragma": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-plugin-import-jsx-pragma/-/babel-plugin-import-jsx-pragma-4.35.0.tgz", - "integrity": "sha512-vPXtucxv4wvmV17OoCIQ7d8JeFIsN/FcCdDx0lJEukI3aF+zMKV9fr2MZjEi5n3Rgf8j8ekpgLdG2OGp2EWP3Q==", + "version": "4.36.0", + "resolved": "https://registry.npmjs.org/@wordpress/babel-plugin-import-jsx-pragma/-/babel-plugin-import-jsx-pragma-4.36.0.tgz", + "integrity": "sha512-xgBy9HnA0xL5e0Ipku7Ga3QimrfwTQ3njnN79mT8wNcim2APIlyiWSG3GndTdPoSGdrxGPv2ZrpqBdKsiGzoWQ==", "dev": true, "engines": { "node": ">=14" @@ -5187,9 +5187,9 @@ } }, "node_modules/@wordpress/babel-preset-default": { - "version": "7.36.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-7.36.0.tgz", - "integrity": "sha512-nedcc2ldSKkrsEjHc9Tm3X1+7anLOljLTahDXv2uqx4fIQVJoLhfkU/GcrKkncjkubVjkij4ykjA8L8FfkaD2g==", + "version": "7.37.0", + "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-7.37.0.tgz", + "integrity": "sha512-XE9NUIoc428MHP3p6DMNjRV4Df97K9JHkzXwOwJjjHp00ce2ckh4wSkZh287Zi1X+uNcrROERtSp4jjWHUhvHA==", "dev": true, "dependencies": { "@babel/core": "^7.16.0", @@ -5198,9 +5198,9 @@ "@babel/preset-env": "^7.16.0", "@babel/preset-typescript": "^7.16.0", "@babel/runtime": "^7.16.0", - "@wordpress/babel-plugin-import-jsx-pragma": "^4.35.0", - "@wordpress/browserslist-config": "^5.35.0", - "@wordpress/warning": "^2.52.0", + "@wordpress/babel-plugin-import-jsx-pragma": "^4.36.0", + "@wordpress/browserslist-config": "^5.36.0", + "@wordpress/warning": "^2.53.0", "browserslist": "^4.21.10", "core-js": "^3.31.0", "react": "^18.2.0" @@ -5210,15 +5210,15 @@ } }, "node_modules/@wordpress/base-styles": { - "version": "4.43.0", - "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-4.43.0.tgz", - "integrity": "sha512-jo4q47f0Yf52XJuVfW2VGN6D5KTLfU1O3dhM/j4xP4sb9fH/L7SugzXJ0UmtzOJW0X8Rp14eZWy+GNVcPCHofA==", + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-4.44.0.tgz", + "integrity": "sha512-Kgn5WsCmY1GPUhMQaUGSL8MqVUrstjYYel8PjAEo5VmKPICOaMBrip5dwy7zTomX4fj+sdV1NLIJJ6Bqi5zxnw==", "dev": true }, "node_modules/@wordpress/browserslist-config": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-5.35.0.tgz", - "integrity": "sha512-hybMVNdGXvKxN1P9Vc2YBxYJqKM1wA9clsx94qjVh73Q1f47olshmwsqp0whDV0piDBReD0irJsz9jszhd8Z1A==", + "version": "5.36.0", + "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-5.36.0.tgz", + "integrity": "sha512-D4Y+MhZHAW4mDNFxHGacVpZgOmkkL9k5+TuVchC8cVSdpAt0VSkzKsXAumoQuEYUXyio/NMkhnU153FO+ci3cQ==", "dev": true, "engines": { "node": ">=14" @@ -5592,9 +5592,9 @@ } }, "node_modules/@wordpress/dependency-extraction-webpack-plugin": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-5.3.0.tgz", - "integrity": "sha512-UhLiv4by3FLr8+PFOsFDFqpNn8Mdhz4MI1A/CiTYCUVcONtu4qO1w5zAl2tpw39Xh7PVHiaFZPb1iW/wLgSw3A==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-5.4.0.tgz", + "integrity": "sha512-6r1Nsq/yoJSqx35iqXeqjID8GGrN7mISZXWCjbuYLIRRY1FxU+wbenj2BsdUtyUuAv8tAUH79cpgO0poYEDMoQ==", "dev": true, "dependencies": { "json2php": "^0.0.7" @@ -5636,14 +5636,14 @@ } }, "node_modules/@wordpress/e2e-test-utils-playwright": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-0.20.0.tgz", - "integrity": "sha512-wNVXeoeJQl2Xny8K578e6VMBYyHchOLAEO4YETARn5DNmt+6jUjAS3xIB9mpn+nJuaUZujROc38Z3IVD22rbAA==", + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-0.21.0.tgz", + "integrity": "sha512-/tnTaTcjJ4LzmZtsdZCTO77qmj3p2m4+Nmvf2v0iB3/AgRIKazndecfZ9YnY2guos5Kl8QBjVkdzQ9Xc28LOpw==", "dev": true, "dependencies": { - "@wordpress/api-fetch": "^6.49.0", - "@wordpress/keycodes": "^3.52.0", - "@wordpress/url": "^3.53.0", + "@wordpress/api-fetch": "^6.50.0", + "@wordpress/keycodes": "^3.53.0", + "@wordpress/url": "^3.54.0", "change-case": "^4.1.2", "form-data": "^4.0.0", "get-port": "^5.1.1", @@ -5659,36 +5659,36 @@ } }, "node_modules/@wordpress/e2e-test-utils-playwright/node_modules/@wordpress/api-fetch": { - "version": "6.49.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.49.0.tgz", - "integrity": "sha512-bU42wZuZKH6nPz6diHflznXVond9nKzWwn0xOR4KWXd0NRKvDhNobU0lyjLF/JmwNqE8PZF65a8M9agpfROgqQ==", + "version": "6.50.0", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.50.0.tgz", + "integrity": "sha512-a459l9WD58W5UyQkD6c54+4hv2hZzstDSzoJRMOZGSeEfbgN+49vgHLNEVhDHjNsS7Z6X2KeyyR/YoRgtXfloA==", "dev": true, "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.52.0", - "@wordpress/url": "^3.53.0" + "@wordpress/i18n": "^4.53.0", + "@wordpress/url": "^3.54.0" }, "engines": { "node": ">=12" } }, "node_modules/@wordpress/e2e-test-utils-playwright/node_modules/@wordpress/keycodes": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-3.52.0.tgz", - "integrity": "sha512-Qz+hdTtTZCBNgnhWb/pzM7iMfhx+bwo/b0LmTbANU4i4wJBaKQ9Qlkkaek30gZ/qC7rHunTtXoupcJ5NrZZdtg==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-3.53.0.tgz", + "integrity": "sha512-fNmjwZCdKg0EqXUQTJzdLj4sC58vIp8UqRKg+DeHQX4xAjLyTN8/JzMvmxPFF2nv57a1J5FLtOONqdrxaETGYg==", "dev": true, "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.52.0" + "@wordpress/i18n": "^4.53.0" }, "engines": { "node": ">=12" } }, "node_modules/@wordpress/e2e-test-utils-playwright/node_modules/@wordpress/url": { - "version": "3.53.0", - "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.53.0.tgz", - "integrity": "sha512-jMY6frxKQUizZRpFPcLx3hivdSH9Ty+E5CIE26lf0Xd3uKTFE1CS3uY+cuNXY+w9/EZZBKHZK4jq7AEOSR8qUg==", + "version": "3.54.0", + "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.54.0.tgz", + "integrity": "sha512-65/2c3vzzgX4VEd90GG1tbZTN1b10NiqAa2V+a/m0Ak9RoCyAY0MtNNEa4kxCxUyN5ajpgCJCzVJIKDNVj/Fhg==", "dev": true, "dependencies": { "@babel/runtime": "^7.16.0", @@ -5757,16 +5757,16 @@ } }, "node_modules/@wordpress/eslint-plugin": { - "version": "17.9.0", - "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-17.9.0.tgz", - "integrity": "sha512-vPDxa5TwidfU0B3DMxje0Xv2fHT8tY/ar9i305y7oH2ug86RKFo62JZ2lUAA5g+eUCCA+ZV/pLO8lSZo9w3XEQ==", + "version": "17.10.0", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-17.10.0.tgz", + "integrity": "sha512-fMmMzBMR8z7p2yYTMtEEnzoYmdFdv0HdrM2b7s9693fYxtYQv/FaxUKdep6slMiVt/DBoPUmuDGgZsttzOTwng==", "dev": true, "dependencies": { "@babel/eslint-parser": "^7.16.0", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", - "@wordpress/babel-preset-default": "^7.36.0", - "@wordpress/prettier-config": "^3.9.0", + "@wordpress/babel-preset-default": "^7.37.0", + "@wordpress/prettier-config": "^3.10.0", "cosmiconfig": "^7.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.2", @@ -5916,9 +5916,9 @@ } }, "node_modules/@wordpress/jest-console": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-7.23.0.tgz", - "integrity": "sha512-5f2z6Z9WMKu9T3TDQAtpqvPItWRIlUXOlTJXPIYiFktxguhSHU7Q6i8vXKA/lXs6DxNAlxl8n+pRk7S68TSJtQ==", + "version": "7.24.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-7.24.0.tgz", + "integrity": "sha512-mCcoEGrFDN78QMWSXVH3B5RVdwNNzsODA8g6LSbmxKY5T/4xuOgF/Kj6mS0YSrCxyOiDUTW9VgHoQtx2MwS+Qg==", "dev": true, "dependencies": { "@babel/runtime": "^7.16.0", @@ -5932,12 +5932,12 @@ } }, "node_modules/@wordpress/jest-preset-default": { - "version": "11.23.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-11.23.0.tgz", - "integrity": "sha512-murMNev+bT+CuJR++0NcZDFovZiY5Hbnh9aAAZ+BbS+Q6E42eTIO1fONxeN9QuvrYm/8LznMszWxzgGs4Wmtsw==", + "version": "11.24.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-11.24.0.tgz", + "integrity": "sha512-W3y5PYdOwzm1oKdx+8XZoLeXEV4FI/LnYJpcnKxIyQxfPm4cI8WlRMUT6DAyW6nKv67a0FUwoA7XJ9kXH1pASA==", "dev": true, "dependencies": { - "@wordpress/jest-console": "^7.23.0", + "@wordpress/jest-console": "^7.24.0", "babel-jest": "^29.6.2" }, "engines": { @@ -5976,9 +5976,9 @@ } }, "node_modules/@wordpress/npm-package-json-lint-config": { - "version": "4.37.0", - "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-4.37.0.tgz", - "integrity": "sha512-a0+oP4y/9TgPCzhaVXrhNKPfvZ+eHAZKlid5gvveM9A4HYVdeaw8m7eyH7CxBUJdG/GjOPvtw//KMqu+ijxbIg==", + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-4.38.0.tgz", + "integrity": "sha512-RT5dDPaHiPNzVTcLV6HTHArRBPzAhQPMKZi2BX16rrlYLwcr9TNMVJQ787RXxLmkr83BvudZqsHF4va06FwVLQ==", "dev": true, "engines": { "node": ">=14" @@ -5988,12 +5988,12 @@ } }, "node_modules/@wordpress/postcss-plugins-preset": { - "version": "4.36.0", - "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-4.36.0.tgz", - "integrity": "sha512-J4wOnzrI1MZpzVoLQbMn0539B7vuAiEkUOeZ28VnKsb9WSYQ+hTKkfco0gz76WtE0p5oquy22vRVilslckRL2g==", + "version": "4.37.0", + "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-4.37.0.tgz", + "integrity": "sha512-9k0OFThyn73hmZ0NRWtrYDEHk8BHwzMLrovqtt9fsBQRQviz4kjLOFkGvSQmvFPbnaMK1ZG5WOhV8/RkKK8tig==", "dev": true, "dependencies": { - "@wordpress/base-styles": "^4.43.0", + "@wordpress/base-styles": "^4.44.0", "autoprefixer": "^10.2.5" }, "engines": { @@ -6004,9 +6004,9 @@ } }, "node_modules/@wordpress/prettier-config": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-3.9.0.tgz", - "integrity": "sha512-CUCAZAAFDYgE6JG6x8U/kJ94tMyKkeRyNNcbPHK/R4oR+9T1bTbT2rWVQ9VFC2M6yNEP7uwZU9ufdYcSn5bq7g==", + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-3.10.0.tgz", + "integrity": "sha512-0zA3K1zDyRjUhTY+zKfBvQMKqEbYK/hC3NOabEWZ++pvT5JYJrD7ZVXE+l5TDVd/d2rqxM0eLssh/yIyWyaeSQ==", "dev": true, "engines": { "node": ">=14" @@ -6237,24 +6237,24 @@ } }, "node_modules/@wordpress/scripts": { - "version": "27.3.0", - "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-27.3.0.tgz", - "integrity": "sha512-PMIFMsjsEpXfgioc1413z7TTD+pq5F9nOoV1Ygvhv/aDImgfeYmMW9VNytETDsUtJ6yRWBi+TWREW9tChbfPhw==", + "version": "27.4.0", + "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-27.4.0.tgz", + "integrity": "sha512-DAX1n/nWtOH77jeHxUFrDiqXGc5OVsDeynyvJOxMMMdi1otN/iO6MkFOg0ExzRXgV4/+8DVpN1RWgeuXLzrBGw==", "dev": true, "dependencies": { "@babel/core": "^7.16.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", "@svgr/webpack": "^8.0.1", - "@wordpress/babel-preset-default": "^7.36.0", - "@wordpress/browserslist-config": "^5.35.0", - "@wordpress/dependency-extraction-webpack-plugin": "^5.3.0", - "@wordpress/e2e-test-utils-playwright": "^0.20.0", - "@wordpress/eslint-plugin": "^17.9.0", - "@wordpress/jest-preset-default": "^11.23.0", - "@wordpress/npm-package-json-lint-config": "^4.37.0", - "@wordpress/postcss-plugins-preset": "^4.36.0", - "@wordpress/prettier-config": "^3.9.0", - "@wordpress/stylelint-config": "^21.35.0", + "@wordpress/babel-preset-default": "^7.37.0", + "@wordpress/browserslist-config": "^5.36.0", + "@wordpress/dependency-extraction-webpack-plugin": "^5.4.0", + "@wordpress/e2e-test-utils-playwright": "^0.21.0", + "@wordpress/eslint-plugin": "^17.10.0", + "@wordpress/jest-preset-default": "^11.24.0", + "@wordpress/npm-package-json-lint-config": "^4.38.0", + "@wordpress/postcss-plugins-preset": "^4.37.0", + "@wordpress/prettier-config": "^3.10.0", + "@wordpress/stylelint-config": "^21.36.0", "adm-zip": "^0.5.9", "babel-jest": "^29.6.2", "babel-loader": "^8.2.3", @@ -6315,9 +6315,9 @@ } }, "node_modules/@wordpress/stylelint-config": { - "version": "21.35.0", - "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-21.35.0.tgz", - "integrity": "sha512-/nsiyxEQUqicwVW/LYBFW3fmkzmbbtUSNpWYRGxPuEmBP0NG7BFmjWGt37k1gm0m0JX55KIQzxbU0o56wBRD8w==", + "version": "21.36.0", + "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-21.36.0.tgz", + "integrity": "sha512-P2Bg+Aq0jKR76wmFaNY1a4iInP/+z5+QauPD+StoHksWKvfjkYpqZ3dDLaGHucFDFF6I4UAgsDO8Avt7Q1Tl0w==", "dev": true, "dependencies": { "stylelint-config-recommended": "^6.0.0", @@ -6366,9 +6366,9 @@ } }, "node_modules/@wordpress/warning": { - "version": "2.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-2.52.0.tgz", - "integrity": "sha512-dmPSi6h/DeAwSOeD3NQKeFnileyNNhI4QecIiRZ79Tk1QIcz90wOQR7BAbZcpzJdN6Q30bc98Vfhtj8w0xpfOQ==", + "version": "2.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-2.53.0.tgz", + "integrity": "sha512-53O09aUJgEuGcCVTHQcxvqjeU79rHF6fw9VSZwv6lYfZTwwtxwMHGPF6hUp12NeR+bqYGsUz2Ls6gzSHaAE2Zw==", "dev": true, "engines": { "node": ">=12" @@ -6826,6 +6826,25 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/array.prototype.findlast": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.4.tgz", + "integrity": "sha512-BMtLxpV+8BD+6ZPFIWmnUBpQoy+A+ujcg4rhp2iwCRJYA7PEh2MS4NL3lz8EiDlLrJPp2hg9qWihr5pd//jcGw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.3.0", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/array.prototype.findlastindex": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.4.tgz", @@ -6880,6 +6899,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/array.prototype.toreversed": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/array.prototype.toreversed/-/array.prototype.toreversed-1.1.2.tgz", + "integrity": "sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + } + }, "node_modules/array.prototype.tosorted": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.3.tgz", @@ -6999,9 +7030,9 @@ } }, "node_modules/autoprefixer": { - "version": "10.4.17", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.17.tgz", - "integrity": "sha512-/cpVNRLSfhOtcGflT13P2794gVSgmPgTR+erw5ifnMLZb0UnSlkK4tquLmkd3BhA+nLo5tX8Cu0upUsGKvKbmg==", + "version": "10.4.18", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.18.tgz", + "integrity": "sha512-1DKbDfsr6KUElM6wg+0zRNkB/Q7WcKYAaK+pzXn+Xqmszm/5Xa9coeNdtP88Vi+dPzZnMjhge8GIV49ZQkDa+g==", "dev": true, "funding": [ { @@ -7018,8 +7049,8 @@ } ], "dependencies": { - "browserslist": "^4.22.2", - "caniuse-lite": "^1.0.30001578", + "browserslist": "^4.23.0", + "caniuse-lite": "^1.0.30001591", "fraction.js": "^4.3.7", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", @@ -7388,9 +7419,9 @@ "dev": true }, "node_modules/bare-events": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.2.0.tgz", - "integrity": "sha512-Yyyqff4PIFfSuthCZqLlPISTWHmnQxoPuAvkmgzsJEmG3CesdIv6Xweayl0JkCZJSB2yYIdJyEz97tpxNhgjbg==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.2.1.tgz", + "integrity": "sha512-9GYPpsPFvrWBkelIhOhTWtkeZxVxZOdb3VnFTCzlOo3OjvmTvzLoZFUT8kNFACx0vJej6QPney1Cf9BvzCNE/A==", "dev": true, "optional": true }, @@ -7414,9 +7445,9 @@ ] }, "node_modules/basic-ftp": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.4.tgz", - "integrity": "sha512-8PzkB0arJFV4jJWSGOYR+OEic6aeKMu/osRhBULN6RY0ykby6LKhbmuQ5ublvaas5BOwboah5D87nrHyuh8PPA==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", + "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", "dev": true, "engines": { "node": ">=10.0.0" @@ -7618,9 +7649,9 @@ "integrity": "sha512-Tfn5JSE7hrUlFcOoaLzVvkbgIemIorMIyoMr3TgvszWW7jFt2C9PdeMLtysYD9RU0MmU17b69+XJG1eRY2OBRg==" }, "node_modules/browserslist": { - "version": "4.22.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.3.tgz", - "integrity": "sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==", + "version": "4.23.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", + "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", "dev": true, "funding": [ { @@ -7637,8 +7668,8 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001580", - "electron-to-chromium": "^1.4.648", + "caniuse-lite": "^1.0.30001587", + "electron-to-chromium": "^1.4.668", "node-releases": "^2.0.14", "update-browserslist-db": "^1.0.13" }, @@ -7866,9 +7897,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001581", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001581.tgz", - "integrity": "sha512-whlTkwhqV2tUmP3oYhtNfaWGYHDdS3JYFQBKXxcUR9qqPWsRhFHhoISO2Xnl/g0xyKzht9mI1LZpiNWfMzHixQ==", + "version": "1.0.30001597", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001597.tgz", + "integrity": "sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==", "dev": true, "funding": [ { @@ -10034,9 +10065,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.649", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.649.tgz", - "integrity": "sha512-dq/owIaALxZGqWm5RXpKQ4baX6aDC19e2Z16c8SXYN+I71PyEKjbVqQUgm7kcuk8CRqljTKXbolo0XXDjxnh2w==", + "version": "1.4.707", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.707.tgz", + "integrity": "sha512-qRq74Mo7ChePOU6GHdfAJ0NREXU8vQTlVlfWz3wNygFay6xrd/fY2J7oGHwrhFeU30OVctGLdTh/FcnokTWpng==", "dev": true }, "node_modules/emittery": { @@ -10473,9 +10504,9 @@ } }, "node_modules/eslint-module-utils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz", - "integrity": "sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz", + "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==", "dev": true, "dependencies": { "debug": "^3.2.7" @@ -10826,27 +10857,29 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.33.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.33.2.tgz", - "integrity": "sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==", + "version": "7.34.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.34.0.tgz", + "integrity": "sha512-MeVXdReleBTdkz/bvcQMSnCXGi+c9kvy51IpinjnJgutl3YTHWsDdke7Z1ufZpGfDG8xduBDKyjtB9JH1eBKIQ==", "dev": true, "dependencies": { - "array-includes": "^3.1.6", - "array.prototype.flatmap": "^1.3.1", - "array.prototype.tosorted": "^1.1.1", + "array-includes": "^3.1.7", + "array.prototype.findlast": "^1.2.4", + "array.prototype.flatmap": "^1.3.2", + "array.prototype.toreversed": "^1.1.2", + "array.prototype.tosorted": "^1.1.3", "doctrine": "^2.1.0", - "es-iterator-helpers": "^1.0.12", + "es-iterator-helpers": "^1.0.17", "estraverse": "^5.3.0", "jsx-ast-utils": "^2.4.1 || ^3.0.0", "minimatch": "^3.1.2", - "object.entries": "^1.1.6", - "object.fromentries": "^2.0.6", - "object.hasown": "^1.1.2", - "object.values": "^1.1.6", + "object.entries": "^1.1.7", + "object.fromentries": "^2.0.7", + "object.hasown": "^1.1.3", + "object.values": "^1.1.7", "prop-types": "^15.8.1", - "resolve": "^2.0.0-next.4", + "resolve": "^2.0.0-next.5", "semver": "^6.3.1", - "string.prototype.matchall": "^4.0.8" + "string.prototype.matchall": "^4.0.10" }, "engines": { "node": ">=4" @@ -21481,9 +21514,9 @@ } }, "node_modules/ts-api-utils": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.1.tgz", - "integrity": "sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", "dev": true, "engines": { "node": ">=16" @@ -23227,9 +23260,9 @@ } }, "@babel/helper-plugin-utils": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", + "version": "7.24.0", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz", + "integrity": "sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==", "dev": true }, "@babel/helper-remap-async-to-generator": { @@ -24057,13 +24090,13 @@ } }, "@babel/plugin-transform-runtime": { - "version": "7.23.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.9.tgz", - "integrity": "sha512-A7clW3a0aSjm3ONU9o2HAILSegJCYlEZmOhmBRReVtIpY/Z/p7yIZ+wR41Z+UipwdGuqwtID/V/dOdZXjwi9gQ==", + "version": "7.24.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.24.0.tgz", + "integrity": "sha512-zc0GA5IitLKJrSfXlXmp8KDqLrnGECK7YRfQBmEKg1NmBOQ7e+KuclBEKJgzifQeUYLdNiAw4B4bjyvzWVLiSA==", "dev": true, "requires": { "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-plugin-utils": "^7.24.0", "babel-plugin-polyfill-corejs2": "^0.4.8", "babel-plugin-polyfill-corejs3": "^0.9.0", "babel-plugin-polyfill-regenerator": "^0.5.5", @@ -26797,15 +26830,15 @@ } }, "@wordpress/babel-plugin-import-jsx-pragma": { - "version": "4.35.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-plugin-import-jsx-pragma/-/babel-plugin-import-jsx-pragma-4.35.0.tgz", - "integrity": "sha512-vPXtucxv4wvmV17OoCIQ7d8JeFIsN/FcCdDx0lJEukI3aF+zMKV9fr2MZjEi5n3Rgf8j8ekpgLdG2OGp2EWP3Q==", + "version": "4.36.0", + "resolved": "https://registry.npmjs.org/@wordpress/babel-plugin-import-jsx-pragma/-/babel-plugin-import-jsx-pragma-4.36.0.tgz", + "integrity": "sha512-xgBy9HnA0xL5e0Ipku7Ga3QimrfwTQ3njnN79mT8wNcim2APIlyiWSG3GndTdPoSGdrxGPv2ZrpqBdKsiGzoWQ==", "dev": true }, "@wordpress/babel-preset-default": { - "version": "7.36.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-7.36.0.tgz", - "integrity": "sha512-nedcc2ldSKkrsEjHc9Tm3X1+7anLOljLTahDXv2uqx4fIQVJoLhfkU/GcrKkncjkubVjkij4ykjA8L8FfkaD2g==", + "version": "7.37.0", + "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-7.37.0.tgz", + "integrity": "sha512-XE9NUIoc428MHP3p6DMNjRV4Df97K9JHkzXwOwJjjHp00ce2ckh4wSkZh287Zi1X+uNcrROERtSp4jjWHUhvHA==", "dev": true, "requires": { "@babel/core": "^7.16.0", @@ -26814,24 +26847,24 @@ "@babel/preset-env": "^7.16.0", "@babel/preset-typescript": "^7.16.0", "@babel/runtime": "^7.16.0", - "@wordpress/babel-plugin-import-jsx-pragma": "^4.35.0", - "@wordpress/browserslist-config": "^5.35.0", - "@wordpress/warning": "^2.52.0", + "@wordpress/babel-plugin-import-jsx-pragma": "^4.36.0", + "@wordpress/browserslist-config": "^5.36.0", + "@wordpress/warning": "^2.53.0", "browserslist": "^4.21.10", "core-js": "^3.31.0", "react": "^18.2.0" } }, "@wordpress/base-styles": { - "version": "4.43.0", - "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-4.43.0.tgz", - "integrity": "sha512-jo4q47f0Yf52XJuVfW2VGN6D5KTLfU1O3dhM/j4xP4sb9fH/L7SugzXJ0UmtzOJW0X8Rp14eZWy+GNVcPCHofA==", + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-4.44.0.tgz", + "integrity": "sha512-Kgn5WsCmY1GPUhMQaUGSL8MqVUrstjYYel8PjAEo5VmKPICOaMBrip5dwy7zTomX4fj+sdV1NLIJJ6Bqi5zxnw==", "dev": true }, "@wordpress/browserslist-config": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-5.35.0.tgz", - "integrity": "sha512-hybMVNdGXvKxN1P9Vc2YBxYJqKM1wA9clsx94qjVh73Q1f47olshmwsqp0whDV0piDBReD0irJsz9jszhd8Z1A==", + "version": "5.36.0", + "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-5.36.0.tgz", + "integrity": "sha512-D4Y+MhZHAW4mDNFxHGacVpZgOmkkL9k5+TuVchC8cVSdpAt0VSkzKsXAumoQuEYUXyio/NMkhnU153FO+ci3cQ==", "dev": true }, "@wordpress/components": { @@ -27154,9 +27187,9 @@ } }, "@wordpress/dependency-extraction-webpack-plugin": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-5.3.0.tgz", - "integrity": "sha512-UhLiv4by3FLr8+PFOsFDFqpNn8Mdhz4MI1A/CiTYCUVcONtu4qO1w5zAl2tpw39Xh7PVHiaFZPb1iW/wLgSw3A==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-5.4.0.tgz", + "integrity": "sha512-6r1Nsq/yoJSqx35iqXeqjID8GGrN7mISZXWCjbuYLIRRY1FxU+wbenj2BsdUtyUuAv8tAUH79cpgO0poYEDMoQ==", "dev": true, "requires": { "json2php": "^0.0.7" @@ -27189,14 +27222,14 @@ } }, "@wordpress/e2e-test-utils-playwright": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-0.20.0.tgz", - "integrity": "sha512-wNVXeoeJQl2Xny8K578e6VMBYyHchOLAEO4YETARn5DNmt+6jUjAS3xIB9mpn+nJuaUZujROc38Z3IVD22rbAA==", + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-0.21.0.tgz", + "integrity": "sha512-/tnTaTcjJ4LzmZtsdZCTO77qmj3p2m4+Nmvf2v0iB3/AgRIKazndecfZ9YnY2guos5Kl8QBjVkdzQ9Xc28LOpw==", "dev": true, "requires": { - "@wordpress/api-fetch": "^6.49.0", - "@wordpress/keycodes": "^3.52.0", - "@wordpress/url": "^3.53.0", + "@wordpress/api-fetch": "^6.50.0", + "@wordpress/keycodes": "^3.53.0", + "@wordpress/url": "^3.54.0", "change-case": "^4.1.2", "form-data": "^4.0.0", "get-port": "^5.1.1", @@ -27206,30 +27239,30 @@ }, "dependencies": { "@wordpress/api-fetch": { - "version": "6.49.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.49.0.tgz", - "integrity": "sha512-bU42wZuZKH6nPz6diHflznXVond9nKzWwn0xOR4KWXd0NRKvDhNobU0lyjLF/JmwNqE8PZF65a8M9agpfROgqQ==", + "version": "6.50.0", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.50.0.tgz", + "integrity": "sha512-a459l9WD58W5UyQkD6c54+4hv2hZzstDSzoJRMOZGSeEfbgN+49vgHLNEVhDHjNsS7Z6X2KeyyR/YoRgtXfloA==", "dev": true, "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.52.0", - "@wordpress/url": "^3.53.0" + "@wordpress/i18n": "^4.53.0", + "@wordpress/url": "^3.54.0" } }, "@wordpress/keycodes": { - "version": "3.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-3.52.0.tgz", - "integrity": "sha512-Qz+hdTtTZCBNgnhWb/pzM7iMfhx+bwo/b0LmTbANU4i4wJBaKQ9Qlkkaek30gZ/qC7rHunTtXoupcJ5NrZZdtg==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-3.53.0.tgz", + "integrity": "sha512-fNmjwZCdKg0EqXUQTJzdLj4sC58vIp8UqRKg+DeHQX4xAjLyTN8/JzMvmxPFF2nv57a1J5FLtOONqdrxaETGYg==", "dev": true, "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.52.0" + "@wordpress/i18n": "^4.53.0" } }, "@wordpress/url": { - "version": "3.53.0", - "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.53.0.tgz", - "integrity": "sha512-jMY6frxKQUizZRpFPcLx3hivdSH9Ty+E5CIE26lf0Xd3uKTFE1CS3uY+cuNXY+w9/EZZBKHZK4jq7AEOSR8qUg==", + "version": "3.54.0", + "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.54.0.tgz", + "integrity": "sha512-65/2c3vzzgX4VEd90GG1tbZTN1b10NiqAa2V+a/m0Ak9RoCyAY0MtNNEa4kxCxUyN5ajpgCJCzVJIKDNVj/Fhg==", "dev": true, "requires": { "@babel/runtime": "^7.16.0", @@ -27288,16 +27321,16 @@ } }, "@wordpress/eslint-plugin": { - "version": "17.9.0", - "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-17.9.0.tgz", - "integrity": "sha512-vPDxa5TwidfU0B3DMxje0Xv2fHT8tY/ar9i305y7oH2ug86RKFo62JZ2lUAA5g+eUCCA+ZV/pLO8lSZo9w3XEQ==", + "version": "17.10.0", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-17.10.0.tgz", + "integrity": "sha512-fMmMzBMR8z7p2yYTMtEEnzoYmdFdv0HdrM2b7s9693fYxtYQv/FaxUKdep6slMiVt/DBoPUmuDGgZsttzOTwng==", "dev": true, "requires": { "@babel/eslint-parser": "^7.16.0", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", - "@wordpress/babel-preset-default": "^7.36.0", - "@wordpress/prettier-config": "^3.9.0", + "@wordpress/babel-preset-default": "^7.37.0", + "@wordpress/prettier-config": "^3.10.0", "cosmiconfig": "^7.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.2", @@ -27403,9 +27436,9 @@ } }, "@wordpress/jest-console": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-7.23.0.tgz", - "integrity": "sha512-5f2z6Z9WMKu9T3TDQAtpqvPItWRIlUXOlTJXPIYiFktxguhSHU7Q6i8vXKA/lXs6DxNAlxl8n+pRk7S68TSJtQ==", + "version": "7.24.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-7.24.0.tgz", + "integrity": "sha512-mCcoEGrFDN78QMWSXVH3B5RVdwNNzsODA8g6LSbmxKY5T/4xuOgF/Kj6mS0YSrCxyOiDUTW9VgHoQtx2MwS+Qg==", "dev": true, "requires": { "@babel/runtime": "^7.16.0", @@ -27413,12 +27446,12 @@ } }, "@wordpress/jest-preset-default": { - "version": "11.23.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-11.23.0.tgz", - "integrity": "sha512-murMNev+bT+CuJR++0NcZDFovZiY5Hbnh9aAAZ+BbS+Q6E42eTIO1fONxeN9QuvrYm/8LznMszWxzgGs4Wmtsw==", + "version": "11.24.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-11.24.0.tgz", + "integrity": "sha512-W3y5PYdOwzm1oKdx+8XZoLeXEV4FI/LnYJpcnKxIyQxfPm4cI8WlRMUT6DAyW6nKv67a0FUwoA7XJ9kXH1pASA==", "dev": true, "requires": { - "@wordpress/jest-console": "^7.23.0", + "@wordpress/jest-console": "^7.24.0", "babel-jest": "^29.6.2" } }, @@ -27449,25 +27482,25 @@ } }, "@wordpress/npm-package-json-lint-config": { - "version": "4.37.0", - "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-4.37.0.tgz", - "integrity": "sha512-a0+oP4y/9TgPCzhaVXrhNKPfvZ+eHAZKlid5gvveM9A4HYVdeaw8m7eyH7CxBUJdG/GjOPvtw//KMqu+ijxbIg==", + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-4.38.0.tgz", + "integrity": "sha512-RT5dDPaHiPNzVTcLV6HTHArRBPzAhQPMKZi2BX16rrlYLwcr9TNMVJQ787RXxLmkr83BvudZqsHF4va06FwVLQ==", "dev": true }, "@wordpress/postcss-plugins-preset": { - "version": "4.36.0", - "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-4.36.0.tgz", - "integrity": "sha512-J4wOnzrI1MZpzVoLQbMn0539B7vuAiEkUOeZ28VnKsb9WSYQ+hTKkfco0gz76WtE0p5oquy22vRVilslckRL2g==", + "version": "4.37.0", + "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-4.37.0.tgz", + "integrity": "sha512-9k0OFThyn73hmZ0NRWtrYDEHk8BHwzMLrovqtt9fsBQRQviz4kjLOFkGvSQmvFPbnaMK1ZG5WOhV8/RkKK8tig==", "dev": true, "requires": { - "@wordpress/base-styles": "^4.43.0", + "@wordpress/base-styles": "^4.44.0", "autoprefixer": "^10.2.5" } }, "@wordpress/prettier-config": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-3.9.0.tgz", - "integrity": "sha512-CUCAZAAFDYgE6JG6x8U/kJ94tMyKkeRyNNcbPHK/R4oR+9T1bTbT2rWVQ9VFC2M6yNEP7uwZU9ufdYcSn5bq7g==", + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-3.10.0.tgz", + "integrity": "sha512-0zA3K1zDyRjUhTY+zKfBvQMKqEbYK/hC3NOabEWZ++pvT5JYJrD7ZVXE+l5TDVd/d2rqxM0eLssh/yIyWyaeSQ==", "dev": true }, "@wordpress/primitives": { @@ -27673,24 +27706,24 @@ } }, "@wordpress/scripts": { - "version": "27.3.0", - "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-27.3.0.tgz", - "integrity": "sha512-PMIFMsjsEpXfgioc1413z7TTD+pq5F9nOoV1Ygvhv/aDImgfeYmMW9VNytETDsUtJ6yRWBi+TWREW9tChbfPhw==", + "version": "27.4.0", + "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-27.4.0.tgz", + "integrity": "sha512-DAX1n/nWtOH77jeHxUFrDiqXGc5OVsDeynyvJOxMMMdi1otN/iO6MkFOg0ExzRXgV4/+8DVpN1RWgeuXLzrBGw==", "dev": true, "requires": { "@babel/core": "^7.16.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", "@svgr/webpack": "^8.0.1", - "@wordpress/babel-preset-default": "^7.36.0", - "@wordpress/browserslist-config": "^5.35.0", - "@wordpress/dependency-extraction-webpack-plugin": "^5.3.0", - "@wordpress/e2e-test-utils-playwright": "^0.20.0", - "@wordpress/eslint-plugin": "^17.9.0", - "@wordpress/jest-preset-default": "^11.23.0", - "@wordpress/npm-package-json-lint-config": "^4.37.0", - "@wordpress/postcss-plugins-preset": "^4.36.0", - "@wordpress/prettier-config": "^3.9.0", - "@wordpress/stylelint-config": "^21.35.0", + "@wordpress/babel-preset-default": "^7.37.0", + "@wordpress/browserslist-config": "^5.36.0", + "@wordpress/dependency-extraction-webpack-plugin": "^5.4.0", + "@wordpress/e2e-test-utils-playwright": "^0.21.0", + "@wordpress/eslint-plugin": "^17.10.0", + "@wordpress/jest-preset-default": "^11.24.0", + "@wordpress/npm-package-json-lint-config": "^4.38.0", + "@wordpress/postcss-plugins-preset": "^4.37.0", + "@wordpress/prettier-config": "^3.10.0", + "@wordpress/stylelint-config": "^21.36.0", "adm-zip": "^0.5.9", "babel-jest": "^29.6.2", "babel-loader": "^8.2.3", @@ -27739,9 +27772,9 @@ } }, "@wordpress/stylelint-config": { - "version": "21.35.0", - "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-21.35.0.tgz", - "integrity": "sha512-/nsiyxEQUqicwVW/LYBFW3fmkzmbbtUSNpWYRGxPuEmBP0NG7BFmjWGt37k1gm0m0JX55KIQzxbU0o56wBRD8w==", + "version": "21.36.0", + "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-21.36.0.tgz", + "integrity": "sha512-P2Bg+Aq0jKR76wmFaNY1a4iInP/+z5+QauPD+StoHksWKvfjkYpqZ3dDLaGHucFDFF6I4UAgsDO8Avt7Q1Tl0w==", "dev": true, "requires": { "stylelint-config-recommended": "^6.0.0", @@ -27777,9 +27810,9 @@ } }, "@wordpress/warning": { - "version": "2.52.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-2.52.0.tgz", - "integrity": "sha512-dmPSi6h/DeAwSOeD3NQKeFnileyNNhI4QecIiRZ79Tk1QIcz90wOQR7BAbZcpzJdN6Q30bc98Vfhtj8w0xpfOQ==", + "version": "2.53.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-2.53.0.tgz", + "integrity": "sha512-53O09aUJgEuGcCVTHQcxvqjeU79rHF6fw9VSZwv6lYfZTwwtxwMHGPF6hUp12NeR+bqYGsUz2Ls6gzSHaAE2Zw==", "dev": true }, "@xobotyi/scrollbar-width": { @@ -28109,6 +28142,19 @@ "es-shim-unscopables": "^1.0.0" } }, + "array.prototype.findlast": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.4.tgz", + "integrity": "sha512-BMtLxpV+8BD+6ZPFIWmnUBpQoy+A+ujcg4rhp2iwCRJYA7PEh2MS4NL3lz8EiDlLrJPp2hg9qWihr5pd//jcGw==", + "dev": true, + "requires": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.3.0", + "es-shim-unscopables": "^1.0.2" + } + }, "array.prototype.findlastindex": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.4.tgz", @@ -28145,6 +28191,18 @@ "es-shim-unscopables": "^1.0.0" } }, + "array.prototype.toreversed": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/array.prototype.toreversed/-/array.prototype.toreversed-1.1.2.tgz", + "integrity": "sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + } + }, "array.prototype.tosorted": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.3.tgz", @@ -28243,13 +28301,13 @@ "dev": true }, "autoprefixer": { - "version": "10.4.17", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.17.tgz", - "integrity": "sha512-/cpVNRLSfhOtcGflT13P2794gVSgmPgTR+erw5ifnMLZb0UnSlkK4tquLmkd3BhA+nLo5tX8Cu0upUsGKvKbmg==", + "version": "10.4.18", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.18.tgz", + "integrity": "sha512-1DKbDfsr6KUElM6wg+0zRNkB/Q7WcKYAaK+pzXn+Xqmszm/5Xa9coeNdtP88Vi+dPzZnMjhge8GIV49ZQkDa+g==", "dev": true, "requires": { - "browserslist": "^4.22.2", - "caniuse-lite": "^1.0.30001578", + "browserslist": "^4.23.0", + "caniuse-lite": "^1.0.30001591", "fraction.js": "^4.3.7", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", @@ -28547,9 +28605,9 @@ "dev": true }, "bare-events": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.2.0.tgz", - "integrity": "sha512-Yyyqff4PIFfSuthCZqLlPISTWHmnQxoPuAvkmgzsJEmG3CesdIv6Xweayl0JkCZJSB2yYIdJyEz97tpxNhgjbg==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.2.1.tgz", + "integrity": "sha512-9GYPpsPFvrWBkelIhOhTWtkeZxVxZOdb3VnFTCzlOo3OjvmTvzLoZFUT8kNFACx0vJej6QPney1Cf9BvzCNE/A==", "dev": true, "optional": true }, @@ -28559,9 +28617,9 @@ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" }, "basic-ftp": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.4.tgz", - "integrity": "sha512-8PzkB0arJFV4jJWSGOYR+OEic6aeKMu/osRhBULN6RY0ykby6LKhbmuQ5ublvaas5BOwboah5D87nrHyuh8PPA==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", + "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", "dev": true }, "batch": { @@ -28736,13 +28794,13 @@ "integrity": "sha512-Tfn5JSE7hrUlFcOoaLzVvkbgIemIorMIyoMr3TgvszWW7jFt2C9PdeMLtysYD9RU0MmU17b69+XJG1eRY2OBRg==" }, "browserslist": { - "version": "4.22.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.3.tgz", - "integrity": "sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==", + "version": "4.23.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", + "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001580", - "electron-to-chromium": "^1.4.648", + "caniuse-lite": "^1.0.30001587", + "electron-to-chromium": "^1.4.668", "node-releases": "^2.0.14", "update-browserslist-db": "^1.0.13" } @@ -28901,9 +28959,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001581", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001581.tgz", - "integrity": "sha512-whlTkwhqV2tUmP3oYhtNfaWGYHDdS3JYFQBKXxcUR9qqPWsRhFHhoISO2Xnl/g0xyKzht9mI1LZpiNWfMzHixQ==", + "version": "1.0.30001597", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001597.tgz", + "integrity": "sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==", "dev": true }, "capital-case": { @@ -30534,9 +30592,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.4.649", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.649.tgz", - "integrity": "sha512-dq/owIaALxZGqWm5RXpKQ4baX6aDC19e2Z16c8SXYN+I71PyEKjbVqQUgm7kcuk8CRqljTKXbolo0XXDjxnh2w==", + "version": "1.4.707", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.707.tgz", + "integrity": "sha512-qRq74Mo7ChePOU6GHdfAJ0NREXU8vQTlVlfWz3wNygFay6xrd/fY2J7oGHwrhFeU30OVctGLdTh/FcnokTWpng==", "dev": true }, "emittery": { @@ -30976,9 +31034,9 @@ } }, "eslint-module-utils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz", - "integrity": "sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz", + "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==", "dev": true, "requires": { "debug": "^3.2.7" @@ -31207,27 +31265,29 @@ } }, "eslint-plugin-react": { - "version": "7.33.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.33.2.tgz", - "integrity": "sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==", + "version": "7.34.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.34.0.tgz", + "integrity": "sha512-MeVXdReleBTdkz/bvcQMSnCXGi+c9kvy51IpinjnJgutl3YTHWsDdke7Z1ufZpGfDG8xduBDKyjtB9JH1eBKIQ==", "dev": true, "requires": { - "array-includes": "^3.1.6", - "array.prototype.flatmap": "^1.3.1", - "array.prototype.tosorted": "^1.1.1", + "array-includes": "^3.1.7", + "array.prototype.findlast": "^1.2.4", + "array.prototype.flatmap": "^1.3.2", + "array.prototype.toreversed": "^1.1.2", + "array.prototype.tosorted": "^1.1.3", "doctrine": "^2.1.0", - "es-iterator-helpers": "^1.0.12", + "es-iterator-helpers": "^1.0.17", "estraverse": "^5.3.0", "jsx-ast-utils": "^2.4.1 || ^3.0.0", "minimatch": "^3.1.2", - "object.entries": "^1.1.6", - "object.fromentries": "^2.0.6", - "object.hasown": "^1.1.2", - "object.values": "^1.1.6", + "object.entries": "^1.1.7", + "object.fromentries": "^2.0.7", + "object.hasown": "^1.1.3", + "object.values": "^1.1.7", "prop-types": "^15.8.1", - "resolve": "^2.0.0-next.4", + "resolve": "^2.0.0-next.5", "semver": "^6.3.1", - "string.prototype.matchall": "^4.0.8" + "string.prototype.matchall": "^4.0.10" }, "dependencies": { "doctrine": { @@ -39056,9 +39116,9 @@ } }, "ts-api-utils": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.1.tgz", - "integrity": "sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", "dev": true }, "ts-easing": { diff --git a/package.json b/package.json index 81f03189..548ad42f 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@tailwindcss/forms": "^0.5.7", "@testing-library/cypress": "^10.0.1", "@wordpress/env": "^9.2.0", - "@wordpress/scripts": "^27.3.0", + "@wordpress/scripts": "^27.4.0", "cypress": "^13.6.6", "cypress-axe": "1.5.0", "node-wp-i18n": "^1.2.7", From 8c67bd8f3bd99ae25df7f53e1273147a7765ba9f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 12:48:15 +0000 Subject: [PATCH 15/36] NPM(deps): Bump @newfold/ui-component-library from 1.0.1 to 1.1.0 Bumps [@newfold/ui-component-library](https://github.com/newfold-labs/npm-ui-component-library) from 1.0.1 to 1.1.0. - [Release notes](https://github.com/newfold-labs/npm-ui-component-library/releases) - [Commits](https://github.com/newfold-labs/npm-ui-component-library/compare/1.0.1...1.1.0) --- updated-dependencies: - dependency-name: "@newfold/ui-component-library" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 464644d1..7258bc54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@heroicons/react": "^2.1.1", "@newfold-labs/wp-module-ecommerce": "^1.3.24", "@newfold-labs/wp-module-runtime": "^1.0.9", - "@newfold/ui-component-library": "^1.0.1", + "@newfold/ui-component-library": "^1.1.0", "@reduxjs/toolkit": "^2.1.0", "@wordpress/compose": "^6.30.0", "@wordpress/dom-ready": "^3.53.0", @@ -3281,9 +3281,9 @@ } }, "node_modules/@newfold/ui-component-library": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@newfold/ui-component-library/-/ui-component-library-1.0.1.tgz", - "integrity": "sha512-p/nCSWcVNs7hOzUJNQXbyiQe82WAzUXbSENIvMX326FeLyETo0AtncqNUZJxABDIVQVQONu+19uRCAqCRvZBPQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@newfold/ui-component-library/-/ui-component-library-1.1.0.tgz", + "integrity": "sha512-G2eE3Lc0+jSPhF4l+OQp7Iiq7fF9YM4tmGpqxqHAc+REPjVcPIVb3KAfgcd40Cp2bxIiaCVhlk+NeV4lh50vIg==", "dependencies": { "@headlessui/react": "^1.7.8", "@heroicons/react": "^1.0.6", @@ -25313,9 +25313,9 @@ } }, "@newfold/ui-component-library": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@newfold/ui-component-library/-/ui-component-library-1.0.1.tgz", - "integrity": "sha512-p/nCSWcVNs7hOzUJNQXbyiQe82WAzUXbSENIvMX326FeLyETo0AtncqNUZJxABDIVQVQONu+19uRCAqCRvZBPQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@newfold/ui-component-library/-/ui-component-library-1.1.0.tgz", + "integrity": "sha512-G2eE3Lc0+jSPhF4l+OQp7Iiq7fF9YM4tmGpqxqHAc+REPjVcPIVb3KAfgcd40Cp2bxIiaCVhlk+NeV4lh50vIg==", "requires": { "@headlessui/react": "^1.7.8", "@heroicons/react": "^1.0.6", diff --git a/package.json b/package.json index 81f03189..62e3024a 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@heroicons/react": "^2.1.1", "@newfold-labs/wp-module-ecommerce": "^1.3.24", "@newfold-labs/wp-module-runtime": "^1.0.9", - "@newfold/ui-component-library": "^1.0.1", + "@newfold/ui-component-library": "^1.1.0", "@reduxjs/toolkit": "^2.1.0", "@wordpress/compose": "^6.30.0", "@wordpress/dom-ready": "^3.53.0", From 5511a6ee421043221424c36c2aff4a4d6fea67f1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 12:49:16 +0000 Subject: [PATCH 16/36] NPM(deps): Bump @wordpress/icons from 9.43.0 to 9.44.0 Bumps [@wordpress/icons](https://github.com/WordPress/gutenberg/tree/HEAD/packages/icons) from 9.43.0 to 9.44.0. - [Release notes](https://github.com/WordPress/gutenberg/releases) - [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/icons/CHANGELOG.md) - [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/icons@9.44.0/packages/icons) --- updated-dependencies: - dependency-name: "@wordpress/icons" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 38 +++++++++++++++++++------------------- package.json | 2 +- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index 464644d1..bbd00cc1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@wordpress/dom-ready": "^3.53.0", "@wordpress/element": "^5.29.0", "@wordpress/i18n": "^4.52.0", - "@wordpress/icons": "^9.43.0", + "@wordpress/icons": "^9.44.0", "classnames": "^2.5.1", "jquery": "^3.7.1", "lodash": "^4.17.21", @@ -5895,13 +5895,13 @@ "integrity": "sha512-yywVJy8ctVlN5lNPxsep5urnZ6TTclwPEyigM9M3Bi8vseJBOfqNrGWN/r8NzuIt3PovM323W04blJfGQfQSVg==" }, "node_modules/@wordpress/icons": { - "version": "9.43.0", - "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-9.43.0.tgz", - "integrity": "sha512-pzJeY2I58p/5XpnwWEpj2FwQMQdwerhPotcaFENKGyhu1NjBGG4djuiZhwGNyS9IAmzS/wsI1yObZb+1kBBCdA==", + "version": "9.44.0", + "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-9.44.0.tgz", + "integrity": "sha512-8VxsFkcUYGCk6qfrriSOxOFSDSgl4tNRnJo7019ABj8mTr4pqdJC7tYz88rOvtBbx9tswWXLBJM49vaBG8mOpw==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/element": "^5.29.0", - "@wordpress/primitives": "^3.50.0" + "@wordpress/element": "^5.30.0", + "@wordpress/primitives": "^3.51.0" }, "engines": { "node": ">=12" @@ -6016,12 +6016,12 @@ } }, "node_modules/@wordpress/primitives": { - "version": "3.50.0", - "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-3.50.0.tgz", - "integrity": "sha512-3HauFtTv3jiQlDebhM2K2ZQNSAwlIqZH0Xf2eHEXdSMLY3kA5yfb1aMStqexe397PpOLLhhcunwbXQ2FBhTilw==", + "version": "3.51.0", + "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-3.51.0.tgz", + "integrity": "sha512-UKz0h3BIU4hDMXnNlLZ6CZCe7eWuhDhzLj25+Ldfb71RuXMoqdH31ZN3gwIljVrLRWcBKVtgp9ULmuhdGvwzDA==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/element": "^5.29.0", + "@wordpress/element": "^5.30.0", "classnames": "^2.3.1" }, "engines": { @@ -27385,13 +27385,13 @@ } }, "@wordpress/icons": { - "version": "9.43.0", - "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-9.43.0.tgz", - "integrity": "sha512-pzJeY2I58p/5XpnwWEpj2FwQMQdwerhPotcaFENKGyhu1NjBGG4djuiZhwGNyS9IAmzS/wsI1yObZb+1kBBCdA==", + "version": "9.44.0", + "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-9.44.0.tgz", + "integrity": "sha512-8VxsFkcUYGCk6qfrriSOxOFSDSgl4tNRnJo7019ABj8mTr4pqdJC7tYz88rOvtBbx9tswWXLBJM49vaBG8mOpw==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/element": "^5.29.0", - "@wordpress/primitives": "^3.50.0" + "@wordpress/element": "^5.30.0", + "@wordpress/primitives": "^3.51.0" } }, "@wordpress/is-shallow-equal": { @@ -27471,12 +27471,12 @@ "dev": true }, "@wordpress/primitives": { - "version": "3.50.0", - "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-3.50.0.tgz", - "integrity": "sha512-3HauFtTv3jiQlDebhM2K2ZQNSAwlIqZH0Xf2eHEXdSMLY3kA5yfb1aMStqexe397PpOLLhhcunwbXQ2FBhTilw==", + "version": "3.51.0", + "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-3.51.0.tgz", + "integrity": "sha512-UKz0h3BIU4hDMXnNlLZ6CZCe7eWuhDhzLj25+Ldfb71RuXMoqdH31ZN3gwIljVrLRWcBKVtgp9ULmuhdGvwzDA==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/element": "^5.29.0", + "@wordpress/element": "^5.30.0", "classnames": "^2.3.1" } }, diff --git a/package.json b/package.json index 81f03189..929841f3 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@wordpress/dom-ready": "^3.53.0", "@wordpress/element": "^5.29.0", "@wordpress/i18n": "^4.52.0", - "@wordpress/icons": "^9.43.0", + "@wordpress/icons": "^9.44.0", "classnames": "^2.5.1", "jquery": "^3.7.1", "lodash": "^4.17.21", From 9da531222283c5b090c4f92e3a7bb7f7e6fa2fd2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 15:04:03 +0000 Subject: [PATCH 17/36] Composer(deps): Bump newfold-labs/wp-module-onboarding Bumps [newfold-labs/wp-module-onboarding](https://github.com/newfold-labs/wp-module-onboarding) from 2.1.3 to 2.1.6. - [Release notes](https://github.com/newfold-labs/wp-module-onboarding/releases) - [Commits](https://github.com/newfold-labs/wp-module-onboarding/compare/2.1.3...2.1.6) --- updated-dependencies: - dependency-name: newfold-labs/wp-module-onboarding dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 46 +++++++++++++++++++++++----------------------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/composer.json b/composer.json index b101fa69..ccc43568 100644 --- a/composer.json +++ b/composer.json @@ -76,7 +76,7 @@ "newfold-labs/wp-module-loader": "^1.0.10", "newfold-labs/wp-module-marketplace": "^2.2.4", "newfold-labs/wp-module-notifications": "^1.2.5", - "newfold-labs/wp-module-onboarding": "^2.1.3", + "newfold-labs/wp-module-onboarding": "^2.1.6", "newfold-labs/wp-module-patterns": "^0.1.14", "newfold-labs/wp-module-performance": "^1.4.0", "newfold-labs/wp-module-runtime": "^1.0.9", diff --git a/composer.lock b/composer.lock index aa8d85da..1c50d206 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7bf9febc204ec6d660f2862068273594", + "content-hash": "f2f2e9b2ca4c2141a419ffa650e4fcc0", "packages": [ { "name": "doctrine/inflector", @@ -192,16 +192,16 @@ }, { "name": "newfold-labs/wp-module-ai", - "version": "1.1.5", + "version": "1.1.6", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-ai.git", - "reference": "c8b776496904213476a7b79f0b431aac5837e1b3" + "reference": "de39aa47b11d68c763087ac26cca674068d47161" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-ai/zipball/c8b776496904213476a7b79f0b431aac5837e1b3", - "reference": "c8b776496904213476a7b79f0b431aac5837e1b3", + "url": "https://api.github.com/repos/newfold-labs/wp-module-ai/zipball/de39aa47b11d68c763087ac26cca674068d47161", + "reference": "de39aa47b11d68c763087ac26cca674068d47161", "shasum": "" }, "require": { @@ -230,10 +230,10 @@ ], "description": "A module for providing artificial intelligence capabilities.", "support": { - "source": "https://github.com/newfold-labs/wp-module-ai/tree/1.1.5", + "source": "https://github.com/newfold-labs/wp-module-ai/tree/1.1.6", "issues": "https://github.com/newfold-labs/wp-module-ai/issues" }, - "time": "2024-02-27T15:16:54+00:00" + "time": "2024-02-29T10:39:41+00:00" }, { "name": "newfold-labs/wp-module-coming-soon", @@ -889,23 +889,23 @@ }, { "name": "newfold-labs/wp-module-onboarding", - "version": "2.1.3", + "version": "2.1.6", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-onboarding.git", - "reference": "a601bb0169332a6d41808554ce6fc137e9ae6a5c" + "reference": "8fc1a49b43b3db5d65bc42261c174dd7fd110c70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/a601bb0169332a6d41808554ce6fc137e9ae6a5c", - "reference": "a601bb0169332a6d41808554ce6fc137e9ae6a5c", + "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/8fc1a49b43b3db5d65bc42261c174dd7fd110c70", + "reference": "8fc1a49b43b3db5d65bc42261c174dd7fd110c70", "shasum": "" }, "require": { "mustache/mustache": "^2.14", "newfold-labs/wp-module-facebook": "^1.0.6", "newfold-labs/wp-module-install-checker": "^1.0", - "newfold-labs/wp-module-onboarding-data": "^1.1.1", + "newfold-labs/wp-module-onboarding-data": "^1.1.3", "newfold-labs/wp-module-patterns": "^0.1.14", "wp-cli/wp-config-transformer": "^1.3", "wp-forge/helpers": "^2.0" @@ -944,33 +944,33 @@ ], "description": "Next-generation WordPress Onboarding for WordPress sites at Newfold Digital.", "support": { - "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.1.3", + "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.1.6", "issues": "https://github.com/newfold-labs/wp-module-onboarding/issues" }, - "time": "2024-02-26T20:31:04+00:00" + "time": "2024-03-06T08:58:22+00:00" }, { "name": "newfold-labs/wp-module-onboarding-data", - "version": "1.1.1", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-onboarding-data.git", - "reference": "ef35d08c00da9df72ceae47b1bfb235c35db3008" + "reference": "a5e90dbdb748e2710f82654131b51973a6dabd12" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding-data/zipball/ef35d08c00da9df72ceae47b1bfb235c35db3008", - "reference": "ef35d08c00da9df72ceae47b1bfb235c35db3008", + "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding-data/zipball/a5e90dbdb748e2710f82654131b51973a6dabd12", + "reference": "a5e90dbdb748e2710f82654131b51973a6dabd12", "shasum": "" }, "require": { "mustache/mustache": "^2.14", - "newfold-labs/wp-module-ai": "^1.1.4", - "newfold-labs/wp-module-coming-soon": "^1.2.0", + "newfold-labs/wp-module-ai": "^1.1.6", + "newfold-labs/wp-module-coming-soon": "^1.2.3", "newfold-labs/wp-module-data": "^2.4.18", "newfold-labs/wp-module-installer": "^1.1", "newfold-labs/wp-module-patterns": "^0.1.14", - "newfold-labs/wp-module-performance": "^1.3.0", + "newfold-labs/wp-module-performance": "^1.4.0", "wp-forge/wp-upgrade-handler": "^1.0" }, "require-dev": { @@ -990,10 +990,10 @@ ], "description": "A non-toggleable module containing a standardized interface for interacting with Onboarding data.", "support": { - "source": "https://github.com/newfold-labs/wp-module-onboarding-data/tree/1.1.1", + "source": "https://github.com/newfold-labs/wp-module-onboarding-data/tree/1.1.3", "issues": "https://github.com/newfold-labs/wp-module-onboarding-data/issues" }, - "time": "2024-02-23T08:16:45+00:00" + "time": "2024-03-04T13:57:20+00:00" }, { "name": "newfold-labs/wp-module-patterns", From 2755574bf27072e6089b77f1e46f6e778707c646 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 15:10:25 +0000 Subject: [PATCH 18/36] NPM Dev(deps-dev): Bump cypress from 13.6.6 to 13.7.0 Bumps [cypress](https://github.com/cypress-io/cypress) from 13.6.6 to 13.7.0. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md) - [Commits](https://github.com/cypress-io/cypress/compare/v13.6.6...v13.7.0) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index c309a6e5..3ecb0450 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "@testing-library/cypress": "^10.0.1", "@wordpress/env": "^9.2.0", "@wordpress/scripts": "^27.4.0", - "cypress": "^13.6.6", + "cypress": "^13.7.0", "cypress-axe": "1.5.0", "node-wp-i18n": "^1.2.7", "tailwindcss": "^3.4.1" @@ -9191,9 +9191,9 @@ } }, "node_modules/cypress": { - "version": "13.6.6", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.6.6.tgz", - "integrity": "sha512-S+2S9S94611hXimH9a3EAYt81QM913ZVA03pUmGDfLTFa5gyp85NJ8dJGSlEAEmyRsYkioS1TtnWtbv/Fzt11A==", + "version": "13.7.0", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.7.0.tgz", + "integrity": "sha512-UimjRSJJYdTlvkChcdcfywKJ6tUYuwYuk/n1uMMglrvi+ZthNhoRYcxnWgTqUtkl17fXrPAsD5XT2rcQYN1xKA==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -29941,9 +29941,9 @@ } }, "cypress": { - "version": "13.6.6", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.6.6.tgz", - "integrity": "sha512-S+2S9S94611hXimH9a3EAYt81QM913ZVA03pUmGDfLTFa5gyp85NJ8dJGSlEAEmyRsYkioS1TtnWtbv/Fzt11A==", + "version": "13.7.0", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.7.0.tgz", + "integrity": "sha512-UimjRSJJYdTlvkChcdcfywKJ6tUYuwYuk/n1uMMglrvi+ZthNhoRYcxnWgTqUtkl17fXrPAsD5XT2rcQYN1xKA==", "dev": true, "requires": { "@cypress/request": "^3.0.0", diff --git a/package.json b/package.json index e2c500ff..4e020ea7 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@testing-library/cypress": "^10.0.1", "@wordpress/env": "^9.2.0", "@wordpress/scripts": "^27.4.0", - "cypress": "^13.6.6", + "cypress": "^13.7.0", "cypress-axe": "1.5.0", "node-wp-i18n": "^1.2.7", "tailwindcss": "^3.4.1" From 24f4d90a97662653ee20ee53425a037480f11832 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 15:56:17 +0000 Subject: [PATCH 19/36] NPM Dev(deps-dev): Bump @wordpress/env from 9.2.0 to 9.5.0 Bumps [@wordpress/env](https://github.com/WordPress/gutenberg/tree/HEAD/packages/env) from 9.2.0 to 9.5.0. - [Release notes](https://github.com/WordPress/gutenberg/releases) - [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/env/CHANGELOG.md) - [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/env@9.5.0/packages/env) --- updated-dependencies: - dependency-name: "@wordpress/env" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3ecb0450..d58c8354 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "@automattic/babel-plugin-preserve-i18n": "^1.0.0", "@tailwindcss/forms": "^0.5.7", "@testing-library/cypress": "^10.0.1", - "@wordpress/env": "^9.2.0", + "@wordpress/env": "^9.5.0", "@wordpress/scripts": "^27.4.0", "cypress": "^13.7.0", "cypress-axe": "1.5.0", @@ -5723,9 +5723,9 @@ } }, "node_modules/@wordpress/env": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-9.2.0.tgz", - "integrity": "sha512-2gl65WYbkuTjnW2SHKjeqdpLTgnPc/xVvFiwG+2p/RJwDHSuw1xXSdFqFUh3+wC/4cuXy9b2ZBm/SYsBoc8DDw==", + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-9.5.0.tgz", + "integrity": "sha512-dxIosImyvkqUqPgCcOUCTgnLQRG3dZhnnNomEnsY0z5stbN+2IS6EJq3mZ/oJDitcJjrqB0dPopdUTVS/9bWMA==", "dev": true, "dependencies": { "chalk": "^4.0.0", @@ -27293,9 +27293,9 @@ } }, "@wordpress/env": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-9.2.0.tgz", - "integrity": "sha512-2gl65WYbkuTjnW2SHKjeqdpLTgnPc/xVvFiwG+2p/RJwDHSuw1xXSdFqFUh3+wC/4cuXy9b2ZBm/SYsBoc8DDw==", + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-9.5.0.tgz", + "integrity": "sha512-dxIosImyvkqUqPgCcOUCTgnLQRG3dZhnnNomEnsY0z5stbN+2IS6EJq3mZ/oJDitcJjrqB0dPopdUTVS/9bWMA==", "dev": true, "requires": { "chalk": "^4.0.0", diff --git a/package.json b/package.json index 4e020ea7..0267c270 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@automattic/babel-plugin-preserve-i18n": "^1.0.0", "@tailwindcss/forms": "^0.5.7", "@testing-library/cypress": "^10.0.1", - "@wordpress/env": "^9.2.0", + "@wordpress/env": "^9.5.0", "@wordpress/scripts": "^27.4.0", "cypress": "^13.7.0", "cypress-axe": "1.5.0", From acf5c82743132885fdcb767ffb8cb5e06d2176b1 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Fri, 15 Mar 2024 12:50:36 -0400 Subject: [PATCH 20/36] bump staging module to 1.3.1 to fix test --- composer.json | 4 ++-- composer.lock | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 5d756b6c..410cb197 100644 --- a/composer.json +++ b/composer.json @@ -70,7 +70,7 @@ "newfold-labs/wp-module-context": "^1.0", "newfold-labs/wp-module-data": "^2.4.19", "newfold-labs/wp-module-deactivation": "^1.0.5", - "newfold-labs/wp-module-ecommerce": "^1.3.24", + "newfold-labs/wp-module-ecommerce": "^1.3.23", "newfold-labs/wp-module-global-ctb": "^1.0.11", "newfold-labs/wp-module-help-center": "^1.0.23", "newfold-labs/wp-module-loader": "^1.0.10", @@ -82,7 +82,7 @@ "newfold-labs/wp-module-runtime": "^1.0.9", "newfold-labs/wp-module-secure-passwords": "^1.1.1", "newfold-labs/wp-module-sso": "^1.0.4", - "newfold-labs/wp-module-staging": "^1.3.0", + "newfold-labs/wp-module-staging": "^1.3.1", "wp-forge/wp-update-handler": "^1.0.2", "wp-forge/wp-upgrade-handler": "^1.0" } diff --git a/composer.lock b/composer.lock index 3ecb0ae2..24096875 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5e6c432aa09752116f7edec761e08885", + "content-hash": "d5d7be690105426042e0f933f5bc0ee0", "packages": [ { "name": "doctrine/inflector", @@ -1236,16 +1236,16 @@ }, { "name": "newfold-labs/wp-module-staging", - "version": "1.3.0", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-staging.git", - "reference": "a2bf4fdeb9532f27a13bc15dc40aeea513b70471" + "reference": "4358628ec018976d21b87b4cbd08802f5a28bcf3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-staging/zipball/a2bf4fdeb9532f27a13bc15dc40aeea513b70471", - "reference": "a2bf4fdeb9532f27a13bc15dc40aeea513b70471", + "url": "https://api.github.com/repos/newfold-labs/wp-module-staging/zipball/4358628ec018976d21b87b4cbd08802f5a28bcf3", + "reference": "4358628ec018976d21b87b4cbd08802f5a28bcf3", "shasum": "" }, "require": { @@ -1282,10 +1282,10 @@ ], "description": "Newfold module for staging functionality in brand plugins", "support": { - "source": "https://github.com/newfold-labs/wp-module-staging/tree/1.3.0", + "source": "https://github.com/newfold-labs/wp-module-staging/tree/1.3.1", "issues": "https://github.com/newfold-labs/wp-module-staging/issues" }, - "time": "2024-02-27T20:06:41+00:00" + "time": "2024-03-15T16:43:57+00:00" }, { "name": "wp-cli/wp-config-transformer", From 809e375fe3c414af2d6a0e6598fefa46b6b7bc27 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 12:54:34 +0000 Subject: [PATCH 21/36] Composer(deps): Bump newfold-labs/wp-module-patterns Bumps [newfold-labs/wp-module-patterns](https://github.com/newfold-labs/wp-module-patterns) from 0.1.14 to 0.1.15. - [Release notes](https://github.com/newfold-labs/wp-module-patterns/releases) - [Commits](https://github.com/newfold-labs/wp-module-patterns/compare/0.1.14...0.1.15) --- updated-dependencies: - dependency-name: newfold-labs/wp-module-patterns dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index ccc43568..ddb6aa00 100644 --- a/composer.json +++ b/composer.json @@ -77,7 +77,7 @@ "newfold-labs/wp-module-marketplace": "^2.2.4", "newfold-labs/wp-module-notifications": "^1.2.5", "newfold-labs/wp-module-onboarding": "^2.1.6", - "newfold-labs/wp-module-patterns": "^0.1.14", + "newfold-labs/wp-module-patterns": "^0.1.15", "newfold-labs/wp-module-performance": "^1.4.0", "newfold-labs/wp-module-runtime": "^1.0.9", "newfold-labs/wp-module-secure-passwords": "^1.1.1", diff --git a/composer.lock b/composer.lock index 1c50d206..730c73d4 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f2f2e9b2ca4c2141a419ffa650e4fcc0", + "content-hash": "8671baa92dfc82b15e6d701a699dfb5a", "packages": [ { "name": "doctrine/inflector", @@ -997,16 +997,16 @@ }, { "name": "newfold-labs/wp-module-patterns", - "version": "0.1.14", + "version": "0.1.15", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-patterns.git", - "reference": "a104b98dd8c743e92230b3e383706e871530a0e5" + "reference": "4d82192a614f21b5e083fcd2c7893677dd974f9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-patterns/zipball/a104b98dd8c743e92230b3e383706e871530a0e5", - "reference": "a104b98dd8c743e92230b3e383706e871530a0e5", + "url": "https://api.github.com/repos/newfold-labs/wp-module-patterns/zipball/4d82192a614f21b5e083fcd2c7893677dd974f9c", + "reference": "4d82192a614f21b5e083fcd2c7893677dd974f9c", "shasum": "" }, "require-dev": { @@ -1040,10 +1040,10 @@ ], "description": "WordPress Cloud Patterns", "support": { - "source": "https://github.com/newfold-labs/wp-module-patterns/tree/0.1.14", + "source": "https://github.com/newfold-labs/wp-module-patterns/tree/0.1.15", "issues": "https://github.com/newfold-labs/wp-module-patterns/issues" }, - "time": "2024-02-16T20:03:09+00:00" + "time": "2024-03-15T15:00:55+00:00" }, { "name": "newfold-labs/wp-module-performance", From 5610674046d6357d8fa467a90e06cb40b80cddfe Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Tue, 19 Mar 2024 16:41:12 +0530 Subject: [PATCH 22/36] Bump Onboarding to 2.1.7 --- composer.json | 2 +- composer.lock | 73 +++++++++++++++++++++++---------------------------- 2 files changed, 34 insertions(+), 41 deletions(-) diff --git a/composer.json b/composer.json index ddb6aa00..54732c27 100644 --- a/composer.json +++ b/composer.json @@ -76,7 +76,7 @@ "newfold-labs/wp-module-loader": "^1.0.10", "newfold-labs/wp-module-marketplace": "^2.2.4", "newfold-labs/wp-module-notifications": "^1.2.5", - "newfold-labs/wp-module-onboarding": "^2.1.6", + "newfold-labs/wp-module-onboarding": "^2.1.7", "newfold-labs/wp-module-patterns": "^0.1.15", "newfold-labs/wp-module-performance": "^1.4.0", "newfold-labs/wp-module-runtime": "^1.0.9", diff --git a/composer.lock b/composer.lock index 730c73d4..5b0064e7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8671baa92dfc82b15e6d701a699dfb5a", + "content-hash": "0661bb470283f35a31be5aafc6306c13", "packages": [ { "name": "doctrine/inflector", @@ -157,7 +157,7 @@ "version": "1.2.2", "source": { "type": "git", - "url": "https://github.com/newfold-labs/container.git", + "url": "git@github.com:newfold-labs/container.git", "reference": "19bb75bb4a64a282f7d142fff9f3418177022851" }, "dist": { @@ -185,23 +185,20 @@ } ], "description": "A lightweight, PHP 7.0+ compatible, PSR-11 dependency injection container.", - "support": { - "source": "https://github.com/newfold-labs/container/tree/1.2.2" - }, "time": "2022-08-26T17:23:54+00:00" }, { "name": "newfold-labs/wp-module-ai", - "version": "1.1.6", + "version": "1.1.7", "source": { "type": "git", - "url": "https://github.com/newfold-labs/wp-module-ai.git", - "reference": "de39aa47b11d68c763087ac26cca674068d47161" + "url": "git@github.com:newfold-labs/wp-module-ai.git", + "reference": "2d1ea36f2a17c79934f3c41b02316d8d12fd299d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-ai/zipball/de39aa47b11d68c763087ac26cca674068d47161", - "reference": "de39aa47b11d68c763087ac26cca674068d47161", + "url": "https://api.github.com/repos/newfold-labs/wp-module-ai/zipball/2d1ea36f2a17c79934f3c41b02316d8d12fd299d", + "reference": "2d1ea36f2a17c79934f3c41b02316d8d12fd299d", "shasum": "" }, "require": { @@ -229,11 +226,7 @@ } ], "description": "A module for providing artificial intelligence capabilities.", - "support": { - "source": "https://github.com/newfold-labs/wp-module-ai/tree/1.1.6", - "issues": "https://github.com/newfold-labs/wp-module-ai/issues" - }, - "time": "2024-02-29T10:39:41+00:00" + "time": "2024-03-18T11:49:32+00:00" }, { "name": "newfold-labs/wp-module-coming-soon", @@ -345,16 +338,16 @@ }, { "name": "newfold-labs/wp-module-data", - "version": "2.4.19", + "version": "2.4.20", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-data.git", - "reference": "f12eb13775497758dc7671ed57fb45a5f7c74c42" + "reference": "f1389abb1808dd00d9b50b8d41bbd7c253640e77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/f12eb13775497758dc7671ed57fb45a5f7c74c42", - "reference": "f12eb13775497758dc7671ed57fb45a5f7c74c42", + "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/f1389abb1808dd00d9b50b8d41bbd7c253640e77", + "reference": "f1389abb1808dd00d9b50b8d41bbd7c253640e77", "shasum": "" }, "require": { @@ -395,10 +388,10 @@ ], "description": "Newfold Data Module", "support": { - "source": "https://github.com/newfold-labs/wp-module-data/tree/2.4.19", + "source": "https://github.com/newfold-labs/wp-module-data/tree/2.4.20", "issues": "https://github.com/newfold-labs/wp-module-data/issues" }, - "time": "2024-03-13T20:15:30+00:00" + "time": "2024-03-18T21:40:35+00:00" }, { "name": "newfold-labs/wp-module-deactivation", @@ -699,16 +692,16 @@ }, { "name": "newfold-labs/wp-module-installer", - "version": "1.1.2", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-installer.git", - "reference": "a5a683c2b6d2422a4e18c50919bdb8fd4bd89a5c" + "reference": "2f1289336d1f49c18a95b05aa7279c12471d3bd6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-installer/zipball/a5a683c2b6d2422a4e18c50919bdb8fd4bd89a5c", - "reference": "a5a683c2b6d2422a4e18c50919bdb8fd4bd89a5c", + "url": "https://api.github.com/repos/newfold-labs/wp-module-installer/zipball/2f1289336d1f49c18a95b05aa7279c12471d3bd6", + "reference": "2f1289336d1f49c18a95b05aa7279c12471d3bd6", "shasum": "" }, "require-dev": { @@ -734,10 +727,10 @@ ], "description": "An installer for WordPress plugins and themes.", "support": { - "source": "https://github.com/newfold-labs/wp-module-installer/tree/1.1.2", + "source": "https://github.com/newfold-labs/wp-module-installer/tree/1.1.4", "issues": "https://github.com/newfold-labs/wp-module-installer/issues" }, - "time": "2023-09-18T06:42:43+00:00" + "time": "2024-03-19T09:53:55+00:00" }, { "name": "newfold-labs/wp-module-loader", @@ -889,23 +882,23 @@ }, { "name": "newfold-labs/wp-module-onboarding", - "version": "2.1.6", + "version": "2.1.7", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-onboarding.git", - "reference": "8fc1a49b43b3db5d65bc42261c174dd7fd110c70" + "reference": "26b83feabccebf1800270c0552e171bceb03ebfc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/8fc1a49b43b3db5d65bc42261c174dd7fd110c70", - "reference": "8fc1a49b43b3db5d65bc42261c174dd7fd110c70", + "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/26b83feabccebf1800270c0552e171bceb03ebfc", + "reference": "26b83feabccebf1800270c0552e171bceb03ebfc", "shasum": "" }, "require": { "mustache/mustache": "^2.14", "newfold-labs/wp-module-facebook": "^1.0.6", "newfold-labs/wp-module-install-checker": "^1.0", - "newfold-labs/wp-module-onboarding-data": "^1.1.3", + "newfold-labs/wp-module-onboarding-data": "^1.1", "newfold-labs/wp-module-patterns": "^0.1.14", "wp-cli/wp-config-transformer": "^1.3", "wp-forge/helpers": "^2.0" @@ -944,23 +937,23 @@ ], "description": "Next-generation WordPress Onboarding for WordPress sites at Newfold Digital.", "support": { - "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.1.6", + "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.1.7", "issues": "https://github.com/newfold-labs/wp-module-onboarding/issues" }, - "time": "2024-03-06T08:58:22+00:00" + "time": "2024-03-19T10:50:21+00:00" }, { "name": "newfold-labs/wp-module-onboarding-data", - "version": "1.1.3", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-onboarding-data.git", - "reference": "a5e90dbdb748e2710f82654131b51973a6dabd12" + "reference": "722336c90e7b8d9950e9a2c60e62d507958fd05f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding-data/zipball/a5e90dbdb748e2710f82654131b51973a6dabd12", - "reference": "a5e90dbdb748e2710f82654131b51973a6dabd12", + "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding-data/zipball/722336c90e7b8d9950e9a2c60e62d507958fd05f", + "reference": "722336c90e7b8d9950e9a2c60e62d507958fd05f", "shasum": "" }, "require": { @@ -990,10 +983,10 @@ ], "description": "A non-toggleable module containing a standardized interface for interacting with Onboarding data.", "support": { - "source": "https://github.com/newfold-labs/wp-module-onboarding-data/tree/1.1.3", + "source": "https://github.com/newfold-labs/wp-module-onboarding-data/tree/1.1.4", "issues": "https://github.com/newfold-labs/wp-module-onboarding-data/issues" }, - "time": "2024-03-04T13:57:20+00:00" + "time": "2024-03-19T10:15:11+00:00" }, { "name": "newfold-labs/wp-module-patterns", From c58f6b7465556f86d0b397e486a5d95a7ba57818 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 15:37:20 +0000 Subject: [PATCH 23/36] Composer(deps): Bump newfold-labs/wp-module-deactivation Bumps [newfold-labs/wp-module-deactivation](https://github.com/newfold-labs/wp-module-deactivation) from 1.0.5 to 1.1.0. - [Release notes](https://github.com/newfold-labs/wp-module-deactivation/releases) - [Commits](https://github.com/newfold-labs/wp-module-deactivation/compare/1.0.5...1.1.0) --- updated-dependencies: - dependency-name: newfold-labs/wp-module-deactivation dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 54732c27..d5e089ab 100644 --- a/composer.json +++ b/composer.json @@ -69,7 +69,7 @@ "newfold-labs/wp-module-coming-soon": "^1.2.3", "newfold-labs/wp-module-context": "^1.0", "newfold-labs/wp-module-data": "^2.4.19", - "newfold-labs/wp-module-deactivation": "^1.0.5", + "newfold-labs/wp-module-deactivation": "^1.1.0", "newfold-labs/wp-module-ecommerce": "^1.3.24", "newfold-labs/wp-module-global-ctb": "^1.0.11", "newfold-labs/wp-module-help-center": "^1.0.23", diff --git a/composer.lock b/composer.lock index 5b0064e7..5131b10e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0661bb470283f35a31be5aafc6306c13", + "content-hash": "b249766c33852ba9bcfd3a027438c634", "packages": [ { "name": "doctrine/inflector", @@ -395,16 +395,16 @@ }, { "name": "newfold-labs/wp-module-deactivation", - "version": "1.0.5", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-deactivation.git", - "reference": "6706a53af02c1fd2b9cbe2ae88d53f28eec6e80f" + "reference": "83447e20df29e774c74cf0e2a82735e1a0b544f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-deactivation/zipball/6706a53af02c1fd2b9cbe2ae88d53f28eec6e80f", - "reference": "6706a53af02c1fd2b9cbe2ae88d53f28eec6e80f", + "url": "https://api.github.com/repos/newfold-labs/wp-module-deactivation/zipball/83447e20df29e774c74cf0e2a82735e1a0b544f6", + "reference": "83447e20df29e774c74cf0e2a82735e1a0b544f6", "shasum": "" }, "require": { @@ -449,10 +449,10 @@ ], "description": "A Module for handling WordPress brand plugins and modules deactivations", "support": { - "source": "https://github.com/newfold-labs/wp-module-deactivation/tree/1.0.5", + "source": "https://github.com/newfold-labs/wp-module-deactivation/tree/1.1.0", "issues": "https://github.com/newfold-labs/wp-module-deactivation/issues" }, - "time": "2024-02-08T18:34:32+00:00" + "time": "2024-03-18T18:28:09+00:00" }, { "name": "newfold-labs/wp-module-ecommerce", From 0ebcc5cc63391b954727b2a6370f094b83f8d11b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 15:51:07 +0000 Subject: [PATCH 24/36] Composer(deps): Bump newfold-labs/wp-module-help-center Bumps [newfold-labs/wp-module-help-center](https://github.com/newfold-labs/wp-module-help-center) from 1.0.23 to 1.0.24. - [Release notes](https://github.com/newfold-labs/wp-module-help-center/releases) - [Commits](https://github.com/newfold-labs/wp-module-help-center/compare/1.0.23...1.0.24) --- updated-dependencies: - dependency-name: newfold-labs/wp-module-help-center dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index d5e089ab..f157e136 100644 --- a/composer.json +++ b/composer.json @@ -72,7 +72,7 @@ "newfold-labs/wp-module-deactivation": "^1.1.0", "newfold-labs/wp-module-ecommerce": "^1.3.24", "newfold-labs/wp-module-global-ctb": "^1.0.11", - "newfold-labs/wp-module-help-center": "^1.0.23", + "newfold-labs/wp-module-help-center": "^1.0.24", "newfold-labs/wp-module-loader": "^1.0.10", "newfold-labs/wp-module-marketplace": "^2.2.4", "newfold-labs/wp-module-notifications": "^1.2.5", diff --git a/composer.lock b/composer.lock index 5131b10e..ed4f5e75 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b249766c33852ba9bcfd3a027438c634", + "content-hash": "c4c39adc94aa5488d3e203aedbb56057", "packages": [ { "name": "doctrine/inflector", @@ -607,20 +607,20 @@ }, { "name": "newfold-labs/wp-module-help-center", - "version": "1.0.23", + "version": "1.0.24", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-help-center.git", - "reference": "a41e0126ed61bde0b494e4f242d99df0e81766b9" + "reference": "3dbab326c33ef692dc59eb45f1898631b4088b6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-help-center/zipball/a41e0126ed61bde0b494e4f242d99df0e81766b9", - "reference": "a41e0126ed61bde0b494e4f242d99df0e81766b9", + "url": "https://api.github.com/repos/newfold-labs/wp-module-help-center/zipball/3dbab326c33ef692dc59eb45f1898631b4088b6e", + "reference": "3dbab326c33ef692dc59eb45f1898631b4088b6e", "shasum": "" }, "require": { - "newfold-labs/wp-module-ai": "^1.0.3", + "newfold-labs/wp-module-ai": "^1.1.7", "newfold-labs/wp-module-data": "^2.3.4" }, "require-dev": { @@ -646,10 +646,10 @@ ], "description": "HelpCenter", "support": { - "source": "https://github.com/newfold-labs/wp-module-help-center/tree/1.0.23", + "source": "https://github.com/newfold-labs/wp-module-help-center/tree/1.0.24", "issues": "https://github.com/newfold-labs/wp-module-help-center/issues" }, - "time": "2024-01-17T20:32:44+00:00" + "time": "2024-03-18T21:10:17+00:00" }, { "name": "newfold-labs/wp-module-install-checker", From 38ce88e4ded8fe7e9e531ad5a610c57e324d853c Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Tue, 19 Mar 2024 11:59:25 -0400 Subject: [PATCH 25/36] composer validate --- composer.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.lock b/composer.lock index 221b5709..6637d3fb 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c4c39adc94aa5488d3e203aedbb56057", + "content-hash": "92fd1f21bcaa498d789089e319c27c9f", "packages": [ { "name": "doctrine/inflector", From 54f57496e0e94e22871d7a1e5d1cad03b341782a Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Tue, 19 Mar 2024 13:32:46 -0400 Subject: [PATCH 26/36] update staging to latest to fix tests --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 2a1fcd20..e1c3f48b 100644 --- a/composer.json +++ b/composer.json @@ -82,7 +82,7 @@ "newfold-labs/wp-module-runtime": "^1.0.9", "newfold-labs/wp-module-secure-passwords": "^1.1.1", "newfold-labs/wp-module-sso": "^1.0.4", - "newfold-labs/wp-module-staging": "^1.3.1", + "newfold-labs/wp-module-staging": "^1.3.2", "wp-forge/wp-update-handler": "^1.0.2", "wp-forge/wp-upgrade-handler": "^1.0" } diff --git a/composer.lock b/composer.lock index 6637d3fb..eb943053 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "92fd1f21bcaa498d789089e319c27c9f", + "content-hash": "ce55ddc3b1782cd20994ad9408e0ef35", "packages": [ { "name": "doctrine/inflector", @@ -1229,16 +1229,16 @@ }, { "name": "newfold-labs/wp-module-staging", - "version": "1.3.1", + "version": "1.3.2", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-staging.git", - "reference": "4358628ec018976d21b87b4cbd08802f5a28bcf3" + "reference": "0dfda9c88034066a633b4a9a9bc532a62c4eb79f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-staging/zipball/4358628ec018976d21b87b4cbd08802f5a28bcf3", - "reference": "4358628ec018976d21b87b4cbd08802f5a28bcf3", + "url": "https://api.github.com/repos/newfold-labs/wp-module-staging/zipball/0dfda9c88034066a633b4a9a9bc532a62c4eb79f", + "reference": "0dfda9c88034066a633b4a9a9bc532a62c4eb79f", "shasum": "" }, "require": { @@ -1275,10 +1275,10 @@ ], "description": "Newfold module for staging functionality in brand plugins", "support": { - "source": "https://github.com/newfold-labs/wp-module-staging/tree/1.3.1", + "source": "https://github.com/newfold-labs/wp-module-staging/tree/1.3.2", "issues": "https://github.com/newfold-labs/wp-module-staging/issues" }, - "time": "2024-03-15T16:43:57+00:00" + "time": "2024-03-19T17:24:51+00:00" }, { "name": "wp-cli/wp-config-transformer", From 86f6147de58fe051913c71889022656600ba1ea7 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Tue, 19 Mar 2024 14:30:44 -0400 Subject: [PATCH 27/36] bump plugin version to 2.7.1 --- package-lock.json | 16 ++++++++-------- package.json | 2 +- wp-plugin-hostgator.php | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index d58c8354..9d1f7408 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "wp-plugin-hostgator", - "version": "2.7.0", + "version": "2.7.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "wp-plugin-hostgator", - "version": "2.7.0", + "version": "2.7.1", "license": "GPL-2.0-or-later", "dependencies": { "@heroicons/react": "^2.1.1", @@ -11865,9 +11865,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true, "funding": [ { @@ -31961,9 +31961,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true }, "for-each": { diff --git a/package.json b/package.json index 0267c270..19d8480e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "wp-plugin-hostgator", "description": "WordPress plugin that integrates your WordPress site with the HostGator control panel, including performance, security, and update features.", "license": "GPL-2.0-or-later", - "version": "2.7.0", + "version": "2.7.1", "private": true, "contributors": [ "Abdulrahman Al Ani (https://alani.dev/)", diff --git a/wp-plugin-hostgator.php b/wp-plugin-hostgator.php index 5fc86607..489210a5 100644 --- a/wp-plugin-hostgator.php +++ b/wp-plugin-hostgator.php @@ -12,7 +12,7 @@ * Plugin URI: https://hostgator.com * Update URI: https://github.com/newfold-labs/wp-plugin-hostgator/ * Description: WordPress plugin that integrates a WordPress site with the HostGator control panel, including performance, security, and update features. - * Version: 2.7.0 + * Version: 2.7.1 * Requires at least: 6.2 * Requires PHP: 7.3 * Tested up to: 6.4.3 @@ -32,7 +32,7 @@ } // Define constants -define( 'HOSTGATOR_PLUGIN_VERSION', '2.7.0' ); +define( 'HOSTGATOR_PLUGIN_VERSION', '2.7.1' ); define( 'HOSTGATOR_PLUGIN_FILE', __FILE__ ); define( 'HOSTGATOR_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'HOSTGATOR_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); From 6eb71be40bbd18a31e0410f51f60a969f231e5bb Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Tue, 19 Mar 2024 14:39:42 -0400 Subject: [PATCH 28/36] update language files for release --- ...ugin-hostgator-es_MX-hostgator-script.json | 8 +- languages/wp-plugin-hostgator-es_MX.po | 362 +++++++++--------- ...ugin-hostgator-pt_BR-hostgator-script.json | 8 +- languages/wp-plugin-hostgator-pt_BR.mo | Bin 19771 -> 19729 bytes languages/wp-plugin-hostgator-pt_BR.po | 362 +++++++++--------- languages/wp-plugin-hostgator.pot | 360 ++++++++--------- 6 files changed, 550 insertions(+), 550 deletions(-) diff --git a/languages/wp-plugin-hostgator-es_MX-hostgator-script.json b/languages/wp-plugin-hostgator-es_MX-hostgator-script.json index a6b81e8b..b6c408e5 100644 --- a/languages/wp-plugin-hostgator-es_MX-hostgator-script.json +++ b/languages/wp-plugin-hostgator-es_MX-hostgator-script.json @@ -1,7 +1,7 @@ { "translation-revision-date": "2023-08-24 18:27", "generator": "WP-CLI\/2.10.0", - "source": "build\/2.7.0\/index.js", + "source": "build\/2.7.1\/index.js", "domain": "messages", "locale_data": { "messages": { @@ -534,9 +534,6 @@ "An unknown error has occurred.": [ "" ], - "Working...": [ - "" - ], "Not Live": [ "" ], @@ -548,6 +545,9 @@ ], "Sales & Promotions": [ "" + ], + "Working\u2026": [ + "" ] } } diff --git a/languages/wp-plugin-hostgator-es_MX.po b/languages/wp-plugin-hostgator-es_MX.po index 5f8e0ae3..661a7b48 100644 --- a/languages/wp-plugin-hostgator-es_MX.po +++ b/languages/wp-plugin-hostgator-es_MX.po @@ -79,28 +79,28 @@ msgstr "Obtener una vista previa de la próxima página de destino" #: inc/Admin.php:62 #: inc/Admin.php:312 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Home" msgstr "Pagina principal" #: inc/Admin.php:64 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Marketplace" msgstr "Mercado en Línea" #: inc/Admin.php:65 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Performance" msgstr "Rendimiento" #: inc/Admin.php:66 #: inc/Admin.php:313 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Settings" msgstr "Configuraciones" #: inc/Admin.php:68 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Help" msgstr "Ayuda" @@ -170,706 +170,706 @@ msgstr "Actualizaciones automáticas habilitadas en la página Configuración&JTtPH7Kttey#2XPr9wwk6*?<;k4V63^4xAZ8BMM5F~he*eyyiMib0-rqUjUTd$tzVAMBf3uDE zH>(`!*!=6ozy1FA@_%W4W~JnE=PRlI5{)uEIQ;+Ja-n!9ilxA11>hUQk0Y-!Jn*@pu-oeA_ArULhH1i#Bs zJi=-0>BAOW%oO!jp3ToO@z%1F_+_0z0&ZpB|kwf5}IWCO3`r@4?nV=6Ydp_JupVs^TdIf|#51b@NHc!b09{CDnK4K#%bG?OXu zjm(ahF+1AA9Km;(F5kg4?NdzR2beScEmNVlnC2bQ&u+Pb=kW}4U;qA+6~7EO$byTw zkT)|&@e)V#2*9E!J@tQ<0}>$?{WHvg0=m zvV&914q6PXz9Kttr};dlbY~B$R;Vk})dQKpm(dekp5sWq%Ejz(z9)eznCr)wjWrA| z<+EqGZ*cATe^h5I@WHeEAba@LlattniIA%j?r|i!LL1nU z-(>!{Jj4Xt$@IXJY{QpX&)+al!_k_RGX^)f&_ze36?c)%*vq;Z*Nsm9La729CWv&SZFmWBDdKap3UkpWBga zVLp%9!6J6%DvssdOu~nl4ZO~r{o70>TVGzS$c0R$Ci2QW|1%9#wQQ+f#f1_?Ny3HWhl z!KKU>E7T@s8`tueOpnYRRSme3|2s0)xxSS-vIm(L)=oC^$4rwRWh&FU$=b>IB7+1R z$DG|<_TXYB0-t08=dG2qZ_7SxWCxCC{&vhAQ+xi` zx{xE-#Hrj%k8EkLzUl5U%$ZHD&1ccEmIX|ro9L%J=2sFr!IbGZh@h zIxgY@E@7Uk7dV5JUm09wFi_fAXgQPFyG)n&oLtJioXq2Vohj*0yp{U$cdTR1EhVjI z?r+bWbrX}&45lX*@>(wA;k>P1G)P7dTv@&038vJ0xrv9_pSMk`z6tN;=X0G)I7{~W ct?XuZzJJxO{cY;c-F0}-jsd$iPute)zfv}2GXMYp delta 3344 zcmYM$dyv&-83*u}WO0#&*yVl^7Fbyq5agl;q6>Hd0WT#er6`aiZYWEJWVUkDYQk)+ zxL8VmsFj9Jj71S@mZReZ!NJKgl?E?0W;t0pqTw{y=j%B$G0T45-|w9BKF|9+&+owZ z?&$XL9o;Gin!0Z({_OF0xW8+A^Jiv--pI{u21Ee}&JWiQ)#fCD(fF~lg- zn9|Q>Js0s@E@dkEGY;bOHQ%D2a)eD3w+v<_8?{=fYMH@VoXtHf0sG%p@Hh31nQ)j%my<)hoo8|$oB5sE z{Re73$RzX_Q@LkqKF1-hU*L)SH&dxrlbM!I<6_Pkto{k~12@v!yV%Sp*upoMUiGqD z?8}}Uz$7}7Lphn5k%c^;U!{+heN3s}WKR46v(FJelzr+ewM7$K-5AaUKAovd2NS4^ z$^2I4BtK+IyRCNpAkTLFBv-Qkuu?w9E++7wn81Hw4*X`#$~zVb@FBIgH24z8@Qr3F zGPQPnA&+x?1<&Gb9LHCg()aSLB~T-CeKaR?472}Yj^|3IWt-@um9o_$!?KHc<6fo$ z2beb=;aST`dok}D#`8FdOLzk>Q& zmfy3I6Cbq53F^jHPcVpcU60}e>|jbaw6$8HvCLGT$OJxv`DWWkk9K*PGx!cK=Y(S= z%}vbxkC+3_XjA{SpU}^?YVV#fAs2b!MNZ%}zlL%-8`#AJxS2V@olMUk=TyGH(|DA= zozHW4G4H18myehk8s%A?&J!l8|CcQ~-N?p&{7H_8%fZ&}Zgyqoj*Sj}GE z{2AAan2qjbJ%7!#;!!5x9%dGvV*~%e9{hlLDk_I-i$Nx8sT;>LCBKz@xQ#uzi`n2Y zc5om4l-9J^Ws<_+KWm9wsNH?M?Gmn%K^EHnGAaw2_zaUiM-Squ<6Rre!lZTKuxmqK=(R zz-yR**E1V_lbQBAXl}|Qyn+8>W@OFD)qtD%am$$fb}=pcEqikhTlf+)q=#8aX~xd1 zZZMAtxRmML8V=!&OvYPzG4JPBSnu0uJ#S(X@8(-7mFdX@?!yEg#`M08BiPPHUUI7X zkF!|gMgni;6mI8Pe2pI2GG2W%-JfNqdqwT~Dr#?8$0WL)e#+B+C87FR)spvR9@`mA zB1@PGte#b=mijg~lE9rz?{@HVKF#YmX}15}@IL1C0dxEt&v8s;?%{CmWLoe%&*bY& zLT#s2XP|?La}87B4Hb(_{q0QYo~XU>3^Q!|nWy7*4&ouE5{;+(KLUsPbp|hG68#C2 zNVA&>a0*kwb6CeNUc{T&kCg)!=UBYUg`6$zY;-G=SkJlDDL;W5U9aF9Jjj&v&%TwK z`625#Oy4rRqnOW+XL@}hlTZgU6W8&AQa)ccSnPM>6(*yH=T|?lk16$Q+{E{p(tc|} z^=Y`BVwT@<9qVMjl3g^9<*yvf(P!^?sG-NO`p&CYb*x@FapI0gT7NO7_oAzpuULNN Q70Xv&*6G$&3x3?~f3J;dQ2+n{ diff --git a/languages/wp-plugin-hostgator-pt_BR.po b/languages/wp-plugin-hostgator-pt_BR.po index 26bf476e..101d734b 100644 --- a/languages/wp-plugin-hostgator-pt_BR.po +++ b/languages/wp-plugin-hostgator-pt_BR.po @@ -79,38 +79,38 @@ msgstr "Visualize a página de destino em breve" #: inc/Admin.php:62 #: inc/Admin.php:312 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Home" msgstr "Início" #: inc/Admin.php:63 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Store" msgstr "Loja" #: inc/Admin.php:64 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Marketplace" msgstr "Mercado" #: inc/Admin.php:65 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Performance" msgstr "Desempenho" #: inc/Admin.php:66 #: inc/Admin.php:313 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Settings" msgstr "Configurações" #: inc/Admin.php:67 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Staging" msgstr "Encenação" #: inc/Admin.php:68 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Help" msgstr "Ajuda" @@ -180,696 +180,696 @@ msgstr "Atualizações automáticas habilitadas na página HostGa msgid "Auto-updates enabled" msgstr "Atualizações automáticas habilitadas" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Hostgator WordPress Plugin" msgstr "Plugin do HostGator para WordPress" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Oh No, An Error!" msgstr "Oh, Não, Um Erro!" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "You found an error, please refresh the page and try again!" msgstr "Você encontrou um erro, por favor atualize a página e tente novamente!" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "If the error persists, please contact support." msgstr "Se o erro persistir, por favor contate o suporte." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " Error code: " msgstr " Código de erro: " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "HostGator Account" msgstr "Conta de HostGator" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Phone" msgstr "Telefone" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Give us a ring at (866) 96-GATOR" msgstr "Ligue para nós" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Call Us" msgstr "Ligue para nós" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Chat" msgstr "Chat" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Have a question? We're here 24/7/365" msgstr "Tem uma dúvida? Estamos aqui 24/7" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Live Chat" msgstr "Chat ao Vivo" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Tweet" msgstr "Tweet" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Tweet us at @hgsupport for support" msgstr "Envie um tweet para @hgsupport para suporte" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Tweet Us" msgstr "Tweet-nos" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Knowledge Base" msgstr "Base de Conhecimento" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Know what the pros know." msgstr "Saiba o que os profissionais sabem." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Find Answers" msgstr "Encontre Respostas" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Blog" msgstr "Blog" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Get our tips and in-depth articles." msgstr "Receba nossas dicas e artigos detalhados." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Learn Stuff" msgstr "Aprenda Coisas" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Video Tutorials" msgstr "Vídeos Tutoriais" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Step-by-step tutorials and additional guides." msgstr "Tutoriais passo a passo e guias adicionais." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Watch Now" msgstr "Assista Agora" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "There's nothing here!" msgstr "Não há nada aqui!" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Store Details" msgstr "Detalhes da Loja" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "We are available 24/7 to help answer questions and solve your problems." msgstr "Estamos disponíveis 24/7 para ajudar a responder perguntas e resolver seus problemas." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "More" msgstr "Mais" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Settings and Performance" msgstr "Configurações e Desempenho" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Customize & fine-tune your site." msgstr "Personalize & ajuste seu site." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage Settings" msgstr "Gerenciar Configurações" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage your site settings. You can ajdust automatic updates, comments, revisions and more." msgstr "Gerencie as configurações do seu site. Você pode ajustar atualizações automáticas, comentários, revisões e muito mais." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage site performance and caching settings as well as clear the site cache." msgstr "Gerencie o desempenho do site e as configurações de cache, bem como limpe o cache do site." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Visit Marketplace" msgstr "Visite o Mercado" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Add site services, themes or plugins from the marketplace." msgstr "Adicione serviços de site, temas ou plugins da loja." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Website Content" msgstr "Conteúdo do Site" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Create, manage & sort your story." msgstr "Crie, gerencie e classifique seu conteúdo." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "New Post" msgstr "Nova postagem" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Write a new blog post." msgstr "Escreva uma nova postagem no blog." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Pages" msgstr "Páginas" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "New Page" msgstr "Nova Página" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Add fresh pages to your website." msgstr "Adicione novas páginas ao seu site." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Categories" msgstr "Categorias" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage Categories" msgstr "Gerenciar Categorias" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Organize existing content into categories." msgstr "Organize o conteúdo existente em categorias." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Web Hosting" msgstr "Hospedagem de Sites" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Access & manage your HostGator account." msgstr "Acesse & gerencie sua conta HostGator." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage Sites" msgstr "Gerenciar Sites" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage your site from the control panel. You can create backups, set security, and improve performance." msgstr "Gerencie seu site a partir do painel de controle. Você pode criar backups, definir a segurança e melhorar o desempenho." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Email" msgstr "E-mail" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage Email" msgstr "Gerenciar E-mail" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Create email accounts, compose, send, and receive your email from the control panel." msgstr "Crie contas de e-mail, componha, envie e receba seu e-mail no painel de controle." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Domains" msgstr "Domínios" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage Domain" msgstr "Gerenciar Domínio" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Find a Domain" msgstr "Encontre um Domínio" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Find a new domain and assign it to your site or start a new site with a fresh domain." msgstr "Encontre um novo domínio e atribua-o ao seu site ou inicie um novo site com um novo domínio." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Get Help" msgstr "Obter Ajuda" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "24/7/365 support. We work when you work." msgstr "Suporte 24/7/365. Nós trabalhamos quando você trabalha." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Explore our featured collection of tools and services." msgstr "Explore nossa coleção em destaque de ferramentas e serviços." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Oops, there was an error loading the marketplace, please try again later." msgstr "Oops, ocorreu um erro ao carregar. Por favor, tente novamente mais tarde." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Sorry, no marketplace items. Please, try again later." msgstr "Desculpe, sem itens no mercado. Por favor, tente novamente mais tarde." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Load More" msgstr "Carregar mais" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "No cache enabled." msgstr "Nenhum cache ativado." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Every page load is fresh." msgstr "Cada carregamento de página é novo/fresco." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Disabled" msgstr "Desativado" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Not recommended." msgstr "Não recomendado." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache static assets like images and the appearance of your site for 1 hour." msgstr "Recurso de caches estáticos, como imagens e a aparência do seu site, por 1 hora." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Assets Only" msgstr "Somente Recursos" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache enabled for assets only." msgstr "Cache ativado apenas para recursos." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Recommended for ecommerce and sites that update frequently or display info in real-time." msgstr "Recomendado para comércio eletrônico e sites que são atualizados com frequência ou exibem informações em tempo real." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache static assets for 24 hours and web pages for 2 hours." msgstr "Recurso de caches estáticos por 24 horas e páginas da web por 2 horas." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Assets & Web Pages" msgstr "Recursos & Páginas da Web" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache enabled for assets and pages." msgstr "Cache ativado para ativos e páginas." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Recommended for blogs, educational sites, and sites that update at least weekly." msgstr "Recomendado para blogs, sites educacionais e sites que são atualizados pelo menos uma vez por semana." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache static assets for 1 week and web pages for 8 hours." msgstr "Recurso de caches estáticos por 1 semana e páginas da web por 8 horas." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Assets & Web Pages - Extended" msgstr "Recursos & Páginas da Web - Estendido" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache enabled for assets and pages (extended)." msgstr "Cache ativado para recursos e páginas (estendido)." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Recommended for sites that update a few times a month or less like porfolios or brochure sites." msgstr "Recomendado para sites que atualizam algumas vezes por mês ou menos, como porfólios ou sites de correio." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Boost speed and performance by storing a copy of your website content, files, and images online so the pages of your website load faster for your visitors." msgstr "Aumente a velocidade e o desempenho armazenando uma cópia do conteúdo, arquivos e imagens do seu site on-line para que as páginas do seu site sejam carregadas mais rapidamente para seus visitantes." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache setting saved" msgstr "Configurações de cache salvas" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache Level" msgstr "Levels de Cache" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Clear All Cache Now" msgstr "Limpar Todo o Cache Agora" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "We automatically clear your cache as you work (creating content, changing settings, installing plugins and more). But you can manually clear it here to be confident it's fresh." msgstr "Limpamos automaticamente o seu cache enquanto você trabalha (criando conteúdo, alterando configurações, instalando plugins e mais). Mas você pode limpá-lo manualmente aqui para ter certeza de que está atualizado." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache cleared" msgstr "Cache limpo" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Clear Cache" msgstr "Limpar Cache" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This is where you can manage cache settings for your website." msgstr "Aqui é onde você pode gerenciar as configurações de cache para o seu site." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage All Updates" msgstr "Gerenciar Todas as Atualizações" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "WordPress Core" msgstr "Núcleo de WordPress" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Plugins" msgstr "Plugins" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Themes" msgstr "Temas" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Automatic Updates" msgstr "Atualizações Automáticas" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Keeping automatic updates on ensures timely security fixes and the latest features." msgstr "Mantendo as atualizações automáticas ativadas, você garante correções de segurança oportunas e os recursos mais recentes." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Oops! Something went wrong. Please try again." msgstr "Oops! Algo deu errado. Por favor, tente novamente." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Site Status" msgstr "Status do Site" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Live" msgstr "Ativa" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Your Hostgator Coming Soon page lets you hide your site from visitors while you make the magic happen." msgstr "Sua página de 'Em Breve' da Hostgator permite ocultar seu site dos visitantes enquanto você faz a mágica acontecer." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Your website is currently displaying a \"Coming Soon\" page." msgstr "Seu site está atualmente exibindo uma página de \"Em Breve\"." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Disable comments for older posts" msgstr "Desabilitar comentários de postagens mais antigas" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Comments setting saved " msgstr "Configuração de comentários salva " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Comments on posts are disabled after " msgstr "Os comentários em postagens são desativados após " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " day." msgid_plural " days." msgstr[0] " dia." msgstr[1] " dias." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Close comments after " msgstr "Fechar comentários após " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Comments setting saved." msgstr "Configuração de comentários salva." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Posts will display " msgstr "As postagens serão exibidas " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " comment at a time." msgid_plural " comments at a time." msgstr[0] " comentário por vez." msgstr[1] " comentários por vez." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Display " msgstr "Exibir " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " comments per page." msgstr " comentários por página." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Comments" msgstr "Comentários" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Comments allow visitors to provide feedback and respond to your posts or pages." msgstr "Os comentários permitem que os visitantes forneçam feedback e respondam às suas postagens ou páginas." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Post revision setting saved " msgstr "Configuração de revisão de post salvo " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Posts will save " msgstr "Posts serão salvos " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " revision." msgid_plural " revisions." msgstr[0] " revisão." msgstr[1] " revisões." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Number of revisions posts can save " msgstr "Número de posts de revisões pode salvar " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Saving drafts and updating published content creates revisions. Make changes with confidence, knowing you can take " msgstr "Salvar rascunhos e atualizar conteúdo publicado cria revisões. Faça alterações com confiança, sabendo que você pode " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " step back." msgid_plural " steps back." msgstr[0] " passo de volta." msgstr[1] " passos de volta." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Trash setting saved " msgstr "Configuração de Lixeira salva " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "The trash will automatically empty every " msgstr "A lixeira será automaticamente vazia a cada " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " week." msgid_plural " weeks." msgstr[0] " semana." msgstr[1] " semanas." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Trash emptying frequency " msgstr "Frequência da lixeira vazia " -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Content Options" msgstr "Opções de Conteúdo" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Controls for content revisions and how often to empty the trash." msgstr "Controles para revisões de conteúdo e com que frequência esvaziar a lixeira." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This is where you can manage common settings for your website." msgstr "Aqui é onde você pode gerenciar as configurações comuns para o seu site." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cancel" msgstr "Cancelar" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Clone" msgstr "Clonar" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Confirm Clone Action" msgstr "Confirmar Ação de Clonar" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?" msgstr "Isto irá sobrescrever qualquer coisa em Staging e atualizá-lo para um clone exato do site de produção atual. Tem certeza que deseja continuar?" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cloned to Staging" msgstr "Clonado para Encenação" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cloning production to staging, this should take about a minute." msgstr "A clonagem da produção para a fase de estagnação, o que deve demorar cerca de um momento." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Clone to staging" msgstr "Clonado para Encenação" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Created" msgstr "Criado" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Staging Created" msgstr "Encenação criada" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Creating a staging site, this should take about a minute." msgstr "Criando um encenação site, isso deve levar cerca de um minuto." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Create staging site" msgstr "Criar encenação site" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Currently editing" msgstr "Atualmente editando" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Delete" msgstr "Deletar" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Confirm Delete" msgstr "Confirme Deletar" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you've made to this staging site will be lost." msgstr "Isto irá excluir o site de encenação permanentemente. Tem certeza que deseja continuar? Você pode recriar outro site de encenação a qualquer momento, mas quaisquer alterações específicas feitas neste site serão perdidas." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deleted Staging" msgstr "Deletado Encenação" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deleting the staging site, this should take about a minute." msgstr "Criando um encenação site, isso deve levar cerca de um minuto." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Delete Staging Site" msgstr "Deletar Encenação Site" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploy" msgstr "Implantar" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploy all changes" msgstr "Implementar todas as alterações" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Confirm Deployment" msgstr "Confirmar Implantação" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploy database only" msgstr "Apenas implantar banco de dados" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?" msgstr "Isto irá implantar o staging para produção e sobrescrever o site de produção atual. Tem certeza que deseja continuar?" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploy files only" msgstr "Implantar apenas arquivos" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deployed" msgstr "Implantado" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploying from staging to production, this should take about a minute." msgstr "Implantando da fase para a produção, isto deve levar cerca de um minuto." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploy Site" msgstr "Site Implantar" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Error" msgstr "Erro" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Not currently editing" msgstr "Não está editando atualmente" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Proceed" msgstr "Continuar" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Production Site" msgstr "Site de Produção" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Staging Site" msgstr "Site Encenação" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready." msgstr "Um site encenação é uma duplicata do seu site ao vivo, oferecendo um ambiente seguro para experimentar, testar atualizações e implantar quando estiver pronto." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switch" msgstr "Trocar" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switching" msgstr "Trocando" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switch to Production" msgstr "Trocar para Produção" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This will navigate you to the production environment" msgstr "Isto irá navegar para o site de produção" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Loading the production environment now." msgstr "Carregando site de produção agora." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switching to the production environment, this should take about a minute." msgstr "Troca para o site de produção, isso deve levar cerca de um minuto." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switch to Staging" msgstr "Trocar para Encenação" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This will navigate you to the staging environment" msgstr "Isto irá navegar para o site de encenação" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Loading the staging environment now." msgstr "Carregando o site de encenação agora." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switching to the staging environment, this should take about a minute." msgstr "Troca para o site de encenação, isso deve levar cerca de um minuto." -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "An unknown error has occurred." msgstr "Um erro desconhecido ocorreu." -#: build/2.7.0/index.js:1 -msgid "Working..." -msgstr "Trabalhando..." - -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Not Live" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Coming Soon page" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Products & Services" msgstr "Produtos & Serviços" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Sales & Promotions" msgstr "Vendas & Promoções" + +#: build/2.7.1/index.js:1 +msgid "Working…" +msgstr "Trabalhando…" diff --git a/languages/wp-plugin-hostgator.pot b/languages/wp-plugin-hostgator.pot index 73915be1..45635dd5 100644 --- a/languages/wp-plugin-hostgator.pot +++ b/languages/wp-plugin-hostgator.pot @@ -2,7 +2,7 @@ # This file is distributed under the GPL 2.0 or later. msgid "" msgstr "" -"Project-Id-Version: The HostGator Plugin 2.7.0\n" +"Project-Id-Version: The HostGator Plugin 2.7.1\n" "Report-Msgid-Bugs-To: https://github.com/newfold-labs/wp-plugin-hostgator/issues\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -74,38 +74,38 @@ msgstr "" #: inc/Admin.php:62 #: inc/Admin.php:312 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Home" msgstr "" #: inc/Admin.php:63 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Store" msgstr "" #: inc/Admin.php:64 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Marketplace" msgstr "" #: inc/Admin.php:65 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Performance" msgstr "" #: inc/Admin.php:66 #: inc/Admin.php:313 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Settings" msgstr "" #: inc/Admin.php:67 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Staging" msgstr "" #: inc/Admin.php:68 -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Help" msgstr "" @@ -175,696 +175,696 @@ msgstr "" msgid "Auto-updates enabled" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Hostgator WordPress Plugin" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Oh No, An Error!" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "You found an error, please refresh the page and try again!" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "If the error persists, please contact support." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " Error code: " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "HostGator Account" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Phone" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Give us a ring at (866) 96-GATOR" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Call Us" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Chat" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Have a question? We're here 24/7/365" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Live Chat" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Tweet" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Tweet us at @hgsupport for support" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Tweet Us" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Knowledge Base" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Know what the pros know." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Find Answers" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Blog" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Get our tips and in-depth articles." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Learn Stuff" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Video Tutorials" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Step-by-step tutorials and additional guides." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Watch Now" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "There's nothing here!" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Products & Services" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Sales & Promotions" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Store Details" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "We are available 24/7 to help answer questions and solve your problems." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "More" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Settings and Performance" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Customize & fine-tune your site." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage Settings" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage your site settings. You can ajdust automatic updates, comments, revisions and more." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage site performance and caching settings as well as clear the site cache." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Visit Marketplace" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Add site services, themes or plugins from the marketplace." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Website Content" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Create, manage & sort your story." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "New Post" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Write a new blog post." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Pages" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "New Page" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Add fresh pages to your website." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Categories" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage Categories" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Organize existing content into categories." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Web Hosting" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Access & manage your HostGator account." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage Sites" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage your site from the control panel. You can create backups, set security, and improve performance." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Email" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage Email" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Create email accounts, compose, send, and receive your email from the control panel." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Domains" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage Domain" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Find a Domain" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Find a new domain and assign it to your site or start a new site with a fresh domain." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Get Help" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "24/7/365 support. We work when you work." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Explore our featured collection of tools and services." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Oops, there was an error loading the marketplace, please try again later." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Sorry, no marketplace items. Please, try again later." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Load More" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "No cache enabled." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Every page load is fresh." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Disabled" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Not recommended." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache static assets like images and the appearance of your site for 1 hour." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Assets Only" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache enabled for assets only." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Recommended for ecommerce and sites that update frequently or display info in real-time." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache static assets for 24 hours and web pages for 2 hours." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Assets & Web Pages" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache enabled for assets and pages." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Recommended for blogs, educational sites, and sites that update at least weekly." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache static assets for 1 week and web pages for 8 hours." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Assets & Web Pages - Extended" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache enabled for assets and pages (extended)." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Recommended for sites that update a few times a month or less like porfolios or brochure sites." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Boost speed and performance by storing a copy of your website content, files, and images online so the pages of your website load faster for your visitors." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache setting saved" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache Level" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Clear All Cache Now" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "We automatically clear your cache as you work (creating content, changing settings, installing plugins and more). But you can manually clear it here to be confident it's fresh." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cache cleared" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Clear Cache" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This is where you can manage cache settings for your website." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Manage All Updates" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "WordPress Core" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Plugins" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Themes" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Automatic Updates" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Keeping automatic updates on ensures timely security fixes and the latest features." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Oops! Something went wrong. Please try again." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Site Status" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Not Live" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Live" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Coming Soon page" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Your Hostgator Coming Soon page lets you hide your site from visitors while you make the magic happen." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Your website is currently displaying a \"Coming Soon\" page." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Disable comments for older posts" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Comments setting saved " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Comments on posts are disabled after " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " day." msgid_plural " days." msgstr[0] "" msgstr[1] "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Close comments after " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Comments setting saved." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Posts will display " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " comment at a time." msgid_plural " comments at a time." msgstr[0] "" msgstr[1] "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Display " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " comments per page." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Comments" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Comments allow visitors to provide feedback and respond to your posts or pages." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Post revision setting saved " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Posts will save " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " revision." msgid_plural " revisions." msgstr[0] "" msgstr[1] "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Number of revisions posts can save " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Saving drafts and updating published content creates revisions. Make changes with confidence, knowing you can take " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " step back." msgid_plural " steps back." msgstr[0] "" msgstr[1] "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Trash setting saved " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "The trash will automatically empty every " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid " week." msgid_plural " weeks." msgstr[0] "" msgstr[1] "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Trash emptying frequency " msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Content Options" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Controls for content revisions and how often to empty the trash." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This is where you can manage common settings for your website." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cancel" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Clone" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Confirm Clone Action" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cloned to Staging" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Cloning production to staging, this should take about a minute." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Clone to staging" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Created" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Staging Created" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Creating a staging site, this should take about a minute." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Create staging site" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Currently editing" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Delete" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Confirm Delete" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you've made to this staging site will be lost." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deleted Staging" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deleting the staging site, this should take about a minute." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Delete Staging Site" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploy" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploy all changes" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Confirm Deployment" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploy database only" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploy files only" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deployed" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploying from staging to production, this should take about a minute." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Deploy Site" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Error" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Not currently editing" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Proceed" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Production Site" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Staging Site" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switch" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switching" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switch to Production" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This will navigate you to the production environment" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Loading the production environment now." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switching to the production environment, this should take about a minute." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switch to Staging" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "This will navigate you to the staging environment" msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Loading the staging environment now." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "Switching to the staging environment, this should take about a minute." msgstr "" -#: build/2.7.0/index.js:1 +#: build/2.7.1/index.js:1 msgid "An unknown error has occurred." msgstr "" -#: build/2.7.0/index.js:1 -msgid "Working..." +#: build/2.7.1/index.js:1 +msgid "Working…" msgstr "" From eb9c5e2323d2e16004e3a9378ed4106d8c9ec2e8 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Tue, 19 Mar 2024 14:50:26 -0400 Subject: [PATCH 29/36] update language files for release --- languages/wp-plugin-hostgator-pt_BR.mo | Bin 19729 -> 19771 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/languages/wp-plugin-hostgator-pt_BR.mo b/languages/wp-plugin-hostgator-pt_BR.mo index 188bc0b0c0099f9e18f39fb89ef7f12ba0b0fd66..9ec9856bbc546dddeeac6983f80764a8a948a588 100644 GIT binary patch delta 3346 zcmYM$drZ}J7{~F41O!0>1VKQ3EwDUQoeHiApIdYakwl~X{gl9a#=br>6-Tb_&Zw;d3}GsbI$j9zR&agj()t}>%e+1 zcT=c$jq&FUf7|nSuCK1l>I46`HOsSHr(z>^#vpFC!G5T>=3!eb#7L~bAgsm#_=(3K za17TWyg1&>Z6z!^abq89gDa>2_i+}+K5G_+AK)_Fh)I|bZ05pz%)r?ggI{1Mp1=-x z83XVi)IQ!JX1Ul7Lx^w1EWEk#I@aO>)Ca=Yg=Ecz-LX4%#3EFnrKk#Qz;yfy`{OOl z!xUa@iStoKU5u^pT~xe}unqC8hJ^xdLm&JaN!AV^xmZ1BViSgA496gbrJ+ini+)&u zqp=88(JwIq&wIRy{8$S%p|}=_Zf%srf~r~uX5k1dz!gYLyNYpm7j>ex^hqa%IIhJMyoxG)0MD8Ng`loGU@z>5+J78&!BSMqRwEyETP+I>%U;wQ>roYGLcOsC z&zepefO=mvj=>&Sh)Zw^UP4tYJ(foq^HC=~jB3RxRD#Xe2XA3-J^u+VCr}|O&{R~3 zD^Vw2ggVgaru;k9&>lx6-iYeypQs8wKn-tpoY~u0jh!$s-uYZACKKOsS!l!8 za0)I!wc;WU#9R10cBLN`I1|&b5qn`UzPwCyrx;BB0aT|1LBu14K| zf;wPEGWDPP4E;=YdUuQonaB$lu`8zWD+-G-5UWrDmZMIv0oC)P*c&h4AZ$h7#^NZP zgqx7++Y{6b#qq4BW1sHS{|y!u+|b6q;bwe{9NISZaE9>|J{=llE-j&_lUNSweMK0I z?;wY^8k~v;kq66S=#w{Q;7QCxRo>5?>XbGTb%F$>8&-(4*A`Pmv>(HPd(>;*ml(^#nVbx7OoEGol?n1$BQ=~*`N zh}$@9iE~jWsKPL;!7SX4O86$~0QXS6_kPZ)WFo2}L$Q^f|EVlSaAPJ?U8{Tgg4yq= zKzC6a{)aIGLaT5xZp8rfW%QFV6xFf;7*Bl5XW@etsDSfO z0T-b*d=EA4>yf#!gSZ6$Ld{5Je<$D?eA+V9etS_ZJA|$A3?|?u)Q~<#w@Q;Zz}a9J zDqs<+ca_)hiAS zgPa*CL&cegs&KWNg{FQTs&vOZFPugVTO;b}XvPS9h^j=$VE&JQQT!T$Q&5S1j!MME zO$8W;s^BQ}!77}H%dic)n^=ruaR>7;o3ypjN>pP0xz3dL!Bt$B;B~x*D(TOBE4lCy z`d~DD)9}WjKHmk^>j|iY%1|@05XYOnV%01fxp4)R(SZ@p2O3bNzJ{yuKB~0u=Q&Tq zIwYoji}TTk>`So4W|ozgHZR$-=TOq_jzI-;ic5-T%_uIP MR-t?4d7Hid1F{%xs{jB1 delta 3305 zcmYM#3$T?{6$kK*aW5dq`z>&JTtPH7Kttey#2XPr9wwk6*?<;k4V63^4xAZ8BMM5F~he*eyyiMib0-rqUjUTd$tzVAMBf3uDE zH>(`!*!=6ozy1FA@_%W4W~JnE=PRlI5{)uEIQ;+Ja-n!9ilxA11>hUQk0Y-!Jn*@pu-oeA_ArULhH1i#Bs zJi=-0>BAOW%oO!jp3ToO@z%1F_+_0z0&ZpB|kwf5}IWCO3`r@4?nV=6Ydp_JupVs^TdIf|#51b@NHc!b09{CDnK4K#%bG?OXu zjm(ahF+1AA9Km;(F5kg4?NdzR2beScEmNVlnC2bQ&u+Pb=kW}4U;qA+6~7EO$byTw zkT)|&@e)V#2*9E!J@tQ<0}>$?{WHvg0=m zvV&914q6PXz9Kttr};dlbY~B$R;Vk})dQKpm(dekp5sWq%Ejz(z9)eznCr)wjWrA| z<+EqGZ*cATe^h5I@WHeEAba@LlattniIA%j?r|i!LL1nU z-(>!{Jj4Xt$@IXJY{QpX&)+al!_k_RGX^)f&_ze36?c)%*vq;Z*Nsm9La729CWv&SZFmWBDdKap3UkpWBga zVLp%9!6J6%DvssdOu~nl4ZO~r{o70>TVGzS$c0R$Ci2QW|1%9#wQQ+f#f1_?Ny3HWhl z!KKU>E7T@s8`tueOpnYRRSme3|2s0)xxSS-vIm(L)=oC^$4rwRWh&FU$=b>IB7+1R z$DG|<_TXYB0-t08=dG2qZ_7SxWCxCC{&vhAQ+xi` zx{xE-#Hrj%k8EkLzUl5U%$ZHD&1ccEmIX|ro9L%J=2sFr!IbGZh@h zIxgY@E@7Uk7dV5JUm09wFi_fAXgQPFyG)n&oLtJioXq2Vohj*0yp{U$cdTR1EhVjI z?r+bWbrX}&45lX*@>(wA;k>P1G)P7dTv@&038vJ0xrv9_pSMk`z6tN;=X0G)I7{~W ct?XuZzJJxO{cY;c-F0}-jsd$iPute)zfv}2GXMYp From 2a9f4108738df57b9b17702958c707e2d7b17a0f Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Tue, 19 Mar 2024 18:04:15 -0400 Subject: [PATCH 30/36] clean up translation string with incorrect text-domain --- bootstrap.php | 34 +++++++++++++++++--------- languages/wp-plugin-hostgator-es_MX.po | 28 +++++++++++++++------ languages/wp-plugin-hostgator-pt_BR.po | 28 +++++++++++++++------ languages/wp-plugin-hostgator.pot | 28 +++++++++++++++------ 4 files changed, 82 insertions(+), 36 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index a453e4ea..e5494f50 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -72,17 +72,24 @@ function () { 'admin_app_url' => admin_url( 'admin.php?page=hostgator#/home' ), 'template_h1' => __( 'A New WordPress Site', 'wp-plugin-hostgator' ), 'template_h2' => __( 'Coming Soon!', 'wp-plugin-hostgator' ), - 'template_coming_soon_links' => sprintf( - esc_html__( ' %1$sHow to build your WordPress Website%2$s %3$sHow to Migrate a Website to Hostgator?%4$s %5$sWhy choose HostGator for your WordPress site?%6$s', 'wp-plugin-bluehost' ) . ' ', - '', - '
    ', - '', - '
    ', - '', - '
    ' - ), + 'template_coming_soon_links' => + '' . + __( 'How to build your WordPress Website', 'wp-plugin-hostgator' ) . + '
    ' . + '' . + __( 'How to Migrate a Website to Hostgator?', 'wp-plugin-hostgator' ) . + '
    ' . + '' . + __( 'Why choose HostGator for your WordPress site?', 'wp-plugin-hostgator' ) . + '
    ' + , 'template_footer_t' => sprintf( - /* translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag */ + /* translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, + %2$s is replaced with closing link tag, + %3$s is replaced with opening link tag taking you to login page, + %4$s is replaced with closing link tag, + %5$s is replaced with opening link tag taking you to portal.hostgator.com, + %6$s is replaced with closing link tag. */ esc_html__( 'A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s.', 'wp-plugin-hostgator' ) . ' ', '', '', @@ -92,13 +99,16 @@ function () { '' ), 'template_page_title' => sprintf( - /* translators: %s: Blog name */ + /* translators: %s is Blog name */ __( '%s — Coming Soon', 'wp-plugin-hostgator' ), esc_html( get_option( 'blogname' ) ) ), 'admin_bar_text' => '
    ' . __( 'Coming Soon Active', 'wp-plugin-hostgator' ) . '
    ', 'admin_notice_text' => sprintf( - /* translators: %1$s is replaced with the opening link tag and %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. */ + /* translators: %1$s is replaced with the opening link tag, + %2$s is replaced with the closing link tag, + %3$s is the opening link tag to preview the page, + %4$s is the closing link tag. */ __( 'Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s.', 'wp-plugin-hostgator' ), '', '', diff --git a/languages/wp-plugin-hostgator-es_MX.po b/languages/wp-plugin-hostgator-es_MX.po index 661a7b48..f179064e 100644 --- a/languages/wp-plugin-hostgator-es_MX.po +++ b/languages/wp-plugin-hostgator-es_MX.po @@ -54,26 +54,26 @@ msgstr "Un Nuevo Sitio Web WordPress" msgid "Coming Soon!" msgstr "¡Muy Pronto!" -#. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag -#: bootstrap.php:86 +#. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. +#: bootstrap.php:93 msgid "A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s." msgstr "Un sitio web creado por %1$sHostGator%2$s. ¿Este sitio web es suyo? Inicie sesión en %3$sWordPress%4$s o %5$sHostGator%6$s." -#. translators: %s: Blog name -#: bootstrap.php:96 +#. translators: %s is Blog name +#: bootstrap.php:103 msgid "%s — Coming Soon" msgstr "¡Muy Pronto!" -#: bootstrap.php:99 +#: bootstrap.php:106 msgid "Coming Soon Active" msgstr "Muy Pronto Activo" -#. translators: %1$s is replaced with the opening link tag and %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. -#: bootstrap.php:102 +#. translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. +#: bootstrap.php:112 msgid "Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s." msgstr "Su sitio web está mostrando actualmente una %1$spágina de muy pronto%2$s. Una vez que esté listo, %3$slance su sitio web%4$s." -#: bootstrap.php:103 +#: bootstrap.php:113 msgid "Preview the coming soon landing page" msgstr "Obtener una vista previa de la próxima página de destino" @@ -873,3 +873,15 @@ msgstr "" #: build/2.7.1/index.js:1 msgid "Working…" msgstr "" + +#: bootstrap.php:77 +msgid "How to build your WordPress Website" +msgstr "" + +#: bootstrap.php:80 +msgid "How to Migrate a Website to Hostgator?" +msgstr "" + +#: bootstrap.php:83 +msgid "Why choose HostGator for your WordPress site?" +msgstr "" diff --git a/languages/wp-plugin-hostgator-pt_BR.po b/languages/wp-plugin-hostgator-pt_BR.po index 101d734b..039989bd 100644 --- a/languages/wp-plugin-hostgator-pt_BR.po +++ b/languages/wp-plugin-hostgator-pt_BR.po @@ -54,26 +54,26 @@ msgstr "Um Novo Site WordPress" msgid "Coming Soon!" msgstr "Em Breve!" -#. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag -#: bootstrap.php:86 +#. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. +#: bootstrap.php:93 msgid "A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s." msgstr "Um site alimentado por %1$sHostGator%2$s. Este é o seu site? Inicie sessão em %3$sWordPress%4$s ou %5$sHostgator%6$s." -#. translators: %s: Blog name -#: bootstrap.php:96 +#. translators: %s is Blog name +#: bootstrap.php:103 msgid "%s — Coming Soon" msgstr "%s — Em Breve" -#: bootstrap.php:99 +#: bootstrap.php:106 msgid "Coming Soon Active" msgstr "Ativo Em Breve" -#. translators: %1$s is replaced with the opening link tag and %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. -#: bootstrap.php:102 +#. translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. +#: bootstrap.php:112 msgid "Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s." msgstr "Seu site está exibindo uma %1$spágina em breve%2$s. Assim que estiver pronto, %3$slance seu site%4$s." -#: bootstrap.php:103 +#: bootstrap.php:113 msgid "Preview the coming soon landing page" msgstr "Visualize a página de destino em breve" @@ -873,3 +873,15 @@ msgstr "Vendas & Promoções" #: build/2.7.1/index.js:1 msgid "Working…" msgstr "Trabalhando…" + +#: bootstrap.php:77 +msgid "How to build your WordPress Website" +msgstr "" + +#: bootstrap.php:80 +msgid "How to Migrate a Website to Hostgator?" +msgstr "" + +#: bootstrap.php:83 +msgid "Why choose HostGator for your WordPress site?" +msgstr "" diff --git a/languages/wp-plugin-hostgator.pot b/languages/wp-plugin-hostgator.pot index 45635dd5..91ce7695 100644 --- a/languages/wp-plugin-hostgator.pot +++ b/languages/wp-plugin-hostgator.pot @@ -49,26 +49,38 @@ msgstr "" msgid "Coming Soon!" msgstr "" -#. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag -#: bootstrap.php:86 +#: bootstrap.php:77 +msgid "How to build your WordPress Website" +msgstr "" + +#: bootstrap.php:80 +msgid "How to Migrate a Website to Hostgator?" +msgstr "" + +#: bootstrap.php:83 +msgid "Why choose HostGator for your WordPress site?" +msgstr "" + +#. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. +#: bootstrap.php:93 msgid "A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s." msgstr "" -#. translators: %s: Blog name -#: bootstrap.php:96 +#. translators: %s is Blog name +#: bootstrap.php:103 msgid "%s — Coming Soon" msgstr "" -#: bootstrap.php:99 +#: bootstrap.php:106 msgid "Coming Soon Active" msgstr "" -#. translators: %1$s is replaced with the opening link tag and %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. -#: bootstrap.php:102 +#. translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. +#: bootstrap.php:112 msgid "Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s." msgstr "" -#: bootstrap.php:103 +#: bootstrap.php:113 msgid "Preview the coming soon landing page" msgstr "" From fc0ef80b1198bdc95620361298c813e52c332680 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Tue, 19 Mar 2024 18:12:25 -0400 Subject: [PATCH 31/36] php cs cleanup --- bootstrap.php | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index e5494f50..eeaccebb 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -72,7 +72,7 @@ function () { 'admin_app_url' => admin_url( 'admin.php?page=hostgator#/home' ), 'template_h1' => __( 'A New WordPress Site', 'wp-plugin-hostgator' ), 'template_h2' => __( 'Coming Soon!', 'wp-plugin-hostgator' ), - 'template_coming_soon_links' => + 'template_coming_soon_links' => '' . __( 'How to build your WordPress Website', 'wp-plugin-hostgator' ) . '
    ' . @@ -81,15 +81,9 @@ function () { '
    ' . '' . __( 'Why choose HostGator for your WordPress site?', 'wp-plugin-hostgator' ) . - '
    ' - , + '
    ', 'template_footer_t' => sprintf( - /* translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, - %2$s is replaced with closing link tag, - %3$s is replaced with opening link tag taking you to login page, - %4$s is replaced with closing link tag, - %5$s is replaced with opening link tag taking you to portal.hostgator.com, - %6$s is replaced with closing link tag. */ + /* translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. */ esc_html__( 'A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s.', 'wp-plugin-hostgator' ) . ' ', '', '', @@ -105,10 +99,7 @@ function () { ), 'admin_bar_text' => '
    ' . __( 'Coming Soon Active', 'wp-plugin-hostgator' ) . '
    ', 'admin_notice_text' => sprintf( - /* translators: %1$s is replaced with the opening link tag, - %2$s is replaced with the closing link tag, - %3$s is the opening link tag to preview the page, - %4$s is the closing link tag. */ + /* translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. */ __( 'Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s.', 'wp-plugin-hostgator' ), '', '', From 32d2bd7231ad1d285dde6ba84c4fd70cd14d3bb0 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Tue, 19 Mar 2024 18:14:54 -0400 Subject: [PATCH 32/36] another i18n file cleanup --- languages/wp-plugin-hostgator-es_MX.po | 10 +++++----- languages/wp-plugin-hostgator-pt_BR.po | 10 +++++----- languages/wp-plugin-hostgator.pot | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/languages/wp-plugin-hostgator-es_MX.po b/languages/wp-plugin-hostgator-es_MX.po index f179064e..1930a958 100644 --- a/languages/wp-plugin-hostgator-es_MX.po +++ b/languages/wp-plugin-hostgator-es_MX.po @@ -55,25 +55,25 @@ msgid "Coming Soon!" msgstr "¡Muy Pronto!" #. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. -#: bootstrap.php:93 +#: bootstrap.php:87 msgid "A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s." msgstr "Un sitio web creado por %1$sHostGator%2$s. ¿Este sitio web es suyo? Inicie sesión en %3$sWordPress%4$s o %5$sHostGator%6$s." #. translators: %s is Blog name -#: bootstrap.php:103 +#: bootstrap.php:97 msgid "%s — Coming Soon" msgstr "¡Muy Pronto!" -#: bootstrap.php:106 +#: bootstrap.php:100 msgid "Coming Soon Active" msgstr "Muy Pronto Activo" #. translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. -#: bootstrap.php:112 +#: bootstrap.php:103 msgid "Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s." msgstr "Su sitio web está mostrando actualmente una %1$spágina de muy pronto%2$s. Una vez que esté listo, %3$slance su sitio web%4$s." -#: bootstrap.php:113 +#: bootstrap.php:104 msgid "Preview the coming soon landing page" msgstr "Obtener una vista previa de la próxima página de destino" diff --git a/languages/wp-plugin-hostgator-pt_BR.po b/languages/wp-plugin-hostgator-pt_BR.po index 039989bd..070396d4 100644 --- a/languages/wp-plugin-hostgator-pt_BR.po +++ b/languages/wp-plugin-hostgator-pt_BR.po @@ -55,25 +55,25 @@ msgid "Coming Soon!" msgstr "Em Breve!" #. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. -#: bootstrap.php:93 +#: bootstrap.php:87 msgid "A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s." msgstr "Um site alimentado por %1$sHostGator%2$s. Este é o seu site? Inicie sessão em %3$sWordPress%4$s ou %5$sHostgator%6$s." #. translators: %s is Blog name -#: bootstrap.php:103 +#: bootstrap.php:97 msgid "%s — Coming Soon" msgstr "%s — Em Breve" -#: bootstrap.php:106 +#: bootstrap.php:100 msgid "Coming Soon Active" msgstr "Ativo Em Breve" #. translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. -#: bootstrap.php:112 +#: bootstrap.php:103 msgid "Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s." msgstr "Seu site está exibindo uma %1$spágina em breve%2$s. Assim que estiver pronto, %3$slance seu site%4$s." -#: bootstrap.php:113 +#: bootstrap.php:104 msgid "Preview the coming soon landing page" msgstr "Visualize a página de destino em breve" diff --git a/languages/wp-plugin-hostgator.pot b/languages/wp-plugin-hostgator.pot index 91ce7695..fc6dc601 100644 --- a/languages/wp-plugin-hostgator.pot +++ b/languages/wp-plugin-hostgator.pot @@ -62,25 +62,25 @@ msgid "Why choose HostGator for your WordPress site?" msgstr "" #. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. -#: bootstrap.php:93 +#: bootstrap.php:87 msgid "A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s." msgstr "" #. translators: %s is Blog name -#: bootstrap.php:103 +#: bootstrap.php:97 msgid "%s — Coming Soon" msgstr "" -#: bootstrap.php:106 +#: bootstrap.php:100 msgid "Coming Soon Active" msgstr "" #. translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. -#: bootstrap.php:112 +#: bootstrap.php:103 msgid "Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s." msgstr "" -#: bootstrap.php:113 +#: bootstrap.php:104 msgid "Preview the coming soon landing page" msgstr "" From ce2fa3322a090918173a85237b103fa3d1c46b62 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Wed, 20 Mar 2024 15:43:42 +0530 Subject: [PATCH 33/36] Bump Onboarding to 2.1.8 --- composer.json | 2 +- composer.lock | 37 ++++++++++++++++++++++--------------- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index 54732c27..0a262be0 100644 --- a/composer.json +++ b/composer.json @@ -76,7 +76,7 @@ "newfold-labs/wp-module-loader": "^1.0.10", "newfold-labs/wp-module-marketplace": "^2.2.4", "newfold-labs/wp-module-notifications": "^1.2.5", - "newfold-labs/wp-module-onboarding": "^2.1.7", + "newfold-labs/wp-module-onboarding": "^2.1.8", "newfold-labs/wp-module-patterns": "^0.1.15", "newfold-labs/wp-module-performance": "^1.4.0", "newfold-labs/wp-module-runtime": "^1.0.9", diff --git a/composer.lock b/composer.lock index 5b0064e7..f2d222cd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0661bb470283f35a31be5aafc6306c13", + "content-hash": "7c5f48f4e3ef70764757127b088cfcfe", "packages": [ { "name": "doctrine/inflector", @@ -157,7 +157,7 @@ "version": "1.2.2", "source": { "type": "git", - "url": "git@github.com:newfold-labs/container.git", + "url": "https://github.com/newfold-labs/container.git", "reference": "19bb75bb4a64a282f7d142fff9f3418177022851" }, "dist": { @@ -185,6 +185,9 @@ } ], "description": "A lightweight, PHP 7.0+ compatible, PSR-11 dependency injection container.", + "support": { + "source": "https://github.com/newfold-labs/container/tree/1.2.2" + }, "time": "2022-08-26T17:23:54+00:00" }, { @@ -192,7 +195,7 @@ "version": "1.1.7", "source": { "type": "git", - "url": "git@github.com:newfold-labs/wp-module-ai.git", + "url": "https://github.com/newfold-labs/wp-module-ai.git", "reference": "2d1ea36f2a17c79934f3c41b02316d8d12fd299d" }, "dist": { @@ -226,6 +229,10 @@ } ], "description": "A module for providing artificial intelligence capabilities.", + "support": { + "source": "https://github.com/newfold-labs/wp-module-ai/tree/1.1.7", + "issues": "https://github.com/newfold-labs/wp-module-ai/issues" + }, "time": "2024-03-18T11:49:32+00:00" }, { @@ -882,16 +889,16 @@ }, { "name": "newfold-labs/wp-module-onboarding", - "version": "2.1.7", + "version": "2.1.8", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-onboarding.git", - "reference": "26b83feabccebf1800270c0552e171bceb03ebfc" + "reference": "c0f0ac652275fe2f17d23877af9edd1d156f6dc8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/26b83feabccebf1800270c0552e171bceb03ebfc", - "reference": "26b83feabccebf1800270c0552e171bceb03ebfc", + "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/c0f0ac652275fe2f17d23877af9edd1d156f6dc8", + "reference": "c0f0ac652275fe2f17d23877af9edd1d156f6dc8", "shasum": "" }, "require": { @@ -937,23 +944,23 @@ ], "description": "Next-generation WordPress Onboarding for WordPress sites at Newfold Digital.", "support": { - "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.1.7", + "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.1.8", "issues": "https://github.com/newfold-labs/wp-module-onboarding/issues" }, - "time": "2024-03-19T10:50:21+00:00" + "time": "2024-03-20T10:02:09+00:00" }, { "name": "newfold-labs/wp-module-onboarding-data", - "version": "1.1.4", + "version": "1.1.5", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-onboarding-data.git", - "reference": "722336c90e7b8d9950e9a2c60e62d507958fd05f" + "reference": "08e1970d24fb0060b3d82482c970f24b3752168b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding-data/zipball/722336c90e7b8d9950e9a2c60e62d507958fd05f", - "reference": "722336c90e7b8d9950e9a2c60e62d507958fd05f", + "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding-data/zipball/08e1970d24fb0060b3d82482c970f24b3752168b", + "reference": "08e1970d24fb0060b3d82482c970f24b3752168b", "shasum": "" }, "require": { @@ -983,10 +990,10 @@ ], "description": "A non-toggleable module containing a standardized interface for interacting with Onboarding data.", "support": { - "source": "https://github.com/newfold-labs/wp-module-onboarding-data/tree/1.1.4", + "source": "https://github.com/newfold-labs/wp-module-onboarding-data/tree/1.1.5", "issues": "https://github.com/newfold-labs/wp-module-onboarding-data/issues" }, - "time": "2024-03-19T10:15:11+00:00" + "time": "2024-03-20T09:45:02+00:00" }, { "name": "newfold-labs/wp-module-patterns", From 300df9f2ac4e05c9dbd6d7dfb4a112a4ec3a14c9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Mar 2024 12:04:37 +0000 Subject: [PATCH 34/36] GitHub Actions(deps): Bump actions/add-to-project from 0.6.0 to 0.6.1 Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 0.6.0 to 0.6.1. - [Release notes](https://github.com/actions/add-to-project/releases) - [Commits](https://github.com/actions/add-to-project/compare/v0.6.0...v0.6.1) --- updated-dependencies: - dependency-name: actions/add-to-project dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/add-to-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index 19f30a67..a1e0c6d3 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -10,7 +10,7 @@ jobs: name: Add issue to project runs-on: ubuntu-latest steps: - - uses: actions/add-to-project@v0.6.0 + - uses: actions/add-to-project@v0.6.1 with: project-url: https://github.com/orgs/newfold-labs/projects/1 github-token: ${{ secrets.PROJECT_TOKEN }} From 3a1e614347862d9dbc38152d74f72b31b5bd76c8 Mon Sep 17 00:00:00 2001 From: Ramya krishna Date: Wed, 20 Mar 2024 20:00:12 +0530 Subject: [PATCH 35/36] Ecommerce Version bump and Skipping test for PHP version < 7.4 && woocommerce < 6.3 --- composer.json | 2 +- composer.lock | 63 ++++++++++++++++++++++++++--------------------- cypress.config.js | 8 ++++++ package-lock.json | 14 +++++------ package.json | 2 +- 5 files changed, 52 insertions(+), 37 deletions(-) diff --git a/composer.json b/composer.json index e1c3f48b..c0ef3aea 100644 --- a/composer.json +++ b/composer.json @@ -70,7 +70,7 @@ "newfold-labs/wp-module-context": "^1.0", "newfold-labs/wp-module-data": "^2.4.19", "newfold-labs/wp-module-deactivation": "^1.1.0", - "newfold-labs/wp-module-ecommerce": "^1.3.24", + "newfold-labs/wp-module-ecommerce": "^1.3.25", "newfold-labs/wp-module-global-ctb": "^1.0.11", "newfold-labs/wp-module-help-center": "^1.0.24", "newfold-labs/wp-module-loader": "^1.0.10", diff --git a/composer.lock b/composer.lock index eb943053..7616bb57 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ce55ddc3b1782cd20994ad9408e0ef35", + "content-hash": "632d4c02acb6215130fad089f82b311f", "packages": [ { "name": "doctrine/inflector", @@ -157,7 +157,7 @@ "version": "1.2.2", "source": { "type": "git", - "url": "git@github.com:newfold-labs/container.git", + "url": "https://github.com/newfold-labs/container.git", "reference": "19bb75bb4a64a282f7d142fff9f3418177022851" }, "dist": { @@ -185,6 +185,9 @@ } ], "description": "A lightweight, PHP 7.0+ compatible, PSR-11 dependency injection container.", + "support": { + "source": "https://github.com/newfold-labs/container/tree/1.2.2" + }, "time": "2022-08-26T17:23:54+00:00" }, { @@ -192,7 +195,7 @@ "version": "1.1.7", "source": { "type": "git", - "url": "git@github.com:newfold-labs/wp-module-ai.git", + "url": "https://github.com/newfold-labs/wp-module-ai.git", "reference": "2d1ea36f2a17c79934f3c41b02316d8d12fd299d" }, "dist": { @@ -226,6 +229,10 @@ } ], "description": "A module for providing artificial intelligence capabilities.", + "support": { + "source": "https://github.com/newfold-labs/wp-module-ai/tree/1.1.7", + "issues": "https://github.com/newfold-labs/wp-module-ai/issues" + }, "time": "2024-03-18T11:49:32+00:00" }, { @@ -456,16 +463,16 @@ }, { "name": "newfold-labs/wp-module-ecommerce", - "version": "v1.3.24", + "version": "v1.3.25", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-ecommerce.git", - "reference": "baabe57f9c14df3e976b3907ca34c4706df917c3" + "reference": "bfa180cc89a05eb50493a49ac4966b871f98a816" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-ecommerce/zipball/baabe57f9c14df3e976b3907ca34c4706df917c3", - "reference": "baabe57f9c14df3e976b3907ca34c4706df917c3", + "url": "https://api.github.com/repos/newfold-labs/wp-module-ecommerce/zipball/bfa180cc89a05eb50493a49ac4966b871f98a816", + "reference": "bfa180cc89a05eb50493a49ac4966b871f98a816", "shasum": "" }, "require": { @@ -508,10 +515,10 @@ ], "description": "Brand Agnostic eCommerce Experience", "support": { - "source": "https://github.com/newfold-labs/wp-module-ecommerce/tree/v1.3.24", + "source": "https://github.com/newfold-labs/wp-module-ecommerce/tree/v1.3.25", "issues": "https://github.com/newfold-labs/wp-module-ecommerce/issues" }, - "time": "2024-03-12T12:49:07+00:00" + "time": "2024-03-20T14:18:14+00:00" }, { "name": "newfold-labs/wp-module-facebook", @@ -882,16 +889,16 @@ }, { "name": "newfold-labs/wp-module-onboarding", - "version": "2.1.7", + "version": "2.1.8", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-onboarding.git", - "reference": "26b83feabccebf1800270c0552e171bceb03ebfc" + "reference": "c0f0ac652275fe2f17d23877af9edd1d156f6dc8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/26b83feabccebf1800270c0552e171bceb03ebfc", - "reference": "26b83feabccebf1800270c0552e171bceb03ebfc", + "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/c0f0ac652275fe2f17d23877af9edd1d156f6dc8", + "reference": "c0f0ac652275fe2f17d23877af9edd1d156f6dc8", "shasum": "" }, "require": { @@ -937,23 +944,23 @@ ], "description": "Next-generation WordPress Onboarding for WordPress sites at Newfold Digital.", "support": { - "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.1.7", + "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.1.8", "issues": "https://github.com/newfold-labs/wp-module-onboarding/issues" }, - "time": "2024-03-19T10:50:21+00:00" + "time": "2024-03-20T10:02:09+00:00" }, { "name": "newfold-labs/wp-module-onboarding-data", - "version": "1.1.4", + "version": "1.1.5", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-onboarding-data.git", - "reference": "722336c90e7b8d9950e9a2c60e62d507958fd05f" + "reference": "08e1970d24fb0060b3d82482c970f24b3752168b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding-data/zipball/722336c90e7b8d9950e9a2c60e62d507958fd05f", - "reference": "722336c90e7b8d9950e9a2c60e62d507958fd05f", + "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding-data/zipball/08e1970d24fb0060b3d82482c970f24b3752168b", + "reference": "08e1970d24fb0060b3d82482c970f24b3752168b", "shasum": "" }, "require": { @@ -983,10 +990,10 @@ ], "description": "A non-toggleable module containing a standardized interface for interacting with Onboarding data.", "support": { - "source": "https://github.com/newfold-labs/wp-module-onboarding-data/tree/1.1.4", + "source": "https://github.com/newfold-labs/wp-module-onboarding-data/tree/1.1.5", "issues": "https://github.com/newfold-labs/wp-module-onboarding-data/issues" }, - "time": "2024-03-19T10:15:11+00:00" + "time": "2024-03-20T09:45:02+00:00" }, { "name": "newfold-labs/wp-module-patterns", @@ -2315,22 +2322,22 @@ }, { "name": "phpcsstandards/phpcsutils", - "version": "1.0.9", + "version": "1.0.10", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", - "reference": "908247bc65010c7b7541a9551e002db12e9dae70" + "reference": "51609a5b89f928e0c463d6df80eb38eff1eaf544" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/908247bc65010c7b7541a9551e002db12e9dae70", - "reference": "908247bc65010c7b7541a9551e002db12e9dae70", + "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/51609a5b89f928e0c463d6df80eb38eff1eaf544", + "reference": "51609a5b89f928e0c463d6df80eb38eff1eaf544", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", "php": ">=5.4", - "squizlabs/php_codesniffer": "^3.8.0 || 4.0.x-dev@dev" + "squizlabs/php_codesniffer": "^3.9.0 || 4.0.x-dev@dev" }, "require-dev": { "ext-filter": "*", @@ -2399,7 +2406,7 @@ "type": "open_collective" } ], - "time": "2023-12-08T14:50:00+00:00" + "time": "2024-03-17T23:44:50+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -3076,5 +3083,5 @@ "platform-overrides": { "php": "7.3.0" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" } diff --git a/cypress.config.js b/cypress.config.js index 3397fa82..7f40f055 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -56,6 +56,14 @@ module.exports = defineConfig({ } } + // Exclude ecommerce tests for WordPress lower than 6.3 (6.2) or PHP lower than 7.4 (7.1, 7.2 and 7.3) + if ( semver.satisfies( config.env.wpSemverVersion, '<6.3.0' ) || semver.satisfies( config.env.phpSemverVersion, '<7.4.0' )) { + config.excludeSpecPattern = config.excludeSpecPattern.concat( [ + 'vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Site-Capabilities/**', + 'vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Home/homePageWithWoo.cy.js' + ] ); + } + return config; }, baseUrl: 'http://localhost:8884', diff --git a/package-lock.json b/package-lock.json index d58c8354..e532639d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "GPL-2.0-or-later", "dependencies": { "@heroicons/react": "^2.1.1", - "@newfold-labs/wp-module-ecommerce": "^1.3.24", + "@newfold-labs/wp-module-ecommerce": "^1.3.25", "@newfold-labs/wp-module-runtime": "^1.0.9", "@newfold/ui-component-library": "^1.1.0", "@reduxjs/toolkit": "^2.1.0", @@ -3133,9 +3133,9 @@ "integrity": "sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==" }, "node_modules/@newfold-labs/wp-module-ecommerce": { - "version": "1.3.24", - "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.24/fe7d1d1c91bffe5d6ebe2b2d592e673cb35f74d5", - "integrity": "sha512-T7jgFNI4pftqaHrEA6fjX1VrlLnbxGnluKrttcI55gXJJQgz9m4Pn9kSRrGrPgOf9j3o5MT4yXj0SAML/1O+MQ==", + "version": "1.3.25", + "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.25/d1ccc109305e2f64ca04eedba0b7770fb39d5312", + "integrity": "sha512-M8Qbj8o3aqSLNfU5tnhC/QHONaU957qfEJrtIrQbjatRWy2JVTBhJO9FpTy6NbqX93D+GZlO9xrkVjsniH9Ulw==", "license": "GPL-2.0-or-later", "dependencies": { "@faizaanceg/pandora": "^1.1.1", @@ -25219,9 +25219,9 @@ } }, "@newfold-labs/wp-module-ecommerce": { - "version": "1.3.24", - "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.24/fe7d1d1c91bffe5d6ebe2b2d592e673cb35f74d5", - "integrity": "sha512-T7jgFNI4pftqaHrEA6fjX1VrlLnbxGnluKrttcI55gXJJQgz9m4Pn9kSRrGrPgOf9j3o5MT4yXj0SAML/1O+MQ==", + "version": "1.3.25", + "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.25/d1ccc109305e2f64ca04eedba0b7770fb39d5312", + "integrity": "sha512-M8Qbj8o3aqSLNfU5tnhC/QHONaU957qfEJrtIrQbjatRWy2JVTBhJO9FpTy6NbqX93D+GZlO9xrkVjsniH9Ulw==", "requires": { "@faizaanceg/pandora": "^1.1.1", "@heroicons/react": "2.0.18", diff --git a/package.json b/package.json index 0267c270..93fc2c6a 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@heroicons/react": "^2.1.1", - "@newfold-labs/wp-module-ecommerce": "^1.3.24", + "@newfold-labs/wp-module-ecommerce": "^1.3.25", "@newfold-labs/wp-module-runtime": "^1.0.9", "@newfold/ui-component-library": "^1.1.0", "@reduxjs/toolkit": "^2.1.0", From 25aadfc705247aaba7882fa4f7d40dcf016ae948 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Wed, 20 Mar 2024 14:04:05 -0400 Subject: [PATCH 36/36] update deactivation module to 1.1.1 --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 7299a51b..d86a2c03 100644 --- a/composer.json +++ b/composer.json @@ -69,7 +69,7 @@ "newfold-labs/wp-module-coming-soon": "^1.2.3", "newfold-labs/wp-module-context": "^1.0", "newfold-labs/wp-module-data": "^2.4.19", - "newfold-labs/wp-module-deactivation": "^1.1.0", + "newfold-labs/wp-module-deactivation": "^1.1.1", "newfold-labs/wp-module-ecommerce": "^1.3.25", "newfold-labs/wp-module-global-ctb": "^1.0.11", "newfold-labs/wp-module-help-center": "^1.0.24", diff --git a/composer.lock b/composer.lock index e3966562..7a10c5b5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "164b88a2832bef992f3d6799b3ffa7aa", + "content-hash": "e24937f860101688ae627e61f15a9278", "packages": [ { "name": "doctrine/inflector", @@ -402,16 +402,16 @@ }, { "name": "newfold-labs/wp-module-deactivation", - "version": "1.1.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-deactivation.git", - "reference": "83447e20df29e774c74cf0e2a82735e1a0b544f6" + "reference": "c8b09a2b1e744b3cb411b503ed3f037a1b926c15" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-deactivation/zipball/83447e20df29e774c74cf0e2a82735e1a0b544f6", - "reference": "83447e20df29e774c74cf0e2a82735e1a0b544f6", + "url": "https://api.github.com/repos/newfold-labs/wp-module-deactivation/zipball/c8b09a2b1e744b3cb411b503ed3f037a1b926c15", + "reference": "c8b09a2b1e744b3cb411b503ed3f037a1b926c15", "shasum": "" }, "require": { @@ -456,10 +456,10 @@ ], "description": "A Module for handling WordPress brand plugins and modules deactivations", "support": { - "source": "https://github.com/newfold-labs/wp-module-deactivation/tree/1.1.0", + "source": "https://github.com/newfold-labs/wp-module-deactivation/tree/1.1.1", "issues": "https://github.com/newfold-labs/wp-module-deactivation/issues" }, - "time": "2024-03-18T18:28:09+00:00" + "time": "2024-03-20T17:49:06+00:00" }, { "name": "newfold-labs/wp-module-ecommerce",