diff --git a/.github/workflows/cypress-matrix.yml b/.github/workflows/cypress-matrix.yml index eabdfbc..3d99db2 100644 --- a/.github/workflows/cypress-matrix.yml +++ b/.github/workflows/cypress-matrix.yml @@ -30,12 +30,14 @@ jobs: - '8.2' - '8.3' wpVersion: - - '6.4' - '6.5' - '6.6' + - '6.7' exclude: - phpVersion: '7.1' wpVersion: '6.6' + - phpVersion: '7.1' + wpVersion: '6.7' steps: @@ -115,7 +117,11 @@ jobs: echo '{"wpVersion": "${{ matrix.wpVersion }}","phpVersion": "${{ matrix.phpVersion }}"}' > cypress.env.json - name: Install WordPress - run: npx wp-env start --debug + uses: nick-fields/retry@v3 + with: + timeout_minutes: 4 + max_attempts: 3 + command: npx wp-env start --debug - name: Run Cypress Tests if: ${{ github.repository != 'newfold-labs/wp-plugin-mojo' || github.actor == 'dependabot[bot]' }} diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index c481893..0790ee2 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -98,7 +98,11 @@ jobs: run: echo '{"config":{"WP_DEBUG_DISPLAY":false},"plugins":["${{ steps.workflow.outputs.DIST }}/${{ steps.workflow.outputs.PACKAGE }}"]}' > .wp-env.override.json - name: Install WordPress - run: npx @wordpress/env@latest start + uses: nick-fields/retry@v3 + with: + timeout_minutes: 4 + max_attempts: 3 + command: npx wp-env start --debug - name: Run Cypress Tests if: ${{ github.repository != 'newfold-labs/wp-plugin-mojo' || github.actor == 'dependabot[bot]' }} diff --git a/.wp-env.json b/.wp-env.json index c16afd3..3553e0e 100644 --- a/.wp-env.json +++ b/.wp-env.json @@ -1,5 +1,5 @@ { - "core": "WordPress/WordPress#tags/6.6.2", + "core": "WordPress/WordPress#tags/6.7.1", "config": { "WP_DEBUG": true, "WP_DEBUG_LOG": true, diff --git a/composer.json b/composer.json index 938fb19..56e188d 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ "newfold-labs/wp-php-standards": "^1.2.4", "roave/security-advisories": "dev-latest", "wp-cli/i18n-command": "^2.6.3", - "wp-phpunit/wp-phpunit": "^6.6.2" + "wp-phpunit/wp-phpunit": "^6.7.1" }, "scripts": { "fix": "vendor/bin/phpcbf --standard=phpcs.xml .", @@ -71,18 +71,18 @@ "doctrine/inflector": "1.2.0 as 1.3.1", "newfold-labs/wp-module-activation": "^1.0.5", "newfold-labs/wp-module-atomic": "^1.3", - "newfold-labs/wp-module-coming-soon": "^1.2.6", + "newfold-labs/wp-module-coming-soon": "^1.3.2", "newfold-labs/wp-module-context": "^1.0.1", - "newfold-labs/wp-module-data": "^2.6.5", + "newfold-labs/wp-module-data": "^2.6.7", "newfold-labs/wp-module-deactivation": "^1.2.3", "newfold-labs/wp-module-features": "^1.4.2", "newfold-labs/wp-module-loader": "^1.0.10", "newfold-labs/wp-module-marketplace": "^2.4.0", - "newfold-labs/wp-module-notifications": "^1.6.2", + "newfold-labs/wp-module-notifications": "^1.6.6", "newfold-labs/wp-module-performance": "^2.0.1", "newfold-labs/wp-module-runtime": "^1.0.12", "newfold-labs/wp-module-secure-passwords": "^1.1.1", - "newfold-labs/wp-module-sso": "^1.0.6", + "newfold-labs/wp-module-sso": "^1.0.7", "wp-forge/wp-update-handler": "^1.0.2", "wp-forge/wp-upgrade-handler": "^1.0" } diff --git a/composer.lock b/composer.lock index b6e8bcf..72f5eb1 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": "88d5d113a77efb39df0dd10173af5ff8", + "content-hash": "061acd624463f983835ee9d7266a7e57", "packages": [ { "name": "doctrine/inflector", @@ -227,20 +227,20 @@ }, { "name": "newfold-labs/wp-module-coming-soon", - "version": "1.2.6", + "version": "1.3.2", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-coming-soon.git", - "reference": "3b43b08f02348e4d016392247dc4503df5d48b39" + "reference": "c1485a16b23fdf7b1fca52820c2fa686f2a6e30c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-coming-soon/zipball/3b43b08f02348e4d016392247dc4503df5d48b39", - "reference": "3b43b08f02348e4d016392247dc4503df5d48b39", + "url": "https://api.github.com/repos/newfold-labs/wp-module-coming-soon/zipball/c1485a16b23fdf7b1fca52820c2fa686f2a6e30c", + "reference": "c1485a16b23fdf7b1fca52820c2fa686f2a6e30c", "shasum": "" }, "require": { - "newfold-labs/wp-module-data": ">=2.6.2", + "newfold-labs/wp-module-data": "^2.6.7", "wp-forge/wp-upgrade-handler": "^1.0" }, "require-dev": { @@ -274,10 +274,10 @@ ], "description": "Coming Soon module for WordPress sites.", "support": { - "source": "https://github.com/newfold-labs/wp-module-coming-soon/tree/1.2.6", + "source": "https://github.com/newfold-labs/wp-module-coming-soon/tree/1.3.2", "issues": "https://github.com/newfold-labs/wp-module-coming-soon/issues" }, - "time": "2024-08-30T20:32:49+00:00" + "time": "2024-12-03T23:45:51+00:00" }, { "name": "newfold-labs/wp-module-context", @@ -335,16 +335,16 @@ }, { "name": "newfold-labs/wp-module-data", - "version": "2.6.5", + "version": "2.6.7", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-data.git", - "reference": "002cc3da70565af1708408f7d7604396d2af55e3" + "reference": "4e06582959bbf8ebdfe053d7be27dc3e2dcba69a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/002cc3da70565af1708408f7d7604396d2af55e3", - "reference": "002cc3da70565af1708408f7d7604396d2af55e3", + "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/4e06582959bbf8ebdfe053d7be27dc3e2dcba69a", + "reference": "4e06582959bbf8ebdfe053d7be27dc3e2dcba69a", "shasum": "" }, "require": { @@ -357,15 +357,17 @@ "wpscholar/url": "^1.2.2" }, "require-dev": { - "10up/wp_mock": "^0.4.2", + "10up/wp_mock": "^0.5.0|^1.0.0", "bluehost/bluehost-wordpress-plugin": ">=3.1", "brianhenryie/composer-phpstorm": ">=0.4", "johnpbloch/wordpress": ">=6.5.3", "kporras07/composer-symlinks": "^1.2", "lucatume/wp-browser": "^3.5.8", "newfold-labs/wp-php-standards": "^1.2.3", - "phpunit/phpcov": "^5.0", - "wpackagist-plugin/woocommerce": ">=9" + "phpunit/phpcov": "^8.2.1", + "wpackagist-plugin/jetpack": "^14.0", + "wpackagist-plugin/woocommerce": ">=9", + "wpackagist-theme/twentytwentyfive": "*" }, "type": "library", "extra": { @@ -397,7 +399,7 @@ "vendor/bin/phpcbf . --standard=phpcs.xml" ], "cs-changes": [ - "updated_files=$( git status | grep '\\(new file\\|modified\\):\\s.*.php$' | cut -c14- | awk '{ printf(\"%s \", $0) }' ); echo \"\\nChecking\"$(git status | grep '\\(new file\\|modified\\):\\s.*.php$' | tail -n+2 | wc -l)\" files\"; phpcbf $(echo $updated_files); phpcs $(echo $updated_files);" + "updated_files=$(echo $(git diff --name-only `git merge-base origin/main HEAD` | grep php)); if [ -n \"$updated_files\" ]; then phpcbf $(echo $updated_files); phpcs $(echo $updated_files); else echo \"No modified .php files for PHPCS.\"; fi;" ], "lint": [ "vendor/bin/phpcs . --standard=phpcs.xml -s" @@ -410,6 +412,7 @@ "codecept run wpunit" ], "test-coverage": [ + "if [ -d \"tests/_output/merged.cov\" ]; then rm -rf tests/_output/merged.cov; fi;", "phpunit --bootstrap tests/phpunit/bootstrap.php --coverage-php tests/_output/unit.cov --coverage-text", "codecept run wpunit --coverage wpunit.cov", "phpcov merge --php tests/_output/merged.cov --html tests/_output/html tests/_output;", @@ -427,10 +430,10 @@ ], "description": "Newfold Data Module", "support": { - "source": "https://github.com/newfold-labs/wp-module-data/tree/2.6.5", + "source": "https://github.com/newfold-labs/wp-module-data/tree/2.6.7", "issues": "https://github.com/newfold-labs/wp-module-data/issues" }, - "time": "2024-10-18T19:30:28+00:00" + "time": "2024-11-19T20:09:13+00:00" }, { "name": "newfold-labs/wp-module-deactivation", @@ -655,16 +658,16 @@ }, { "name": "newfold-labs/wp-module-notifications", - "version": "1.6.2", + "version": "1.6.6", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-notifications.git", - "reference": "4c9854e5cbc56c42dc02eb49064f1315ccd62067" + "reference": "14a89f38091a7bf48404740c5f64087a3010ee03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-notifications/zipball/4c9854e5cbc56c42dc02eb49064f1315ccd62067", - "reference": "4c9854e5cbc56c42dc02eb49064f1315ccd62067", + "url": "https://api.github.com/repos/newfold-labs/wp-module-notifications/zipball/14a89f38091a7bf48404740c5f64087a3010ee03", + "reference": "14a89f38091a7bf48404740c5f64087a3010ee03", "shasum": "" }, "require": { @@ -693,10 +696,10 @@ ], "description": "A module for managing Newfold in-site notifications.", "support": { - "source": "https://github.com/newfold-labs/wp-module-notifications/tree/1.6.2", + "source": "https://github.com/newfold-labs/wp-module-notifications/tree/1.6.6", "issues": "https://github.com/newfold-labs/wp-module-notifications/issues" }, - "time": "2024-10-31T18:13:03+00:00" + "time": "2024-11-18T20:26:18+00:00" }, { "name": "newfold-labs/wp-module-performance", @@ -852,16 +855,16 @@ }, { "name": "newfold-labs/wp-module-sso", - "version": "1.0.6", + "version": "1.0.7", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-sso.git", - "reference": "663e82e5e044f3394dfe6254c2da1e68fc648d9e" + "reference": "539f86884ef91ae5bd9971ee3a1918afd1cb9448" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-sso/zipball/663e82e5e044f3394dfe6254c2da1e68fc648d9e", - "reference": "663e82e5e044f3394dfe6254c2da1e68fc648d9e", + "url": "https://api.github.com/repos/newfold-labs/wp-module-sso/zipball/539f86884ef91ae5bd9971ee3a1918afd1cb9448", + "reference": "539f86884ef91ae5bd9971ee3a1918afd1cb9448", "shasum": "" }, "require": { @@ -890,10 +893,10 @@ ], "description": "Single sign-on functionality for Newfold WordPress sites.", "support": { - "source": "https://github.com/newfold-labs/wp-module-sso/tree/1.0.6", + "source": "https://github.com/newfold-labs/wp-module-sso/tree/1.0.7", "issues": "https://github.com/newfold-labs/wp-module-sso/issues" }, - "time": "2024-07-18T16:12:05+00:00" + "time": "2024-11-06T16:20:22+00:00" }, { "name": "wp-forge/collection", @@ -1217,16 +1220,16 @@ }, { "name": "wpscholar/url", - "version": "1.2.2", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/wpscholar/url.git", - "reference": "c339972ed8e6876f1cfacbc512c6205db63645d0" + "reference": "6e97376a1cf3a9f4d0f0ae976cece6123d1bd4b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wpscholar/url/zipball/c339972ed8e6876f1cfacbc512c6205db63645d0", - "reference": "c339972ed8e6876f1cfacbc512c6205db63645d0", + "url": "https://api.github.com/repos/wpscholar/url/zipball/6e97376a1cf3a9f4d0f0ae976cece6123d1bd4b8", + "reference": "6e97376a1cf3a9f4d0f0ae976cece6123d1bd4b8", "shasum": "" }, "type": "library", @@ -1249,9 +1252,9 @@ "description": "A PHP class for parsing and manipulating URLs.", "support": { "issues": "https://github.com/wpscholar/url/issues", - "source": "https://github.com/wpscholar/url/tree/1.2.2" + "source": "https://github.com/wpscholar/url/tree/1.2.3" }, - "time": "2020-10-27T20:10:04+00:00" + "time": "2024-12-01T20:43:41+00:00" } ], "packages-dev": [ @@ -2058,12 +2061,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "2db4b93f047a03be06ec0a890d252e1c8c635f74" + "reference": "4ed4a2ac17e6d7bec06301356c4e15f595e47842" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/2db4b93f047a03be06ec0a890d252e1c8c635f74", - "reference": "2db4b93f047a03be06ec0a890d252e1c8c635f74", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/4ed4a2ac17e6d7bec06301356c4e15f595e47842", + "reference": "4ed4a2ac17e6d7bec06301356c4e15f595e47842", "shasum": "" }, "conflict": { @@ -2071,7 +2074,7 @@ "admidio/admidio": "<4.3.12", "adodb/adodb-php": "<=5.20.20|>=5.21,<=5.21.3", "aheinze/cockpit": "<2.2", - "aimeos/ai-admin-graphql": ">=2022.04.1,<2022.10.10|>=2023.04.1,<2023.10.6|>=2024.04.1,<2024.04.6", + "aimeos/ai-admin-graphql": ">=2022.04.1,<2022.10.10|>=2023.04.1,<2023.10.6|>=2024.04.1,<2024.07.2", "aimeos/ai-admin-jsonadm": "<2020.10.13|>=2021.04.1,<2021.10.6|>=2022.04.1,<2022.10.3|>=2023.04.1,<2023.10.4|==2024.04.1", "aimeos/ai-client-html": ">=2020.04.1,<2020.10.27|>=2021.04.1,<2021.10.22|>=2022.04.1,<2022.10.13|>=2023.04.1,<2023.10.15|>=2024.04.1,<2024.04.7", "aimeos/ai-controller-frontend": "<2020.10.15|>=2021.04.1,<2021.10.8|>=2022.04.1,<2022.10.8|>=2023.04.1,<2023.10.9|==2024.04.1", @@ -2083,6 +2086,7 @@ "alextselegidis/easyappointments": "<1.5", "alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1", "amazing/media2click": ">=1,<1.3.3", + "ameos/ameos_tarteaucitron": "<1.2.23", "amphp/artax": "<1.0.6|>=2,<2.0.6", "amphp/http": "<=1.7.2|>=2,<=2.1", "amphp/http-client": ">=4,<4.4", @@ -2108,6 +2112,7 @@ "azuracast/azuracast": "<0.18.3", "backdrop/backdrop": "<1.27.3|>=1.28,<1.28.2", "backpack/crud": "<3.4.9", + "backpack/filemanager": "<2.0.2|>=3,<3.0.9", "bacula-web/bacula-web": "<8.0.0.0-RC2-dev", "badaso/core": "<2.7", "bagisto/bagisto": "<2.1", @@ -2115,7 +2120,7 @@ "barrelstrength/sprout-forms": "<3.9", "barryvdh/laravel-translation-manager": "<0.6.2", "barzahlen/barzahlen-php": "<2.0.1", - "baserproject/basercms": "<5.0.9", + "baserproject/basercms": "<=5.1.1", "bassjobsen/bootstrap-3-typeahead": ">4.0.2", "bbpress/bbpress": "<2.6.5", "bcosca/fatfree": "<3.7.2", @@ -2171,7 +2176,7 @@ "contao/managed-edition": "<=1.5", "corveda/phpsandbox": "<1.3.5", "cosenary/instagram": "<=2.3", - "craftcms/cms": "<4.6.2|>=5,<=5.2.2", + "craftcms/cms": "<=4.12.6.1|>=5,<=5.4.7.1", "croogo/croogo": "<4", "cuyz/valinor": "<0.12", "czim/file-handling": "<1.5|>=2,<2.3", @@ -2202,7 +2207,7 @@ "dolibarr/dolibarr": "<19.0.2", "dompdf/dompdf": "<2.0.4", "doublethreedigital/guest-entries": "<3.1.2", - "drupal/core": ">=6,<6.38|>=7,<7.96|>=8,<10.2.9|>=10.3,<10.3.6|>=11,<11.0.5", + "drupal/core": ">=6,<6.38|>=7,<7.96|>=8,<10.2.10|>=10.3,<10.3.6|>=11,<11.0.5", "drupal/core-recommended": ">=8,<10.2.9|>=10.3,<10.3.6|>=11,<11.0.5", "drupal/drupal": ">=5,<5.11|>=6,<6.38|>=7,<7.80|>=8,<10.2.9|>=10.3,<10.3.6|>=11,<11.0.5", "duncanmcclean/guest-entries": "<3.1.2", @@ -2231,6 +2236,7 @@ "ezsystems/ezplatform-admin-ui": ">=1.3,<1.3.5|>=1.4,<1.4.6|>=1.5,<1.5.29|>=2.3,<2.3.26|>=3.3,<3.3.39", "ezsystems/ezplatform-admin-ui-assets": ">=4,<4.2.1|>=5,<5.0.1|>=5.1,<5.1.1", "ezsystems/ezplatform-graphql": ">=1.0.0.0-RC1-dev,<1.0.13|>=2.0.0.0-beta1,<2.3.12", + "ezsystems/ezplatform-http-cache": "<2.3.16", "ezsystems/ezplatform-kernel": "<1.2.5.1-dev|>=1.3,<1.3.35", "ezsystems/ezplatform-rest": ">=1.2,<=1.2.2|>=1.3,<1.3.8", "ezsystems/ezplatform-richtext": ">=2.3,<2.3.7.1-dev|>=3.3,<3.3.40", @@ -2240,13 +2246,14 @@ "ezsystems/ezpublish-legacy": "<=2017.12.7.3|>=2018.6,<=2019.03.5.1", "ezsystems/platform-ui-assets-bundle": ">=4.2,<4.2.3", "ezsystems/repository-forms": ">=2.3,<2.3.2.1-dev|>=2.5,<2.5.15", - "ezyang/htmlpurifier": "<4.1.1", + "ezyang/htmlpurifier": "<=4.2", "facade/ignition": "<1.16.15|>=2,<2.4.2|>=2.5,<2.5.2", "facturascripts/facturascripts": "<=2022.08", "fastly/magento2": "<1.2.26", "feehi/cms": "<=2.1.1", "feehi/feehicms": "<=2.1.1", "fenom/fenom": "<=2.12.1", + "filament/actions": ">=3.2,<3.2.123", "filament/infolists": ">=3,<3.2.115", "filament/tables": ">=3,<3.2.115", "filegator/filegator": "<7.8", @@ -2283,7 +2290,7 @@ "froxlor/froxlor": "<=2.2.0.0-RC3", "frozennode/administrator": "<=5.0.12", "fuel/core": "<1.8.1", - "funadmin/funadmin": "<=3.2|>=3.3.2,<=3.3.3", + "funadmin/funadmin": "<=5.0.2", "gaoming13/wechat-php-sdk": "<=1.10.2", "genix/cms": "<=1.1.11", "getformwork/formwork": "<1.13.1|==2.0.0.0-beta1", @@ -2314,11 +2321,12 @@ "hov/jobfair": "<1.0.13|>=2,<2.0.2", "httpsoft/http-message": "<1.0.12", "hyn/multi-tenant": ">=5.6,<5.7.2", - "ibexa/admin-ui": ">=4.2,<4.2.3|>=4.6.0.0-beta1,<4.6.9", + "ibexa/admin-ui": ">=4.2,<4.2.3|>=4.6,<4.6.14", "ibexa/core": ">=4,<4.0.7|>=4.1,<4.1.4|>=4.2,<4.2.3|>=4.5,<4.5.6|>=4.6,<4.6.2", "ibexa/fieldtype-richtext": ">=4.6,<4.6.10", "ibexa/graphql": ">=2.5,<2.5.31|>=3.3,<3.3.28|>=4.2,<4.2.3", - "ibexa/post-install": "<=1.0.4", + "ibexa/http-cache": ">=4.6,<4.6.14", + "ibexa/post-install": "<1.0.16|>=4.6,<4.6.14", "ibexa/solr": ">=4.5,<4.5.4", "ibexa/user": ">=4,<4.4.3", "icecoder/icecoder": "<=8.1", @@ -2380,8 +2388,9 @@ "lara-zeus/artemis": ">=1,<=1.0.6", "lara-zeus/dynamic-dashboard": ">=3,<=3.0.1", "laravel/fortify": "<1.11.1", - "laravel/framework": "<6.20.44|>=7,<7.30.6|>=8,<8.75", + "laravel/framework": "<6.20.45|>=7,<7.30.7|>=8,<8.83.28|>=9,<9.52.17|>=10,<10.48.23|>=11,<11.31", "laravel/laravel": ">=5.4,<5.4.22", + "laravel/reverb": "<1.4", "laravel/socialite": ">=1,<2.0.10", "latte/latte": "<2.10.8", "lavalite/cms": "<=9|==10.1", @@ -2400,6 +2409,7 @@ "lms/routes": "<2.1.1", "localizationteam/l10nmgr": "<7.4|>=8,<8.7|>=9,<9.2", "luyadev/yii-helpers": "<1.2.1", + "maestroerror/php-heic-to-jpg": "<1.0.5", "magento/community-edition": "<2.4.5|==2.4.5|>=2.4.5.0-patch1,<2.4.5.0-patch10|==2.4.6|>=2.4.6.0-patch1,<2.4.6.0-patch8|>=2.4.7.0-beta1,<2.4.7.0-patch3", "magento/core": "<=1.9.4.5", "magento/magento1ce": "<1.9.4.3-dev", @@ -2413,9 +2423,10 @@ "matyhtf/framework": "<3.0.6", "mautic/core": "<4.4.13|>=5,<5.1.1", "mautic/core-lib": ">=1.0.0.0-beta,<4.4.13|>=5.0.0.0-alpha,<5.1.1", + "maximebf/debugbar": "<1.19", "mdanter/ecc": "<2", "mediawiki/cargo": "<3.6.1", - "mediawiki/core": "<1.36.2", + "mediawiki/core": "<1.39.5|==1.40", "mediawiki/matomo": "<2.4.3", "mediawiki/semantic-media-wiki": "<4.0.2", "melisplatform/melis-asset-manager": "<5.0.1", @@ -2435,7 +2446,7 @@ "mojo42/jirafeau": "<4.4", "mongodb/mongodb": ">=1,<1.9.2", "monolog/monolog": ">=1.8,<1.12", - "moodle/moodle": "<4.3.5|>=4.4.0.0-beta,<4.4.1", + "moodle/moodle": "<4.3.8|>=4.4,<4.4.4", "mos/cimage": "<0.7.19", "movim/moxl": ">=0.8,<=0.10", "movingbytes/social-network": "<=1.2.1", @@ -2483,7 +2494,7 @@ "openmage/magento-lts": "<20.10.1", "opensolutions/vimbadmin": "<=3.0.15", "opensource-workshop/connect-cms": "<1.7.2|>=2,<2.3.2", - "orchid/platform": ">=9,<9.4.4|>=14.0.0.0-alpha4,<14.5", + "orchid/platform": ">=8,<14.43", "oro/calendar-bundle": ">=4.2,<=4.2.6|>=5,<=5.0.6|>=5.1,<5.1.1", "oro/commerce": ">=4.1,<5.0.11|>=5.1,<5.1.1", "oro/crm": ">=1.7,<1.7.4|>=3.1,<4.1.17|>=4.2,<4.2.7", @@ -2514,7 +2525,7 @@ "phenx/php-svg-lib": "<0.5.2", "php-censor/php-censor": "<2.0.13|>=2.1,<2.1.5", "php-mod/curl": "<2.3.2", - "phpbb/phpbb": "<3.2.10|>=3.3,<3.3.1", + "phpbb/phpbb": "<3.3.11", "phpems/phpems": ">=6,<=6.1.3", "phpfastcache/phpfastcache": "<6.1.5|>=7,<7.1.2|>=8,<8.0.7", "phpmailer/phpmailer": "<6.5", @@ -2522,8 +2533,8 @@ "phpmyadmin/phpmyadmin": "<5.2.1", "phpmyfaq/phpmyfaq": "<3.2.5|==3.2.5", "phpoffice/common": "<0.2.9", - "phpoffice/phpexcel": "<1.8", - "phpoffice/phpspreadsheet": "<1.29.2|>=2,<2.1.1|>=2.2,<2.3", + "phpoffice/phpexcel": "<1.8.1", + "phpoffice/phpspreadsheet": "<1.29.4|>=2,<2.1.3|>=2.2,<2.3.2|>=3.3,<3.4", "phpseclib/phpseclib": "<2.0.47|>=3,<3.0.36", "phpservermon/phpservermon": "<3.6", "phpsysinfo/phpsysinfo": "<3.4.3", @@ -2560,7 +2571,7 @@ "processwire/processwire": "<=3.0.229", "propel/propel": ">=2.0.0.0-alpha1,<=2.0.0.0-alpha7", "propel/propel1": ">=1,<=1.7.1", - "pterodactyl/panel": "<1.11.6", + "pterodactyl/panel": "<1.11.8", "ptheofan/yii2-statemachine": ">=2.0.0.0-RC1-dev,<=2", "ptrofimov/beanstalk_console": "<1.7.14", "pubnub/pubnub": "<6.1", @@ -2577,7 +2588,7 @@ "rap2hpoutre/laravel-log-viewer": "<0.13", "react/http": ">=0.7,<1.9", "really-simple-plugins/complianz-gdpr": "<6.4.2", - "redaxo/source": "<=5.17.1", + "redaxo/source": "<5.18", "remdex/livehelperchat": "<4.29", "reportico-web/reportico": "<=8.1", "rhukster/dom-sanitizer": "<1.0.7", @@ -2589,6 +2600,7 @@ "s-cart/s-cart": "<6.9", "sabberworm/php-css-parser": ">=1,<1.0.1|>=2,<2.0.1|>=3,<3.0.1|>=4,<4.0.1|>=5,<5.0.9|>=5.1,<5.1.3|>=5.2,<5.2.1|>=6,<6.0.2|>=7,<7.0.4|>=8,<8.0.1|>=8.1,<8.1.1|>=8.2,<8.2.1|>=8.3,<8.3.1", "sabre/dav": ">=1.6,<1.7.11|>=1.8,<1.8.9", + "samwilson/unlinked-wikibase": "<1.39.6|>=1.40,<1.40.2|>=1.41,<1.41.1", "scheb/two-factor-bundle": "<3.26|>=4,<4.11", "sensiolabs/connect": "<4.2.3", "serluck/phpwhois": "<=4.2.6", @@ -2620,11 +2632,13 @@ "silverstripe/userforms": "<3|>=5,<5.4.2", "silverstripe/versioned-admin": ">=1,<1.11.1", "simple-updates/phpwhois": "<=1", - "simplesamlphp/saml2": "<1.10.6|>=2,<2.3.8|>=3,<3.1.4|==5.0.0.0-alpha12", + "simplesamlphp/saml2": "<4.6.14|==5.0.0.0-alpha12", + "simplesamlphp/saml2-legacy": "<4.6.14", "simplesamlphp/simplesamlphp": "<1.18.6", "simplesamlphp/simplesamlphp-module-infocard": "<1.0.1", "simplesamlphp/simplesamlphp-module-openid": "<1", "simplesamlphp/simplesamlphp-module-openidprovider": "<0.9", + "simplesamlphp/xml-common": "<1.20", "simplesamlphp/xml-security": "==1.6.11", "simplito/elliptic-php": "<1.0.6", "sitegeist/fluid-components": "<3.5", @@ -2633,18 +2647,19 @@ "slim/slim": "<2.6", "slub/slub-events": "<3.0.3", "smarty/smarty": "<4.5.3|>=5,<5.1.1", - "snipe/snipe-it": "<7.0.10", + "snipe/snipe-it": "<=7.0.13", "socalnick/scn-social-auth": "<1.15.2", "socialiteproviders/steam": "<1.1", "spatie/browsershot": "<3.57.4", "spatie/image-optimizer": "<1.7.3", + "spencer14420/sp-php-email-handler": "<1", "spipu/html2pdf": "<5.2.8", "spoon/library": "<1.4.1", "spoonity/tcpdf": "<6.2.22", "squizlabs/php_codesniffer": ">=1,<2.8.1|>=3,<3.0.1", "ssddanbrown/bookstack": "<24.05.1", "starcitizentools/citizen-skin": ">=2.6.3,<2.31", - "statamic/cms": "<4.46|>=5.3,<5.6.2", + "statamic/cms": "<=5.16", "stormpath/sdk": "<9.9.99", "studio-42/elfinder": "<=2.1.64", "studiomitte/friendlycaptcha": "<0.1.4", @@ -2673,7 +2688,8 @@ "symfony/error-handler": ">=4.4,<4.4.4|>=5,<5.0.4", "symfony/form": ">=2.3,<2.3.35|>=2.4,<2.6.12|>=2.7,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.20|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1", "symfony/framework-bundle": ">=2,<2.3.18|>=2.4,<2.4.8|>=2.5,<2.5.2|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7|>=5.3.14,<5.3.15|>=5.4.3,<5.4.4|>=6.0.3,<6.0.4", - "symfony/http-foundation": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7", + "symfony/http-client": ">=4.3,<5.4.47|>=6,<6.4.15|>=7,<7.1.8", + "symfony/http-foundation": "<5.4.46|>=6,<6.4.14|>=7,<7.1.7", "symfony/http-kernel": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.2.6", "symfony/intl": ">=2.7,<2.7.38|>=2.8,<2.8.31|>=3,<3.2.14|>=3.3,<3.3.13", "symfony/maker-bundle": ">=1.27,<1.29.2|>=1.30,<1.31.1", @@ -2681,20 +2697,22 @@ "symfony/phpunit-bridge": ">=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/polyfill": ">=1,<1.10", "symfony/polyfill-php55": ">=1,<1.10", + "symfony/process": "<5.4.46|>=6,<6.4.14|>=7,<7.1.7", "symfony/proxy-manager-bridge": ">=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/routing": ">=2,<2.0.19", + "symfony/runtime": ">=5.3,<5.4.46|>=6,<6.4.14|>=7,<7.1.7", "symfony/security": ">=2,<2.7.51|>=2.8,<3.4.49|>=4,<4.4.24|>=5,<5.2.8", - "symfony/security-bundle": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.2.6", + "symfony/security-bundle": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.4.10|>=7,<7.0.10|>=7.1,<7.1.3", "symfony/security-core": ">=2.4,<2.6.13|>=2.7,<2.7.9|>=2.7.30,<2.7.32|>=2.8,<3.4.49|>=4,<4.4.24|>=5,<5.2.9", "symfony/security-csrf": ">=2.4,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", "symfony/security-guard": ">=2.8,<3.4.48|>=4,<4.4.23|>=5,<5.2.8", - "symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7|>=5.1,<5.2.8|>=5.3,<5.3.2|>=5.4,<5.4.31|>=6,<6.3.8", + "symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7|>=5.1,<5.2.8|>=5.3,<5.4.47|>=6,<6.4.15|>=7,<7.1.8", "symfony/serializer": ">=2,<2.0.11|>=4.1,<4.4.35|>=5,<5.3.12", - "symfony/symfony": ">=2,<4.4.51|>=5,<5.4.31|>=6,<6.3.8", + "symfony/symfony": "<5.4.47|>=6,<6.4.15|>=7,<7.1.8", "symfony/translation": ">=2,<2.0.17", "symfony/twig-bridge": ">=2,<4.4.51|>=5,<5.4.31|>=6,<6.3.8", "symfony/ux-autocomplete": "<2.11.2", - "symfony/validator": ">=2,<2.0.24|>=2.1,<2.1.12|>=2.2,<2.2.5|>=2.3,<2.3.3", + "symfony/validator": "<5.4.43|>=6,<6.4.11|>=7,<7.1.4", "symfony/var-exporter": ">=4.2,<4.2.12|>=4.3,<4.3.8", "symfony/web-profiler-bundle": ">=2,<2.3.19|>=2.4,<2.4.9|>=2.5,<2.5.4", "symfony/webhook": ">=6.3,<6.3.8", @@ -2705,7 +2723,7 @@ "t3s/content-consent": "<1.0.3|>=2,<2.0.2", "tastyigniter/tastyigniter": "<3.3", "tcg/voyager": "<=1.4", - "tecnickcom/tcpdf": "<=6.7.4", + "tecnickcom/tcpdf": "<=6.7.5", "terminal42/contao-tablelookupwizard": "<3.3.5", "thelia/backoffice-default-template": ">=2.1,<2.1.2", "thelia/thelia": ">=2.1,<2.1.3", @@ -2720,14 +2738,14 @@ "tobiasbg/tablepress": "<=2.0.0.0-RC1", "topthink/framework": "<6.0.17|>=6.1,<=8.0.4", "topthink/think": "<=6.1.1", - "topthink/thinkphp": "<=3.2.3", + "topthink/thinkphp": "<=3.2.3|>=6.1.3,<=8.0.4", "torrentpier/torrentpier": "<=2.4.3", "tpwd/ke_search": "<4.0.3|>=4.1,<4.6.6|>=5,<5.0.2", "tribalsystems/zenario": "<=9.7.61188", "truckersmp/phpwhois": "<=4.3.1", "ttskch/pagination-service-provider": "<1", "twbs/bootstrap": "<=3.4.1|>=4,<=4.6.2", - "twig/twig": "<1.44.8|>=2,<2.16.1|>=3,<3.11.1|>=3.12,<3.14", + "twig/twig": "<3.11.2|>=3.12,<3.14.1", "typo3/cms": "<9.5.29|>=10,<10.4.35|>=11,<11.5.23|>=12,<12.2", "typo3/cms-backend": "<4.1.14|>=4.2,<4.2.15|>=4.3,<4.3.7|>=4.4,<4.4.4|>=7,<=7.6.50|>=8,<=8.7.39|>=9,<=9.5.24|>=10,<10.4.46|>=11,<11.5.40|>=12,<12.4.21|>=13,<13.3.1", "typo3/cms-core": "<=8.7.56|>=9,<=9.5.47|>=10,<=10.4.44|>=11,<=11.5.36|>=12,<=12.4.14|>=13,<=13.1", @@ -2746,6 +2764,7 @@ "ua-parser/uap-php": "<3.8", "uasoft-indonesia/badaso": "<=2.9.7", "unisharp/laravel-filemanager": "<2.6.4", + "unopim/unopim": "<0.1.5", "userfrosting/userfrosting": ">=0.3.1,<4.6.3", "usmanhalalit/pixie": "<1.0.3|>=2,<2.0.2", "uvdesk/community-skeleton": "<=1.1.1", @@ -2791,7 +2810,7 @@ "xataface/xataface": "<3", "xpressengine/xpressengine": "<3.0.15", "yab/quarx": "<2.4.5", - "yeswiki/yeswiki": "<4.1", + "yeswiki/yeswiki": "<=4.4.4", "yetiforce/yetiforce-crm": "<=6.4", "yidashi/yii2cmf": "<=2", "yii2mod/yii2-cms": "<1.9.2", @@ -2882,7 +2901,7 @@ "type": "tidelift" } ], - "time": "2024-10-18T15:05:15+00:00" + "time": "2024-12-05T20:05:42+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -3337,16 +3356,16 @@ }, { "name": "wp-phpunit/wp-phpunit", - "version": "6.6.2", + "version": "6.7.1", "source": { "type": "git", "url": "https://github.com/wp-phpunit/wp-phpunit.git", - "reference": "7a1d3a2150033a3d3e19de40aa5b2ef2fee36bc3" + "reference": "e63eb1c0980839853c569d3f04ff70263b7795e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-phpunit/wp-phpunit/zipball/7a1d3a2150033a3d3e19de40aa5b2ef2fee36bc3", - "reference": "7a1d3a2150033a3d3e19de40aa5b2ef2fee36bc3", + "url": "https://api.github.com/repos/wp-phpunit/wp-phpunit/zipball/e63eb1c0980839853c569d3f04ff70263b7795e3", + "reference": "e63eb1c0980839853c569d3f04ff70263b7795e3", "shasum": "" }, "type": "library", @@ -3381,7 +3400,7 @@ "issues": "https://github.com/wp-phpunit/issues", "source": "https://github.com/wp-phpunit/wp-phpunit" }, - "time": "2024-07-17T01:13:44+00:00" + "time": "2024-11-22T01:27:46+00:00" } ], "aliases": [ @@ -3398,8 +3417,8 @@ }, "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [], + "platform": {}, + "platform-dev": {}, "platform-overrides": { "php": "7.0.0" }, diff --git a/cypress.config.js b/cypress.config.js index 1858b44..33891d1 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -53,6 +53,13 @@ module.exports = defineConfig({ } } + // Tests requires Woo, so exclude if not supported due to WP or PHP versions + if ( ! supportsWoo( config.env ) ) { + config.excludeSpecPattern = config.excludeSpecPattern.concat( [ + 'vendor/newfold-labs/wp-module-coming-soon/tests/cypress/integration/coming-soon-woo.cy.js', + ] ); + } + on('task', { log(message) { console.log(message) @@ -84,3 +91,15 @@ module.exports = defineConfig({ retries: 1, experimentalMemoryManagement: true, }) + +// Check against plugin support at https://wordpress.org/plugins/woocommerce/ +const supportsWoo = ( env ) => { + const semver = require( 'semver' ); + if ( + semver.satisfies( env.wpSemverVersion, '>=6.5.0' ) && + semver.satisfies( env.phpSemverVersion, '>=7.4.0' ) + ) { + return true; + } + return false; +}; \ No newline at end of file diff --git a/languages/wp-plugin-mojo.pot b/languages/wp-plugin-mojo.pot index d4e383d..26d1d9a 100644 --- a/languages/wp-plugin-mojo.pot +++ b/languages/wp-plugin-mojo.pot @@ -2,7 +2,7 @@ # This file is distributed under the GPL 2.0 or later. msgid "" msgstr "" -"Project-Id-Version: The MOJO Plugin 3.2.4\n" +"Project-Id-Version: The MOJO Plugin 3.2.5\n" "Report-Msgid-Bugs-To: https://github.com/newfold-labs/wp-plugin-mojo/issues\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -76,28 +76,28 @@ msgstr "" #: inc/Admin.php:61 #: inc/Admin.php:215 -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Home" msgstr "" #: inc/Admin.php:64 -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Marketplace" msgstr "" #: inc/Admin.php:69 -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Performance" msgstr "" #: inc/Admin.php:73 #: inc/Admin.php:216 -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Settings" msgstr "" #: inc/Admin.php:76 -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Help" msgstr "" @@ -183,209 +183,209 @@ msgstr "" msgid "Auto-updates enabled" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Mojo WordPress Plugin" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Oh No, An Error!" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "You found an error, please refresh the page and try again!" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "If the error persists, please contact support." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid " Error code: " msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "MOJO Account" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "There's nothing here!" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Admin" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "The performance feature provides improvements to loads faster for visitors including cache settings." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Sorry, that is not allowed." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "This feature cannot currently be modified." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Oops! Something went wrong. Please try again." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Support Center" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Submit a support ticket. Once you open a ticket, we'll respond promptly to get it resolved." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Submit a Request" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Phone" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Speak to our support team over the phone at 855-464-5345." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Call Us" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Blog" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Follow along and take your website to its full potential with WordPress guides and how tos, inspiration, MOJO Marketplace product updates, and more!" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Learn Stuff" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "WP Live Support" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Our WordPress experts will treat your problem like theirs and teach you how to build, grow, and maintain your websites. Starting at $29/month" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Sign Up" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Settings and Performance" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Customize & fine-tune your site." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Manage Settings" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Manage your site settings. You can ajdust automatic updates, comments, revisions and more." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Manage site performance and caching settings as well as clear the site cache." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Visit Marketplace" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Add site services, themes or plugins from the marketplace." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Explore our featured collection of tools and services." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Oops, there was an error loading the marketplace, please try again later." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Sorry, no marketplace items. Please, try again later." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Load More" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Oops! Something Went Wrong" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "An error occurred while loading the content. Please try again later." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Site Status" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Not Live" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Live" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Coming soon page" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Your Coming Soon page lets you hide your site from visitors while you make the magic happen." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Your website is currently displaying a \"Coming Soon\" page." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Manage All Updates" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "WordPress Core" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Plugins" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Themes" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Automatic Updates" msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid "Keeping automatic updates on ensures timely security fixes and the latest features." msgstr "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid " day." msgid_plural " days." msgstr[0] "" msgstr[1] "" -#: build/3.2.4/index.js:1 +#: build/3.2.5/index.js:1 msgid " comment at a time." msgid_plural " comments at a time." msgstr[0] "" diff --git a/mojo-marketplace.php b/mojo-marketplace.php index de6bba3..0ee9937 100644 --- a/mojo-marketplace.php +++ b/mojo-marketplace.php @@ -12,8 +12,8 @@ * Plugin URI: https://mojomarketplace.com * Update URI: https://github.com/newfold-labs/wp-plugin-mojo/ * Description: WordPress plugin that integrates a WordPress site with Hosting. - * Version: 3.2.4 - * Tested up to: 6.6.2 + * Version: 3.2.5 + * Tested up to: 6.7.1 * Requires at least: 5.8 * Requires PHP: 7.1 * Author: Bluehost @@ -32,7 +32,7 @@ } // Define constants -define( 'MOJO_PLUGIN_VERSION', '3.2.4' ); +define( 'MOJO_PLUGIN_VERSION', '3.2.5' ); define( 'MOJO_PLUGIN_FILE', __FILE__ ); define( 'MOJO_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'MOJO_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); diff --git a/package-lock.json b/package-lock.json index 6238cdb..bde9e7f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,41 +1,41 @@ { "name": "wp-plugin-mojo", - "version": "3.2.4", + "version": "3.2.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "wp-plugin-mojo", - "version": "3.2.4", + "version": "3.2.5", "license": "GPL-2.0-or-later", "dependencies": { - "@heroicons/react": "^2.1.5", + "@heroicons/react": "^2.2.0", "@newfold-labs/wp-module-runtime": "^1.0.12", "@newfold/ui-component-library": "^1.1.0", - "@wordpress/compose": "^7.11.0", - "@wordpress/dom-ready": "^4.11.0", - "@wordpress/element": "^6.8.0", - "@wordpress/i18n": "^5.11.0", - "@wordpress/icons": "^10.8.0", + "@wordpress/compose": "^7.13.0", + "@wordpress/dom-ready": "^4.13.0", + "@wordpress/element": "^6.13.0", + "@wordpress/i18n": "^5.13.0", + "@wordpress/icons": "^10.13.0", "ajv": "^8.17.1", "classnames": "^2.5.1", "jquery": "^3.7.1", "lodash": "^4.17.21", "react": "^18.3.1", - "react-error-boundary": "^4.0.13", - "react-router-dom": "^6.26.0", + "react-error-boundary": "^4.1.2", + "react-router-dom": "^7.0.2", "react-use": "^17.5.1" }, "devDependencies": { "@tailwindcss/forms": "^0.5.7", "@testing-library/cypress": "^10.0.2", - "@wordpress/env": "^10.11.0", - "@wordpress/scripts": "^30.4.0", - "axe-core": "^4.10.0", - "cypress": "^13.15.0", + "@wordpress/env": "^10.13.0", + "@wordpress/scripts": "^30.6.0", + "axe-core": "^4.10.2", + "cypress": "^13.16.1", "cypress-axe": "^1.5.0", "node-fetch": "^2.7.0", - "tailwindcss": "^3.4.13", + "tailwindcss": "^3.4.16", "yaml-lint": "^1.7.0" }, "engines": { @@ -2156,9 +2156,9 @@ } }, "node_modules/@cypress/request": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.5.tgz", - "integrity": "sha512-v+XHd9XmWbufxF1/bTaVm2yhbxY+TB4YtWRqF2zaXBlDNMkls34KiATz0AVDLavL3iB6bQk9/7n3oY1EoLSWGA==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.6.tgz", + "integrity": "sha512-fi0eVdCOtKu5Ed6+E8mYxUF6ZTFJDZvHogCBelM0xVXmrDEkyM22gRArQzq1YcHPm1V47Vf/iAD+WgVdUlJCGg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -2177,7 +2177,7 @@ "performance-now": "^2.1.0", "qs": "6.13.0", "safe-buffer": "^5.1.2", - "tough-cookie": "^4.1.3", + "tough-cookie": "^5.0.0", "tunnel-agent": "^0.6.0", "uuid": "^8.3.2" }, @@ -2185,6 +2185,19 @@ "node": ">= 6" } }, + "node_modules/@cypress/request/node_modules/tough-cookie": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.0.0.tgz", + "integrity": "sha512-FRKsF7cz96xIIeMZ82ehjC3xW2E+O2+v11udrDYewUbszngYhsGa8z6YUMMzO9QJZzzyd0nGGXnML/TReX6W8Q==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "tldts": "^6.1.32" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/@cypress/xvfb": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.2.4.tgz", @@ -2447,12 +2460,11 @@ } }, "node_modules/@heroicons/react": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-2.1.5.tgz", - "integrity": "sha512-FuzFN+BsHa+7OxbvAERtgBTNeZpUjgM/MIizfVkSCL2/edriN0Hx/DWRCR//aPYwO5QX/YlgLGXk+E3PcfZwjA==", - "license": "MIT", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-2.2.0.tgz", + "integrity": "sha512-LMcepvRaS9LYHJGsF0zzmgKCUim/X3N/DQKc4jepAXJ7l8QxJ1PmxJzqplF2Z3FE4PqBAIGyJAQ/w4B5dsqbtQ==", "peerDependencies": { - "react": ">= 16" + "react": ">= 16 || ^19.0.0-rc" } }, "node_modules/@humanwhocodes/config-array": { @@ -3407,15 +3419,6 @@ } } }, - "node_modules/@remix-run/router": { - "version": "1.19.2", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.2.tgz", - "integrity": "sha512-baiMx18+IMuD1yyvOGaHM9QrVUPGGG0jC+z+IPHnRJWUAUvaKuWKyE8gjDj2rzv3sz9zOGoRSPgeBVHRhZnBlA==", - "license": "MIT", - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/@rtsao/scc": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz", @@ -4140,6 +4143,12 @@ "@types/node": "*" } }, + "node_modules/@types/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==", + "license": "MIT" + }, "node_modules/@types/estree": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", @@ -5174,9 +5183,9 @@ } }, "node_modules/@wordpress/compose": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-7.11.0.tgz", - "integrity": "sha512-8Gv95+lJza3WiHxvaZgA2nKAlaEJonpFa82jF2c2ecGxHJNJUiF+kwmfr/yJpjVxSvNvHfpZlTuXHDi4hoMfYg==", + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-7.13.0.tgz", + "integrity": "sha512-YHaHFft/Wykz0kFhBHJyHZ6gHjs7k+Erd0ASkqKTBumtTO/rnLA1JHKFF7z4wiYIdv4cl3tpBHR7LA4NK9rG6A==", "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7", @@ -5244,9 +5253,9 @@ } }, "node_modules/@wordpress/dom-ready": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-4.11.0.tgz", - "integrity": "sha512-wAqRxFpP19m8KwXzand3BrrqRkU7SXH9/fdk1q/Q+oqoXIrLMDFWsH6xbXgM4q/id2Z4ZMK5dZQ3tYf/0qDpFg==", + "version": "4.13.0", + "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-4.13.0.tgz", + "integrity": "sha512-ajR4BeHaUERWC7M3JyEVrhtahWYaj/r78k1bUoP80HRzAhIFEGsicPc9+j/KaLHFJoHyPllMiRZfTgjwYJ7zqQ==", "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7" @@ -5343,14 +5352,15 @@ } }, "node_modules/@wordpress/element": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-6.8.0.tgz", - "integrity": "sha512-RufMjsZl0vyYRWGbc/iDlUbu10qRcpOYLCBnayKcAeRh0ojQ/upMcObW+PPnpo/FOcbDRqj29FCvkZDqI/2cOg==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-6.13.0.tgz", + "integrity": "sha512-ndDjl5m71bsY9I/8u4wse+ETs0hnXB6+zA34OG4J5w5twCNRO4EORT8SnLYDIRJtqQXZv3615v0+Z4KkcjhUTQ==", + "license": "GPL-2.0-or-later", "dependencies": { - "@babel/runtime": "^7.16.0", + "@babel/runtime": "7.25.7", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.25", - "@wordpress/escape-html": "^3.8.0", + "@wordpress/escape-html": "*", "change-case": "^4.1.2", "is-plain-object": "^5.0.0", "react": "^18.3.0", @@ -5362,9 +5372,9 @@ } }, "node_modules/@wordpress/env": { - "version": "10.11.0", - "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-10.11.0.tgz", - "integrity": "sha512-Sd31oiYxy9/pNMfYw7XgtCBoD4PpvcK1UQ/FVFP+DsTTuo55Ma4UAHMKfg2NhnZWqhJTgPC6XXzicGpr/lK4RQ==", + "version": "10.13.0", + "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-10.13.0.tgz", + "integrity": "sha512-Q7ay+/jZ+O/Pkc65LDJ5BzoqTT/B0+gDgvYnWMyySPiMpFz+iQ+XoQibrj3VneiQDH7nJjtk/ZuyPHu7wGdlBg==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { @@ -5514,9 +5524,9 @@ } }, "node_modules/@wordpress/i18n": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-5.11.0.tgz", - "integrity": "sha512-U8CoXAIcmxcOHD1VeGRoo6iLjx71eE4LstQjHjKGT3J4Lz43O8MunT+/cm606FCcQgunPCyaALquD2vSf+JD9w==", + "version": "5.13.0", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-5.13.0.tgz", + "integrity": "sha512-Ij5y+buxIm1CgGIR3upUp86L9ovE5usWKmMbK5uqa5c40ewL4/ERZlP6UKpHy5INBcXKNk4pSBAH3PLb14wg8g==", "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7", @@ -5535,13 +5545,14 @@ } }, "node_modules/@wordpress/icons": { - "version": "10.8.0", - "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-10.8.0.tgz", - "integrity": "sha512-JiBI44uNkJEHV3IU0rKLn0wO36crWY62NqiQ6Fi+nn8KG0J4e1/JrJoV5EiFkaLneWBAFPeUkLjIOYlNPcZnmA==", + "version": "10.13.0", + "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-10.13.0.tgz", + "integrity": "sha512-qmCuJrv3VsVnFxbLtYJU9Th+GUKbckwluMae0p+IgNHtebZhW6ES7eX87kAOmCieo6FxrCWR0zD9kuopUUE44Q==", + "license": "GPL-2.0-or-later", "dependencies": { - "@babel/runtime": "^7.16.0", - "@wordpress/element": "^6.8.0", - "@wordpress/primitives": "^4.8.0" + "@babel/runtime": "7.25.7", + "@wordpress/element": "*", + "@wordpress/primitives": "*" }, "engines": { "node": ">=18.12.0", @@ -5682,9 +5693,9 @@ } }, "node_modules/@wordpress/scripts": { - "version": "30.4.0", - "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-30.4.0.tgz", - "integrity": "sha512-hAX8XB8hWlxAyktT4KkBpGttRwSynmtkpLvbVKeKnj+BjABFs4TGb/HCF9hFpUK3huCAg8Ft/sjjczW+5tqspQ==", + "version": "30.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-30.6.0.tgz", + "integrity": "sha512-2i6wqCdvCcf00/vLi7twNzHUdAAOo8Uk0lqntZiBKpVrjHyLkzjmPwT3So6W/VYso5QMzEXRXYVHVKGE4wX4rg==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { @@ -5730,7 +5741,6 @@ "npm-package-json-lint": "^6.4.0", "npm-packlist": "^3.0.0", "postcss": "^8.4.5", - "postcss-import": "^16.1.0", "postcss-loader": "^6.2.1", "prettier": "npm:wp-prettier@3.0.3", "puppeteer-core": "^23.1.0", @@ -5770,24 +5780,6 @@ "dev": true, "license": "BSD" }, - "node_modules/@wordpress/scripts/node_modules/postcss-import": { - "version": "16.1.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-16.1.0.tgz", - "integrity": "sha512-7hsAZ4xGXl4MW+OKEWCnF6T5jqBw80/EE9aXg1r2yyn1RsVEU8EtKXbijEODa+rg7iih4bKf7vlvTGYR4CnPNg==", - "dev": true, - "license": "MIT", - "dependencies": { - "postcss-value-parser": "^4.0.0", - "read-cache": "^1.0.0", - "resolve": "^1.1.7" - }, - "engines": { - "node": ">=18.0.0" - }, - "peerDependencies": { - "postcss": "^8.0.0" - } - }, "node_modules/@wordpress/stylelint-config": { "version": "21.41.0", "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-21.41.0.tgz", @@ -6550,11 +6542,10 @@ "license": "MIT" }, "node_modules/axe-core": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.0.tgz", - "integrity": "sha512-Mr2ZakwQ7XUAjp7pAwQWRhhK8mQQ6JAaNWSjmjxil0R8BPioMtQsTLOolGYkji1rcL++3dCqZA3zWqpT+9Ew6g==", + "version": "4.10.2", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.2.tgz", + "integrity": "sha512-RE3mdQ7P3FRSe7eqCWoeQ/Z9QXrtniSjp1wUjt5nRC3WIpz5rSCve6o3fsZ2aCpJtrZjSZgjwXAoTO5k4tEI0w==", "dev": true, - "license": "MPL-2.0", "engines": { "node": ">=4" } @@ -8550,13 +8541,14 @@ } }, "node_modules/cypress": { - "version": "13.15.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.15.0.tgz", - "integrity": "sha512-53aO7PwOfi604qzOkCSzNlWquCynLlKE/rmmpSPcziRH6LNfaDUAklQT6WJIsD8ywxlIy+uVZsnTMCCQVd2kTw==", + "version": "13.16.1", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.16.1.tgz", + "integrity": "sha512-17FtCaz0cx7ssWYKXzGB0Vub8xHwpVPr+iPt2fHhLMDhVAPVrplD+rTQsZUsfb19LVBn5iwkEUFjQ1yVVJXsLA==", "dev": true, "hasInstallScript": true, + "license": "MIT", "dependencies": { - "@cypress/request": "^3.0.4", + "@cypress/request": "^3.0.6", "@cypress/xvfb": "^1.2.4", "@types/sinonjs__fake-timers": "8.1.1", "@types/sizzle": "^2.3.2", @@ -8567,6 +8559,7 @@ "cachedir": "^2.3.0", "chalk": "^4.1.0", "check-more-types": "^2.24.0", + "ci-info": "^4.0.0", "cli-cursor": "^3.1.0", "cli-table3": "~0.6.1", "commander": "^6.2.1", @@ -8581,7 +8574,6 @@ "figures": "^3.2.0", "fs-extra": "^9.1.0", "getos": "^3.2.1", - "is-ci": "^3.0.1", "is-installed-globally": "~0.4.0", "lazy-ass": "^1.6.0", "listr2": "^3.8.3", @@ -8596,6 +8588,7 @@ "semver": "^7.5.3", "supports-color": "^8.1.1", "tmp": "~0.2.3", + "tree-kill": "1.2.2", "untildify": "^4.0.0", "yauzl": "^2.10.0" }, @@ -8620,6 +8613,22 @@ "cypress": "^10 || ^11 || ^12 || ^13" } }, + "node_modules/cypress/node_modules/ci-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.1.0.tgz", + "integrity": "sha512-HutrvTNsF48wnxkzERIXOe5/mlcfFcbfCmwcg6CJnizbSue78AbDt+1cgl26zwn61WFxhcPykPfZrbqjGmBb4A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/cypress/node_modules/extract-zip": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", @@ -8970,9 +8979,9 @@ } }, "node_modules/default-gateway/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "license": "MIT", "dependencies": { @@ -10598,9 +10607,9 @@ } }, "node_modules/eslint/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "license": "MIT", "dependencies": { @@ -10942,9 +10951,9 @@ } }, "node_modules/execa/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "license": "MIT", "dependencies": { @@ -11773,9 +11782,9 @@ } }, "node_modules/foreground-child/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "license": "MIT", "dependencies": { @@ -13266,19 +13275,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-ci": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz", - "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ci-info": "^3.2.0" - }, - "bin": { - "is-ci": "bin.js" - } - }, "node_modules/is-core-module": { "version": "2.15.1", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", @@ -13995,9 +13991,9 @@ } }, "node_modules/jest-changed-files/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "license": "MIT", "dependencies": { @@ -15596,9 +15592,9 @@ } }, "node_modules/lilconfig": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", - "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", + "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", "dev": true, "license": "MIT", "engines": { @@ -17764,11 +17760,10 @@ "license": "MIT" }, "node_modules/picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", - "dev": true, - "license": "ISC" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true }, "node_modules/picomatch": { "version": "2.3.1", @@ -19298,10 +19293,9 @@ } }, "node_modules/react-error-boundary": { - "version": "4.0.13", - "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-4.0.13.tgz", - "integrity": "sha512-b6PwbdSv8XeOSYvjt8LpgpKrZ0yGdtZokYwkwV2wlcZbxgopHX/hgPl5VgpnoVOWd868n1hktM8Qm4b+02MiLQ==", - "license": "MIT", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-4.1.2.tgz", + "integrity": "sha512-GQDxZ5Jd+Aq/qUxbCm1UtzmL/s++V7zKgE8yMktJiCQXCCFZnMZh9ng+6/Ne6PjNSXH0L9CjeOEREfRnq6Duag==", "dependencies": { "@babel/runtime": "^7.12.5" }, @@ -19327,35 +19321,52 @@ } }, "node_modules/react-router": { - "version": "6.26.2", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.2.tgz", - "integrity": "sha512-tvN1iuT03kHgOFnLPfLJ8V95eijteveqdOSk+srqfePtQvqCExB8eHOYnlilbOcyJyKnYkr1vJvf7YqotAJu1A==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.0.2.tgz", + "integrity": "sha512-m5AcPfTRUcjwmhBzOJGEl6Y7+Crqyju0+TgTQxoS4SO+BkWbhOrcfZNq6wSWdl2BBbJbsAoBUb8ZacOFT+/JlA==", "license": "MIT", "dependencies": { - "@remix-run/router": "1.19.2" + "@types/cookie": "^0.6.0", + "cookie": "^1.0.1", + "set-cookie-parser": "^2.6.0", + "turbo-stream": "2.4.0" }, "engines": { - "node": ">=14.0.0" + "node": ">=20.0.0" }, "peerDependencies": { - "react": ">=16.8" + "react": ">=18", + "react-dom": ">=18" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + } } }, "node_modules/react-router-dom": { - "version": "6.26.2", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.2.tgz", - "integrity": "sha512-z7YkaEW0Dy35T3/QKPYB1LjMK2R1fxnHO8kWpUMTBdfVzZrWOiY9a7CtN8HqdWtDUWd5FY6Dl8HFsqVwH4uOtQ==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.0.2.tgz", + "integrity": "sha512-VJOQ+CDWFDGaWdrG12Nl+d7yHtLaurNgAQZVgaIy7/Xd+DojgmYLosFfZdGz1wpxmjJIAkAMVTKWcvkx1oggAw==", "license": "MIT", "dependencies": { - "@remix-run/router": "1.19.2", - "react-router": "6.26.2" + "react-router": "7.0.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=20.0.0" }, "peerDependencies": { - "react": ">=16.8", - "react-dom": ">=16.8" + "react": ">=18", + "react-dom": ">=18" + } + }, + "node_modules/react-router/node_modules/cookie": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.0.2.tgz", + "integrity": "sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==", + "license": "MIT", + "engines": { + "node": ">=18" } }, "node_modules/react-universal-interface": { @@ -20504,6 +20515,12 @@ "node": ">= 0.8.0" } }, + "node_modules/set-cookie-parser": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.1.tgz", + "integrity": "sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==", + "license": "MIT" + }, "node_modules/set-function-length": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", @@ -21980,33 +21997,34 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.13", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.13.tgz", - "integrity": "sha512-KqjHOJKogOUt5Bs752ykCeiwvi0fKVkr5oqsFNt/8px/tA8scFPIlkygsf6jXrfCqGHz7VflA6+yytWuM+XhFw==", + "version": "3.4.16", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.16.tgz", + "integrity": "sha512-TI4Cyx7gDiZ6r44ewaJmt0o6BrMCT5aK5e0rmJ/G9Xq3w7CX/5VXl/zIPEJZFUK5VEqwByyhqNPycPlvcK4ZNw==", "dev": true, + "license": "MIT", "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", - "chokidar": "^3.5.3", + "chokidar": "^3.6.0", "didyoumean": "^1.2.2", "dlv": "^1.1.3", - "fast-glob": "^3.3.0", + "fast-glob": "^3.3.2", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", - "jiti": "^1.21.0", - "lilconfig": "^2.1.0", - "micromatch": "^4.0.5", + "jiti": "^1.21.6", + "lilconfig": "^3.1.3", + "micromatch": "^4.0.8", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", - "picocolors": "^1.0.0", - "postcss": "^8.4.23", + "picocolors": "^1.1.1", + "postcss": "^8.4.47", "postcss-import": "^15.1.0", "postcss-js": "^4.0.1", - "postcss-load-config": "^4.0.1", - "postcss-nested": "^6.0.1", - "postcss-selector-parser": "^6.0.11", - "resolve": "^1.22.2", - "sucrase": "^3.32.0" + "postcss-load-config": "^4.0.2", + "postcss-nested": "^6.2.0", + "postcss-selector-parser": "^6.1.2", + "resolve": "^1.22.8", + "sucrase": "^3.35.0" }, "bin": { "tailwind": "lib/cli.js", @@ -22054,16 +22072,6 @@ "node": ">= 6" } }, - "node_modules/tailwindcss/node_modules/lilconfig": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", - "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - } - }, "node_modules/tailwindcss/node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", @@ -22431,6 +22439,26 @@ "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==", "license": "MIT" }, + "node_modules/tldts": { + "version": "6.1.65", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.65.tgz", + "integrity": "sha512-xU9gLTfAGsADQ2PcWee6Hg8RFAv0DnjMGVJmDnUmI8a9+nYmapMQix4afwrdaCtT+AqP4MaxEzu7cCrYmBPbzQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "tldts-core": "^6.1.65" + }, + "bin": { + "tldts": "bin/cli.js" + } + }, + "node_modules/tldts-core": { + "version": "6.1.65", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.65.tgz", + "integrity": "sha512-Uq5t0N0Oj4nQSbU8wFN1YYENvMthvwU13MQrMJRspYCGLSAZjAfoBOJki5IQpnBM/WFskxxC/gIOTwaedmHaSg==", + "dev": true, + "license": "MIT" + }, "node_modules/tmp": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", @@ -22673,6 +22701,12 @@ "node": "*" } }, + "node_modules/turbo-stream": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/turbo-stream/-/turbo-stream-2.4.0.tgz", + "integrity": "sha512-FHncC10WpBd2eOmGwpmQsWLDoK4cqsA/UT/GqNoaKOQnT8uzhtCbg3EoUDMvqpOSAI0S26mr0rkjzbOO6S3v1g==", + "license": "ISC" + }, "node_modules/tweetnacl": { "version": "0.14.5", "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", @@ -23499,9 +23533,9 @@ } }, "node_modules/webpack-cli/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 5234331..b901178 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "wp-plugin-mojo", "description": "WordPress plugin that integrates a WordPress site with Hosting", "license": "GPL-2.0-or-later", - "version": "3.2.4", + "version": "3.2.5", "private": true, "repository": { "type": "git", @@ -24,33 +24,33 @@ "npm": ">=10" }, "dependencies": { - "@heroicons/react": "^2.1.5", + "@heroicons/react": "^2.2.0", "@newfold-labs/wp-module-runtime": "^1.0.12", "@newfold/ui-component-library": "^1.1.0", - "@wordpress/compose": "^7.11.0", - "@wordpress/dom-ready": "^4.11.0", - "@wordpress/element": "^6.8.0", - "@wordpress/i18n": "^5.11.0", - "@wordpress/icons": "^10.8.0", + "@wordpress/compose": "^7.13.0", + "@wordpress/dom-ready": "^4.13.0", + "@wordpress/element": "^6.13.0", + "@wordpress/i18n": "^5.13.0", + "@wordpress/icons": "^10.13.0", "ajv": "^8.17.1", "classnames": "^2.5.1", "jquery": "^3.7.1", "lodash": "^4.17.21", "react": "^18.3.1", - "react-error-boundary": "^4.0.13", - "react-router-dom": "^6.26.0", + "react-error-boundary": "^4.1.2", + "react-router-dom": "^7.0.2", "react-use": "^17.5.1" }, "devDependencies": { "@tailwindcss/forms": "^0.5.7", "@testing-library/cypress": "^10.0.2", - "@wordpress/env": "^10.11.0", - "@wordpress/scripts": "^30.4.0", - "axe-core": "^4.10.0", - "cypress": "^13.15.0", + "@wordpress/env": "^10.13.0", + "@wordpress/scripts": "^30.6.0", + "axe-core": "^4.10.2", + "cypress": "^13.16.1", "cypress-axe": "^1.5.0", "node-fetch": "^2.7.0", - "tailwindcss": "^3.4.13", + "tailwindcss": "^3.4.16", "yaml-lint": "^1.7.0" }, "scripts": { @@ -72,6 +72,7 @@ "php-deps": "composer install --no-dev --optimize-autoloader", "postprepare": "npm run set-wp-version", "prebuild:cleanup": "rm -rf ./build ./mojo-marketplace-wp-plugin ./mojo-marketplace-wp-plugin.zip ./vendor", + "set-version-bump": "node ./set-version-bump.js && rm -rf ./build && npm run build && composer run i18n", "set-wp-version": "node ./set-latest-wp-version.js", "simulate-runner-build": "npm run prebuild:cleanup && npm i && npm run php-deps && npm run build && npm run create:dist && npm run create:zip", "srb": "npm run simulate-runner-build", @@ -80,4 +81,4 @@ "test:e2e": "npx cypress run", "test:unit": "wp-scripts test-unit-js" } -} +} \ No newline at end of file diff --git a/set-version-bump.js b/set-version-bump.js new file mode 100644 index 0000000..a190db7 --- /dev/null +++ b/set-version-bump.js @@ -0,0 +1,32 @@ +const fs = require( 'fs' ); +const semver = require( 'semver' ); +const packagefile = './package.json'; +const pluginfile = './mojo-marketplace.php'; + +if ( fs.existsSync( packagefile ) && fs.existsSync( pluginfile ) ) { + const packageData = require( packagefile ); + const currentVersion = packageData.version; + let type = process.argv[ 2 ]; + if ( ! [ 'major', 'minor', 'patch' ].includes( type ) ) { + type = 'patch'; + } + + const newVersion = semver.inc( packageData.version, type ); + packageData.version = newVersion; + fs.writeFileSync( packagefile, JSON.stringify( packageData, null, 4 ) ); + + fs.readFile( pluginfile, 'utf8', function ( err, data ) { + if ( err ) { + return console.log( err ); + } + const result = data.replaceAll( currentVersion, newVersion ); + + fs.writeFile( pluginfile, result, 'utf8', function ( err ) { + if ( err ) { + return console.log( err ); + } + } ); + } ); + + console.log( 'Version updated', currentVersion, '=>', newVersion ); +} diff --git a/src/app/components/app-nav/index.js b/src/app/components/app-nav/index.js index 7002ea8..4c07496 100644 --- a/src/app/components/app-nav/index.js +++ b/src/app/components/app-nav/index.js @@ -184,6 +184,7 @@ export const MobileNav = () => {