diff --git a/.github/workflows/cypress-matrix.yml b/.github/workflows/cypress-matrix.yml index af56b6d6f..f91fde05b 100644 --- a/.github/workflows/cypress-matrix.yml +++ b/.github/workflows/cypress-matrix.yml @@ -29,9 +29,9 @@ jobs: - '8.2' - '8.3' wpVersion: - - '6.3' - '6.4' - '6.5' + - '6.6' steps: diff --git a/.wp-env.json b/.wp-env.json index 5a4b2ab44..ec625b24d 100644 --- a/.wp-env.json +++ b/.wp-env.json @@ -1,5 +1,5 @@ { - "core": "WordPress/WordPress#tags/6.6", + "core": "WordPress/WordPress#tags/6.6.1", "config": { "WP_DEBUG": true, "WP_DEBUG_LOG": true, diff --git a/bluehost-wordpress-plugin.php b/bluehost-wordpress-plugin.php index 37142d49e..1113f0026 100644 --- a/bluehost-wordpress-plugin.php +++ b/bluehost-wordpress-plugin.php @@ -12,10 +12,10 @@ * Plugin URI: https://bluehost.com * Update URI: https://github.com/bluehost/bluehost-wordpress-plugin * Description: WordPress plugin that integrates a WordPress site with the Bluehost control panel, including performance, security, and update features. - * Version: 3.13.3 - * Requires at least: 6.0 - * Requires PHP: 7.1 - * Tested up to: 6.6 + * Version: 3.14.0 + * Requires at least: 6.4 + * Requires PHP: 7.3 + * Tested up to: 6.6.1 * Author: Bluehost * Author URI: https://bluehost.com * Text Domain: wp-plugin-bluehost @@ -32,7 +32,7 @@ } // Define constants -define( 'BLUEHOST_PLUGIN_VERSION', '3.13.3' ); +define( 'BLUEHOST_PLUGIN_VERSION', '3.14.0' ); define( 'BLUEHOST_PLUGIN_FILE', __FILE__ ); define( 'BLUEHOST_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'BLUEHOST_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); diff --git a/composer.json b/composer.json index bba411beb..f919791a4 100644 --- a/composer.json +++ b/composer.json @@ -67,7 +67,7 @@ }, "require-dev": { "roave/security-advisories": "dev-latest", - "newfold-labs/wp-php-standards": "^1.2.3", + "newfold-labs/wp-php-standards": "^1.2.4", "wp-cli/i18n-command": "^2.6.1", "wp-phpunit/wp-phpunit": "^6.6.0" }, @@ -76,19 +76,19 @@ "newfold-labs/wp-module-atomic": "^1.3.0", "newfold-labs/wp-module-coming-soon": "^1.2.5", "newfold-labs/wp-module-context": "^1.0.1", - "newfold-labs/wp-module-data": "2.5.3", + "newfold-labs/wp-module-data": "^2.6.1", "newfold-labs/wp-module-deactivation": "^1.2.3", - "newfold-labs/wp-module-ecommerce": "^1.3.37", + "newfold-labs/wp-module-ecommerce": "^1.3.38", "newfold-labs/wp-module-facebook": "^1.0.9", "newfold-labs/wp-module-features": "^1.4.2", "newfold-labs/wp-module-global-ctb": "^1.0.13", "newfold-labs/wp-module-help-center": "^2.0.1", "newfold-labs/wp-module-loader": "^1.0.10", "newfold-labs/wp-module-marketplace": "^2.4.0", - "newfold-labs/wp-module-migration": "^1.0.8", - "newfold-labs/wp-module-notifications": "^1.4.0", - "newfold-labs/wp-module-onboarding": "^2.3.7", - "newfold-labs/wp-module-patterns": "^2.1.0", + "newfold-labs/wp-module-migration": "^1.0.9", + "newfold-labs/wp-module-notifications": "^1.5.0", + "newfold-labs/wp-module-onboarding": "^2.3.8", + "newfold-labs/wp-module-patterns": "^2.2.0", "newfold-labs/wp-module-performance": "2.0.0 as 1.9.9", "newfold-labs/wp-module-runtime": "^1.0.11", "newfold-labs/wp-module-secure-passwords": "^1.1.1", diff --git a/composer.lock b/composer.lock index 267fe0562..96a4e4491 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": "7a05b7f385f2acf976869e7d012f455b", + "content-hash": "cc7d9be12580419dbc901b3d01d621e8", "packages": [ { "name": "doctrine/inflector", @@ -504,16 +504,16 @@ }, { "name": "newfold-labs/wp-module-data", - "version": "2.5.3", + "version": "2.6.1", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-data.git", - "reference": "6c0941bc9ac3d18820f924de8c4afe58bb421782" + "reference": "49dc91eec8053872354db9cddd355e45f2de49e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/6c0941bc9ac3d18820f924de8c4afe58bb421782", - "reference": "6c0941bc9ac3d18820f924de8c4afe58bb421782", + "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/49dc91eec8053872354db9cddd355e45f2de49e4", + "reference": "49dc91eec8053872354db9cddd355e45f2de49e4", "shasum": "" }, "require": { @@ -532,6 +532,7 @@ "kporras07/composer-symlinks": "^1.2", "lucatume/wp-browser": "^3", "newfold-labs/wp-php-standards": "^1.2", + "phpunit/phpcov": "^5.0", "wpackagist-plugin/woocommerce": "*" }, "type": "library", @@ -572,6 +573,16 @@ "create-symlinks": [ "Kporras07\\ComposerSymlinks\\ScriptHandler::createSymlinks" ], + "test": [ + "phpunit --bootstrap tests/phpunit/bootstrap.php", + "codecept run wpunit" + ], + "test-coverage": [ + "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;", + "echo \"open tests/_output/html/index.html\" to view the report" + ], "post-install-cmd": [ "@create-symlinks" ], @@ -584,10 +595,10 @@ ], "description": "Newfold Data Module", "support": { - "source": "https://github.com/newfold-labs/wp-module-data/tree/2.5.3", + "source": "https://github.com/newfold-labs/wp-module-data/tree/2.6.1", "issues": "https://github.com/newfold-labs/wp-module-data/issues" }, - "time": "2024-06-19T17:34:08+00:00" + "time": "2024-07-25T16:37:25+00:00" }, { "name": "newfold-labs/wp-module-deactivation", @@ -652,16 +663,16 @@ }, { "name": "newfold-labs/wp-module-ecommerce", - "version": "v1.3.37", + "version": "v1.3.38", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-ecommerce.git", - "reference": "6de1a4be520e0f82d8c23b2d2c11f2825f5a520a" + "reference": "961774efb83f32aea61ba2d25e69fc2d80e9ce27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-ecommerce/zipball/6de1a4be520e0f82d8c23b2d2c11f2825f5a520a", - "reference": "6de1a4be520e0f82d8c23b2d2c11f2825f5a520a", + "url": "https://api.github.com/repos/newfold-labs/wp-module-ecommerce/zipball/961774efb83f32aea61ba2d25e69fc2d80e9ce27", + "reference": "961774efb83f32aea61ba2d25e69fc2d80e9ce27", "shasum": "" }, "require": { @@ -704,10 +715,10 @@ ], "description": "Brand Agnostic eCommerce Experience", "support": { - "source": "https://github.com/newfold-labs/wp-module-ecommerce/tree/v1.3.37", + "source": "https://github.com/newfold-labs/wp-module-ecommerce/tree/v1.3.38", "issues": "https://github.com/newfold-labs/wp-module-ecommerce/issues" }, - "time": "2024-07-10T13:06:32+00:00" + "time": "2024-07-24T10:58:36+00:00" }, { "name": "newfold-labs/wp-module-facebook", @@ -1091,16 +1102,16 @@ }, { "name": "newfold-labs/wp-module-migration", - "version": "v1.0.8", + "version": "v1.0.9", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-migration.git", - "reference": "b09db1b19a4ab9d807063f6e74be5f8a11fc6be0" + "reference": "b9b94c9906c917b9c1d47d926fe10f48cb8f4315" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-migration/zipball/b09db1b19a4ab9d807063f6e74be5f8a11fc6be0", - "reference": "b09db1b19a4ab9d807063f6e74be5f8a11fc6be0", + "url": "https://api.github.com/repos/newfold-labs/wp-module-migration/zipball/b9b94c9906c917b9c1d47d926fe10f48cb8f4315", + "reference": "b9b94c9906c917b9c1d47d926fe10f48cb8f4315", "shasum": "" }, "require": { @@ -1138,23 +1149,23 @@ ], "description": "Initiates the migration process", "support": { - "source": "https://github.com/newfold-labs/wp-module-migration/tree/v1.0.8", + "source": "https://github.com/newfold-labs/wp-module-migration/tree/v1.0.9", "issues": "https://github.com/newfold-labs/wp-module-migration/issues" }, - "time": "2024-06-26T07:21:55+00:00" + "time": "2024-07-24T13:47:14+00:00" }, { "name": "newfold-labs/wp-module-notifications", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-notifications.git", - "reference": "7c9b2d94df068b8df52ff50f393014db785036b1" + "reference": "6866dab711a390f40cd6e7c8411ec99820bd68bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-notifications/zipball/7c9b2d94df068b8df52ff50f393014db785036b1", - "reference": "7c9b2d94df068b8df52ff50f393014db785036b1", + "url": "https://api.github.com/repos/newfold-labs/wp-module-notifications/zipball/6866dab711a390f40cd6e7c8411ec99820bd68bc", + "reference": "6866dab711a390f40cd6e7c8411ec99820bd68bc", "shasum": "" }, "require": { @@ -1183,23 +1194,23 @@ ], "description": "A module for managing Newfold in-site notifications.", "support": { - "source": "https://github.com/newfold-labs/wp-module-notifications/tree/1.4.0", + "source": "https://github.com/newfold-labs/wp-module-notifications/tree/1.5.0", "issues": "https://github.com/newfold-labs/wp-module-notifications/issues" }, - "time": "2024-07-03T17:27:19+00:00" + "time": "2024-07-19T20:15:22+00:00" }, { "name": "newfold-labs/wp-module-onboarding", - "version": "2.3.7", + "version": "2.3.8", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-onboarding.git", - "reference": "947d6d9fa22251baefed084b7708d57a601345eb" + "reference": "887c36f2cfdfad4cf17a2e1625f8bcae805398fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/947d6d9fa22251baefed084b7708d57a601345eb", - "reference": "947d6d9fa22251baefed084b7708d57a601345eb", + "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding/zipball/887c36f2cfdfad4cf17a2e1625f8bcae805398fa", + "reference": "887c36f2cfdfad4cf17a2e1625f8bcae805398fa", "shasum": "" }, "require": { @@ -1245,23 +1256,23 @@ ], "description": "Next-generation WordPress Onboarding for WordPress sites at Newfold Digital.", "support": { - "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.3.7", + "source": "https://github.com/newfold-labs/wp-module-onboarding/tree/2.3.8", "issues": "https://github.com/newfold-labs/wp-module-onboarding/issues" }, - "time": "2024-07-18T14:13:00+00:00" + "time": "2024-07-24T16:14:59+00:00" }, { "name": "newfold-labs/wp-module-onboarding-data", - "version": "1.1.14", + "version": "1.1.15", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-onboarding-data.git", - "reference": "0b57747f6a67d8a9308b26c0434d196d023925d0" + "reference": "2e998cb661491ce1b024bf49014242b047c2ae44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding-data/zipball/0b57747f6a67d8a9308b26c0434d196d023925d0", - "reference": "0b57747f6a67d8a9308b26c0434d196d023925d0", + "url": "https://api.github.com/repos/newfold-labs/wp-module-onboarding-data/zipball/2e998cb661491ce1b024bf49014242b047c2ae44", + "reference": "2e998cb661491ce1b024bf49014242b047c2ae44", "shasum": "" }, "require": { @@ -1297,23 +1308,23 @@ ], "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.14", + "source": "https://github.com/newfold-labs/wp-module-onboarding-data/tree/1.1.15", "issues": "https://github.com/newfold-labs/wp-module-onboarding-data/issues" }, - "time": "2024-07-16T04:54:52+00:00" + "time": "2024-07-24T15:27:59+00:00" }, { "name": "newfold-labs/wp-module-patterns", - "version": "2.1.0", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-patterns.git", - "reference": "383fccab930655790d149e17987ef450265b5c3b" + "reference": "dd99ac0f9aeb8fd5f21481b6c119e348fa51c63c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-patterns/zipball/383fccab930655790d149e17987ef450265b5c3b", - "reference": "383fccab930655790d149e17987ef450265b5c3b", + "url": "https://api.github.com/repos/newfold-labs/wp-module-patterns/zipball/dd99ac0f9aeb8fd5f21481b6c119e348fa51c63c", + "reference": "dd99ac0f9aeb8fd5f21481b6c119e348fa51c63c", "shasum": "" }, "require": { @@ -1351,10 +1362,10 @@ ], "description": "WordPress Cloud Patterns", "support": { - "source": "https://github.com/newfold-labs/wp-module-patterns/tree/2.1.0", + "source": "https://github.com/newfold-labs/wp-module-patterns/tree/2.2.0", "issues": "https://github.com/newfold-labs/wp-module-patterns/issues" }, - "time": "2024-06-26T15:45:31+00:00" + "time": "2024-07-24T11:13:40+00:00" }, { "name": "newfold-labs/wp-module-performance", @@ -2347,16 +2358,16 @@ }, { "name": "mck89/peast", - "version": "v1.16.2", + "version": "v1.16.3", "source": { "type": "git", "url": "https://github.com/mck89/peast.git", - "reference": "2791b08ffcc1862fe18eef85675da3aa58c406fe" + "reference": "645ec21b650bc2aced18285c85f220d22afc1430" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mck89/peast/zipball/2791b08ffcc1862fe18eef85675da3aa58c406fe", - "reference": "2791b08ffcc1862fe18eef85675da3aa58c406fe", + "url": "https://api.github.com/repos/mck89/peast/zipball/645ec21b650bc2aced18285c85f220d22afc1430", + "reference": "645ec21b650bc2aced18285c85f220d22afc1430", "shasum": "" }, "require": { @@ -2369,7 +2380,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.16.2-dev" + "dev-master": "1.16.3-dev" } }, "autoload": { @@ -2390,22 +2401,22 @@ "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.2" + "source": "https://github.com/mck89/peast/tree/v1.16.3" }, - "time": "2024-03-05T09:16:03+00:00" + "time": "2024-07-23T14:00:32+00:00" }, { "name": "newfold-labs/wp-php-standards", - "version": "1.2.3", + "version": "1.2.4", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-php-standards.git", - "reference": "a486fb541e890ee87dc387eaea0644101e728464" + "reference": "7ef8833b93f8bcdf52c6006f3adb53972d0799a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-php-standards/zipball/a486fb541e890ee87dc387eaea0644101e728464", - "reference": "a486fb541e890ee87dc387eaea0644101e728464", + "url": "https://api.github.com/repos/newfold-labs/wp-php-standards/zipball/7ef8833b93f8bcdf52c6006f3adb53972d0799a6", + "reference": "7ef8833b93f8bcdf52c6006f3adb53972d0799a6", "shasum": "" }, "require": { @@ -2426,10 +2437,10 @@ ], "description": "PHP Code Sniffer Standards for Newfold WordPress projects.", "support": { - "source": "https://github.com/newfold-labs/wp-php-standards/tree/1.2.3", + "source": "https://github.com/newfold-labs/wp-php-standards/tree/1.2.4", "issues": "https://github.com/newfold-labs/wp-php-standards/issues" }, - "time": "2024-04-22T20:09:45+00:00" + "time": "2024-07-22T23:16:21+00:00" }, { "name": "phpcompatibility/php-compatibility", @@ -2807,12 +2818,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "80e489d7669e5f7a4c56ca250489a0450d3d3219" + "reference": "4ee5bb22f4c3a7ced8de2ff3e7abce703d546de8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/80e489d7669e5f7a4c56ca250489a0450d3d3219", - "reference": "80e489d7669e5f7a4c56ca250489a0450d3d3219", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/4ee5bb22f4c3a7ced8de2ff3e7abce703d546de8", + "reference": "4ee5bb22f4c3a7ced8de2ff3e7abce703d546de8", "shasum": "" }, "conflict": { @@ -2850,12 +2861,12 @@ "athlon1600/php-proxy-app": "<=3", "austintoddj/canvas": "<=3.4.2", "auth0/wordpress": "<=4.6", - "automad/automad": "<=1.10.9", + "automad/automad": "<=2.0.0.0-alpha5", "automattic/jetpack": "<9.8", "awesome-support/awesome-support": "<=6.0.7", "aws/aws-sdk-php": "<3.288.1", "azuracast/azuracast": "<0.18.3", - "backdrop/backdrop": "<1.24.2", + "backdrop/backdrop": "<1.27.3|>=1.28,<1.28.2", "backpack/crud": "<3.4.9", "bacula-web/bacula-web": "<8.0.0.0-RC2-dev", "badaso/core": "<2.7", @@ -2920,7 +2931,7 @@ "contao/managed-edition": "<=1.5", "corveda/phpsandbox": "<1.3.5", "cosenary/instagram": "<=2.3", - "craftcms/cms": "<4.6.2", + "craftcms/cms": "<4.6.2|>=5.0.0.0-beta1,<=5.2.2", "croogo/croogo": "<4", "cuyz/valinor": "<0.12", "czproject/git-php": "<4.0.3", @@ -3018,7 +3029,7 @@ "friendsofsymfony/rest-bundle": ">=1.2,<1.2.2", "friendsofsymfony/user-bundle": ">=1,<1.3.5", "friendsofsymfony1/swiftmailer": ">=4,<5.4.13|>=6,<6.2.5", - "friendsofsymfony1/symfony1": ">=1.1,<1.15.19", + "friendsofsymfony1/symfony1": ">=1.1,<1.5.19", "friendsoftypo3/mediace": ">=7.6.2,<7.6.5", "friendsoftypo3/openid": ">=4.5,<4.5.31|>=4.7,<4.7.16|>=6,<6.0.11|>=6.1,<6.1.6", "froala/wysiwyg-editor": "<3.2.7|>=4.0.1,<=4.1.3", @@ -3289,7 +3300,7 @@ "prestashop/ps_facetedsearch": "<3.4.1", "prestashop/ps_linklist": "<3.1", "privatebin/privatebin": "<1.4|>=1.5,<1.7.4", - "processwire/processwire": "<=3.0.210", + "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", @@ -3610,20 +3621,20 @@ "type": "tidelift" } ], - "time": "2024-07-18T00:16:06+00:00" + "time": "2024-07-25T19:04:34+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.10.1", + "version": "3.10.2", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "8f90f7a53ce271935282967f53d0894f8f1ff877" + "reference": "86e5f5dd9a840c46810ebe5ff1885581c42a3017" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/8f90f7a53ce271935282967f53d0894f8f1ff877", - "reference": "8f90f7a53ce271935282967f53d0894f8f1ff877", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/86e5f5dd9a840c46810ebe5ff1885581c42a3017", + "reference": "86e5f5dd9a840c46810ebe5ff1885581c42a3017", "shasum": "" }, "require": { @@ -3690,7 +3701,7 @@ "type": "open_collective" } ], - "time": "2024-05-22T21:24:41+00:00" + "time": "2024-07-21T23:26:44+00:00" }, { "name": "symfony/deprecation-contracts", @@ -4223,7 +4234,7 @@ }, { "name": "wp-phpunit/wp-phpunit", - "version": "6.6.0", + "version": "6.6.1", "source": { "type": "git", "url": "https://github.com/wp-phpunit/wp-phpunit.git", diff --git a/package-lock.json b/package-lock.json index dac2ca0b7..3cd1138f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,34 +1,34 @@ { "name": "bluehost-wordpress-plugin", - "version": "3.13.3", + "version": "3.14.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bluehost-wordpress-plugin", - "version": "3.13.3", + "version": "3.14.0", "license": "GPL-2.0-or-later", "dependencies": { "@heroicons/react": "^2.1.5", - "@newfold-labs/wp-module-ecommerce": "^1.3.37", + "@newfold-labs/wp-module-ecommerce": "^1.3.38", "@newfold-labs/wp-module-facebook": "1.0.7", "@newfold-labs/wp-module-runtime": "^1.0.10", "@newfold/ui-component-library": "^1.1.0", "@reduxjs/toolkit": "^2.2.6", "@wordpress/compose": "^7.3.0", - "@wordpress/dom-ready": "^4.2.0", + "@wordpress/dom-ready": "^4.3.0", "@wordpress/element": "^6.3.0", - "@wordpress/html-entities": "^4.2.0", + "@wordpress/html-entities": "^4.4.0", "@wordpress/i18n": "^5.2.0", - "@wordpress/icons": "^10.2.0", + "@wordpress/icons": "^10.3.0", "classnames": "^2.5.1", "jquery": "^3.7.1", "lodash": "^4.17.21", "react": "^18.2.0", "react-error-boundary": "^4.0.13", - "react-router-dom": "^6.24.1", - "react-use": "^17.5.0", - "semver": "^7.5.4" + "react-router-dom": "^6.25.1", + "react-use": "^17.5.1", + "semver": "^7.6.3" }, "devDependencies": { "@tailwindcss/forms": "^0.5.7", @@ -36,11 +36,11 @@ "@wordpress/env": "^10.3.0", "@wordpress/eslint-plugin": "^20.0.0", "@wordpress/scripts": "^27.9.0", - "cypress": "^13.13.0", + "cypress": "^13.13.1", "cypress-axe": "^1.5.0", "eslint-import-resolver-alias": "^1.1.2", "eslint-plugin-import": "^2.29.1", - "tailwindcss": "^3.4.4" + "tailwindcss": "^3.4.6" }, "engines": { "node": ">=20", @@ -3197,9 +3197,9 @@ } }, "node_modules/@newfold-labs/wp-module-ecommerce": { - "version": "1.3.37", - "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.37/dee0514d894a92cfb7729bc9494ff3a46aa7376c", - "integrity": "sha512-aEGFqk0mce/HQ4f541ZE1pMcuyoYScQ0zXy8ystKNu1WGQw3M+ngoZoFOcz0zveayYNtdejH7uMdaizuxhCQWQ==", + "version": "1.3.38", + "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.38/40ce07a3e07a0ae1ea3ed42bd12f32faa9691736", + "integrity": "sha512-k7TyZ2/NJr0vX21VG4NUA07V+3sRLAyYlAiggu+R0CH3vz33X1M3FWCEgks8IR9iEqGZRmPdXyvsvNi92hW9VA==", "dependencies": { "@faizaanceg/pandora": "^1.1.1", "@heroicons/react": "2.1.3", @@ -3644,9 +3644,9 @@ } }, "node_modules/@remix-run/router": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.17.1.tgz", - "integrity": "sha512-mCOMec4BKd6BRGBZeSnGiIgwsbLGp3yhVqAD8H+PxiRNEHgDpZb8J1TnrSDlg97t0ySKMQJTHCWBCmBpSmkF6Q==", + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.18.0.tgz", + "integrity": "sha512-L3jkqmqoSVBVKHfpGZmLrex0lxR5SucGA0sUfFzGctehw+S/ggL9L/0NnC5mw6P8HUWpFZ3nQw3cRApjjWx9Sw==", "engines": { "node": ">=14.0.0" } @@ -5799,9 +5799,9 @@ } }, "node_modules/@wordpress/dom-ready": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-4.2.0.tgz", - "integrity": "sha512-1rD9vcwVy7s+yGbe8DuDkBpjvA/PJtY2DnUgyHIedC/YonlswalBSiFWGZuTX5QyocdffBAWiUlvebyN4TNtOw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-4.3.0.tgz", + "integrity": "sha512-zuLLMIeJt1hZ95R4kdJFcsIaL2eud1kF40VCmwK3mK0qpgXv/1avtGX8lx6DMLL/GGL1yYcJhR13RSKSjxuGEQ==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -6026,9 +6026,9 @@ } }, "node_modules/@wordpress/html-entities": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@wordpress/html-entities/-/html-entities-4.2.0.tgz", - "integrity": "sha512-NwYv/VSxASrhIqjcgVkKS9s9kAseTJ6NYVpqCm8owz81GqYcpOe2XVCKQxOKHcU8x9Gm99uHR10jztXXJr1Z2Q==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@wordpress/html-entities/-/html-entities-4.4.0.tgz", + "integrity": "sha512-EXOo+eBYeKKuBFgRleQYfK3fdXy5gzFdHtxbPPDunsETYkdapgX4pr/epDLmi9Uk3fcdFMwFre2o2s6LkLke4A==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -6070,13 +6070,13 @@ } }, "node_modules/@wordpress/icons": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-10.2.0.tgz", - "integrity": "sha512-6N39YvCUHgmqfewByKY1biBE+w/r/o1O9hQgW/zd4v1RVFQNOTxfmhqSmbbTePLzrdKcbB1setM+lJtwvwvrnA==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-10.3.0.tgz", + "integrity": "sha512-d2jOFfLIAxPr+/Bzg7wnRDEDPogMpVefe4cHgIx9kXp/+7DG4KWNJm842qVithjs1wVgSzavzWbFrTtPEZ+Uhw==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/element": "^6.2.0", - "@wordpress/primitives": "^4.2.0" + "@wordpress/element": "^6.3.0", + "@wordpress/primitives": "^4.3.0" }, "engines": { "node": ">=18.12.0", @@ -6084,12 +6084,12 @@ } }, "node_modules/@wordpress/icons/node_modules/@wordpress/primitives": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-4.2.0.tgz", - "integrity": "sha512-UofDIMe3pQ4UvubCAjm4/Y+o/niAiHFRjhavvxBOZ5iCFyjG/1knbJcWa8+0qvjIA5YTBzZxfN6PD4Je1SwtFw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-4.3.0.tgz", + "integrity": "sha512-h7wb2Np3n5etOg3j38GN80NEA8NgNdsSF/JJcRhpRf8FQOJd1mnKzj6szVHeKv0G7bvBif0NTgdSUm5M6Nikfg==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/element": "^6.2.0", + "@wordpress/element": "^6.3.0", "clsx": "^2.1.1" }, "engines": { @@ -9186,9 +9186,9 @@ } }, "node_modules/cypress": { - "version": "13.13.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.13.0.tgz", - "integrity": "sha512-ou/MQUDq4tcDJI2FsPaod2FZpex4kpIK43JJlcBgWrX8WX7R/05ZxGTuxedOuZBfxjZxja+fbijZGyxiLP6CFA==", + "version": "13.13.1", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.13.1.tgz", + "integrity": "sha512-8F9UjL5MDUdgC/S5hr8CGLHbS5gGht5UOV184qc2pFny43fnkoaKxlzH/U6//zmGu/xRTaKimNfjknLT8+UDFg==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -11650,11 +11650,6 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true }, - "node_modules/fast-loops": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/fast-loops/-/fast-loops-1.1.3.tgz", - "integrity": "sha512-8EZzEP0eKkEEVX+drtd9mtuQ+/QrlfW/5MlwcwK5Nds6EkZ/tRzEexkzUY2mIssnAyVLT+TKHuRXmFNNXYUd6g==" - }, "node_modules/fast-shallow-equal": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fast-shallow-equal/-/fast-shallow-equal-1.0.0.tgz", @@ -13020,9 +13015,9 @@ } }, "node_modules/hyphenate-style-name": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.5.tgz", - "integrity": "sha512-fedL7PRwmeVkgyhu9hLeTBaI6wcGk7JGJswdaRsa5aUbkXI1kr1xZwTPBtaYPpwf56878iDek6VbVnuWMebJmw==" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.1.0.tgz", + "integrity": "sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==" }, "node_modules/iconv-lite": { "version": "0.6.3", @@ -13226,12 +13221,11 @@ } }, "node_modules/inline-style-prefixer": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.0.tgz", - "integrity": "sha512-I7GEdScunP1dQ6IM2mQWh6v0mOYdYmH3Bp31UecKdrcUgcURTcctSe1IECdUznSHKSmsHtjrT3CwCPI1pyxfUQ==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.1.tgz", + "integrity": "sha512-lhYo5qNTQp3EvSSp3sRvXMbVQTLrvGV6DycRMJ5dm2BLMiJ30wpXKdDdgX+GmJZ5uQMucwRKHamXSst3Sj/Giw==", "dependencies": { - "css-in-js-utils": "^3.1.0", - "fast-loops": "^1.1.3" + "css-in-js-utils": "^3.1.0" } }, "node_modules/inquirer": { @@ -16564,15 +16558,15 @@ } }, "node_modules/nano-css": { - "version": "5.6.1", - "resolved": "https://registry.npmjs.org/nano-css/-/nano-css-5.6.1.tgz", - "integrity": "sha512-T2Mhc//CepkTa3X4pUhKgbEheJHYAxD0VptuqFhDbGMUWVV2m+lkNiW/Ieuj35wrfC8Zm0l7HvssQh7zcEttSw==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/nano-css/-/nano-css-5.6.2.tgz", + "integrity": "sha512-+6bHaC8dSDGALM1HJjOHVXpuastdu2xFoZlC77Jh4cg+33Zcgm+Gxd+1xsnpZK14eyHObSp82+ll5y3SX75liw==", "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15", "css-tree": "^1.1.2", "csstype": "^3.1.2", "fastest-stable-stringify": "^2.0.2", - "inline-style-prefixer": "^7.0.0", + "inline-style-prefixer": "^7.0.1", "rtl-css-js": "^1.16.1", "stacktrace-js": "^2.0.2", "stylis": "^4.3.0" @@ -18969,11 +18963,11 @@ } }, "node_modules/react-router": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.24.1.tgz", - "integrity": "sha512-PTXFXGK2pyXpHzVo3rR9H7ip4lSPZZc0bHG5CARmj65fTT6qG7sTngmb6lcYu1gf3y/8KxORoy9yn59pGpCnpg==", + "version": "6.25.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.25.1.tgz", + "integrity": "sha512-u8ELFr5Z6g02nUtpPAggP73Jigj1mRePSwhS/2nkTrlPU5yEkH1vYzWNyvSnSzeeE2DNqWdH+P8OhIh9wuXhTw==", "dependencies": { - "@remix-run/router": "1.17.1" + "@remix-run/router": "1.18.0" }, "engines": { "node": ">=14.0.0" @@ -18983,12 +18977,12 @@ } }, "node_modules/react-router-dom": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.24.1.tgz", - "integrity": "sha512-U19KtXqooqw967Vw0Qcn5cOvrX5Ejo9ORmOtJMzYWtCT4/WOfFLIZGGsVLxcd9UkBO0mSTZtXqhZBsWlHr7+Sg==", + "version": "6.25.1", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.25.1.tgz", + "integrity": "sha512-0tUDpbFvk35iv+N89dWNrJp+afLgd+y4VtorJZuOCXK0kkCWjEvb3vTJM++SYvMEpbVwXKf3FjeVveVEb6JpDQ==", "dependencies": { - "@remix-run/router": "1.17.1", - "react-router": "6.24.1" + "@remix-run/router": "1.18.0", + "react-router": "6.25.1" }, "engines": { "node": ">=14.0.0" @@ -19016,9 +19010,9 @@ } }, "node_modules/react-use": { - "version": "17.5.0", - "resolved": "https://registry.npmjs.org/react-use/-/react-use-17.5.0.tgz", - "integrity": "sha512-PbfwSPMwp/hoL847rLnm/qkjg3sTRCvn6YhUZiHaUa3FA6/aNoFX79ul5Xt70O1rK+9GxSVqkY0eTwMdsR/bWg==", + "version": "17.5.1", + "resolved": "https://registry.npmjs.org/react-use/-/react-use-17.5.1.tgz", + "integrity": "sha512-LG/uPEVRflLWMwi3j/sZqR00nF6JGqTTDblkXK2nzXsIvij06hXl1V/MZIlwj1OKIQUtlh1l9jK8gLsRyCQxMg==", "dependencies": { "@types/js-cookie": "^2.2.6", "@xobotyi/scrollbar-width": "^1.9.5", @@ -19026,7 +19020,7 @@ "fast-deep-equal": "^3.1.3", "fast-shallow-equal": "^1.0.0", "js-cookie": "^2.2.1", - "nano-css": "^5.6.1", + "nano-css": "^5.6.2", "react-universal-interface": "^0.6.2", "resize-observer-polyfill": "^1.5.1", "screenfull": "^5.1.0", @@ -19880,9 +19874,9 @@ } }, "node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "bin": { "semver": "bin/semver.js" }, @@ -21271,9 +21265,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.4.tgz", - "integrity": "sha512-ZoyXOdJjISB7/BcLTR6SEsLgKtDStYyYZVLsUtWChO4Ps20CBad7lfJKVDiejocV4ME1hLmyY0WJE3hSDcmQ2A==", + "version": "3.4.6", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.6.tgz", + "integrity": "sha512-1uRHzPB+Vzu57ocybfZ4jh5Q3SdlH7XW23J5sQoM9LhE9eIOlzxer/3XPSsycvih3rboRsvt0QCmzSrqyOYUIA==", "dev": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", diff --git a/package.json b/package.json index 72264214c..410b42ce8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bluehost-wordpress-plugin", - "version": "3.13.3", + "version": "3.14.0", "description": "WordPress plugin that integrates your WordPress site with the Bluehost control panel, including performance, security, and update features.", "author": { "name": "Bluehost", @@ -33,25 +33,25 @@ }, "dependencies": { "@heroicons/react": "^2.1.5", - "@newfold-labs/wp-module-ecommerce": "^1.3.37", + "@newfold-labs/wp-module-ecommerce": "^1.3.38", "@newfold-labs/wp-module-facebook": "1.0.7", "@newfold-labs/wp-module-runtime": "^1.0.10", "@newfold/ui-component-library": "^1.1.0", "@reduxjs/toolkit": "^2.2.6", "@wordpress/compose": "^7.3.0", - "@wordpress/dom-ready": "^4.2.0", + "@wordpress/dom-ready": "^4.3.0", "@wordpress/element": "^6.3.0", - "@wordpress/html-entities": "^4.2.0", + "@wordpress/html-entities": "^4.4.0", "@wordpress/i18n": "^5.2.0", - "@wordpress/icons": "^10.2.0", + "@wordpress/icons": "^10.3.0", "classnames": "^2.5.1", "jquery": "^3.7.1", "lodash": "^4.17.21", "react": "^18.2.0", "react-error-boundary": "^4.0.13", - "react-router-dom": "^6.24.1", - "react-use": "^17.5.0", - "semver": "^7.5.4" + "react-router-dom": "^6.25.1", + "react-use": "^17.5.1", + "semver": "^7.6.3" }, "devDependencies": { "@tailwindcss/forms": "^0.5.7", @@ -59,11 +59,11 @@ "@wordpress/env": "^10.3.0", "@wordpress/eslint-plugin": "^20.0.0", "@wordpress/scripts": "^27.9.0", - "cypress": "^13.13.0", + "cypress": "^13.13.1", "cypress-axe": "^1.5.0", "eslint-import-resolver-alias": "^1.1.2", "eslint-plugin-import": "^2.29.1", - "tailwindcss": "^3.4.4" + "tailwindcss": "^3.4.6" }, "scripts": { "build": "NODE_ENV=production wp-scripts build", diff --git a/src/app/data/routes.js b/src/app/data/routes.js index e33b689ad..2c96452dc 100644 --- a/src/app/data/routes.js +++ b/src/app/data/routes.js @@ -107,6 +107,13 @@ export const routes = [ title: __( 'Sales & Promotions', 'wp-plugin-bluehost' ), } : null, + NewfoldRuntime.hasCapability( 'hasYithExtended' ) && + NewfoldRuntime.hasCapability( 'hasEcomdash' ) + ? { + name: '/store/sales_channel', + title: __( 'Sales Channel', 'wp-plugin-bluehost' ), + } + : null, NewfoldRuntime.isWoo ? { name: '/store/payments', diff --git a/src/app/pages/settings/wonderBlocksSettings.js b/src/app/pages/settings/wonderBlocksSettings.js index f1b489be0..6909b21e6 100644 --- a/src/app/pages/settings/wonderBlocksSettings.js +++ b/src/app/pages/settings/wonderBlocksSettings.js @@ -18,17 +18,17 @@ const WonderBlocksSettings = () => { const getWonderBlocksNoticeTitle = () => { return wonderBlocks - ? __( 'Wonder Blocks Enabled', 'wp-plugin-bluehost' ) - : __( 'Wonder Blocks Disabled', 'wp-plugin-bluehost' ); + ? __( 'WonderBlocks Enabled', 'wp-plugin-bluehost' ) + : __( 'WonderBlocks Disabled', 'wp-plugin-bluehost' ); }; const getWonderBlocksNoticeText = () => { return wonderBlocks ? __( - 'Create new content to see Wonder Blocks in action.', + 'Create new content to see WonderBlocks in action.', 'wp-plugin-bluehost' ) : __( - 'Wonder Blocks will no longer display.', + 'WonderBlocks will no longer display.', 'wp-plugin-bluehost' ); }; @@ -77,10 +77,10 @@ const WonderBlocksSettings = () => { return (