diff --git a/composer.json b/composer.json index 33d3e13..8f9dfcf 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "wp-forge/wp-htaccess-manager": "^1.0", "wpscholar/url": "^1.2.5", "newfold-labs/wp-module-features": "^1.4", - "newfold-labs/wp-module-installer": "^1.2.2" + "newfold-labs/wp-module-installer": "^1.3.0" }, "require-dev": { "newfold-labs/wp-php-standards": "^1.2.4" diff --git a/composer.lock b/composer.lock index 0951005..0003c07 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": "e4e83dfacb9fc14f062e24bdd34c77d9", + "content-hash": "9602237f7a761fdd4d6a07c7e39e5a91", "packages": [ { "name": "doctrine/inflector", @@ -355,20 +355,20 @@ }, { "name": "newfold-labs/wp-module-installer", - "version": "1.2.2", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-installer.git", - "reference": "4b994a784f1de5c80dcf274e51ab34f083e4a26d" + "reference": "e8dbc7a117c7f9ebeb2c9620ab6689c49ca1d3fe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-installer/zipball/4b994a784f1de5c80dcf274e51ab34f083e4a26d", - "reference": "4b994a784f1de5c80dcf274e51ab34f083e4a26d", + "url": "https://api.github.com/repos/newfold-labs/wp-module-installer/zipball/e8dbc7a117c7f9ebeb2c9620ab6689c49ca1d3fe", + "reference": "e8dbc7a117c7f9ebeb2c9620ab6689c49ca1d3fe", "shasum": "" }, "require": { - "newfold-labs/wp-module-pls": "^1.0.0" + "newfold-labs/wp-module-pls": "^1.0.1" }, "require-dev": { "newfold-labs/wp-php-standards": "^1.2", @@ -394,10 +394,10 @@ ], "description": "An installer for WordPress plugins and themes.", "support": { - "source": "https://github.com/newfold-labs/wp-module-installer/tree/1.2.2", + "source": "https://github.com/newfold-labs/wp-module-installer/tree/1.3.0", "issues": "https://github.com/newfold-labs/wp-module-installer/issues" }, - "time": "2024-10-25T14:26:52+00:00" + "time": "2025-01-16T16:51:53+00:00" }, { "name": "newfold-labs/wp-module-loader", @@ -447,16 +447,16 @@ }, { "name": "newfold-labs/wp-module-pls", - "version": "1.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-pls.git", - "reference": "08b7c41b3d52d66414b6234389d7f4c414477d91" + "reference": "e68a79350e9eedcb592cd8e9ec79cc01e29e37a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-pls/zipball/08b7c41b3d52d66414b6234389d7f4c414477d91", - "reference": "08b7c41b3d52d66414b6234389d7f4c414477d91", + "url": "https://api.github.com/repos/newfold-labs/wp-module-pls/zipball/e68a79350e9eedcb592cd8e9ec79cc01e29e37a5", + "reference": "e68a79350e9eedcb592cd8e9ec79cc01e29e37a5", "shasum": "" }, "require": { @@ -487,10 +487,10 @@ ], "description": "A Newfold module that handles license key provisioning, validation, and other lifecycle events for registered plugins using the PLS API via Hiive.", "support": { - "source": "https://github.com/newfold-labs/wp-module-pls/tree/1.0.0", + "source": "https://github.com/newfold-labs/wp-module-pls/tree/1.0.1", "issues": "https://github.com/newfold-labs/wp-module-pls/issues" }, - "time": "2024-10-23T09:11:18+00:00" + "time": "2024-12-11T19:31:32+00:00" }, { "name": "wp-forge/collection", diff --git a/includes/Images/ImageSettings.php b/includes/Images/ImageSettings.php index 1a3e21c..4cb3281 100644 --- a/includes/Images/ImageSettings.php +++ b/includes/Images/ImageSettings.php @@ -18,7 +18,7 @@ class ImageSettings { * @var array */ private const DEFAULT_SETTINGS = array( - 'enabled' => false, + 'enabled' => true, 'bulk_optimization' => false, 'prefer_optimized_image_when_exists' => false, 'auto_optimized_uploaded_images' => array( @@ -26,7 +26,7 @@ class ImageSettings { 'auto_delete_original_image' => false, ), 'lazy_loading' => array( - 'enabled' => false, + 'enabled' => true, ), ); diff --git a/includes/Performance.php b/includes/Performance.php index d395ae5..e414143 100644 --- a/includes/Performance.php +++ b/includes/Performance.php @@ -334,7 +334,7 @@ public function add_to_runtime( $sdk ) { 'jetpack_boost_minify_css' => get_option( 'jetpack_boost_status_minify-css', array() ), 'jetpack_boost_minify_css_excludes' => implode( ',', get_option( 'jetpack_boost_ds_minify_css_excludes', array( 'admin-bar', 'dashicons', 'elementor-app' ) ) ), 'install_token' => PluginInstaller::rest_get_plugin_install_hash(), - 'skip404' => (bool) get_option( 'newfold_skip_404_handling', false ), + 'skip404' => getSkip404Option(), ); return array_merge( $sdk, array( 'performance' => $values ) ); diff --git a/includes/RestApi/SettingsController.php b/includes/RestApi/SettingsController.php index 8d25082..2337e85 100644 --- a/includes/RestApi/SettingsController.php +++ b/includes/RestApi/SettingsController.php @@ -1,6 +1,8 @@ =20.0.0" + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" } }, "node_modules/cypress-axe": { diff --git a/package.json b/package.json index 26ee630..cc794a6 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "William Earnhardt (https://wearnhardt.com)" ], "dependencies": { - "@newfold/ui-component-library": "^1.1.0", + "@newfold/ui-component-library": "^1.1.1", "@newfold/wp-module-runtime": "^1.1.3", "html-react-parser": "^5.2.2" }, @@ -20,7 +20,7 @@ "@testing-library/cypress": "^10.0.2", "@wordpress/scripts": "^26.19.0", "css-minimizer-webpack-plugin": "^7.0.0", - "cypress": "^13.17.0", + "cypress": "^14.0.0", "cypress-axe": "^1.4.0", "tailwindcss": "^3.4.16" },