diff --git a/composer.json b/composer.json index 70f5b2fc9..734c231d6 100644 --- a/composer.json +++ b/composer.json @@ -91,7 +91,7 @@ "newfold-labs/wp-module-onboarding": "^2.5.5", "newfold-labs/wp-module-onboarding-data": "^1.2.4", "newfold-labs/wp-module-patterns": "^2.8.1", - "newfold-labs/wp-module-performance": "^2.0.1", + "newfold-labs/wp-module-performance": "^2.1.0", "newfold-labs/wp-module-pls": "^1.0.0", "newfold-labs/wp-module-runtime": "^1.0.12", "newfold-labs/wp-module-secure-passwords": "^1.1.1", diff --git a/composer.lock b/composer.lock index 21c46f431..c53402c96 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": "76f6338f4945e410460c43f9c70581e1", + "content-hash": "17b8e3b8d8abaf28239a731d80a94ed4", "packages": [ { "name": "doctrine/inflector", @@ -1739,21 +1739,22 @@ }, { "name": "newfold-labs/wp-module-performance", - "version": "2.0.1", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-performance.git", - "reference": "ed7db2ce699d1ab6c61db28080b4f13f8511cc0d" + "reference": "15b01bae8ad1489b3e1d80cb7a9e3d395b5af113" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-performance/zipball/ed7db2ce699d1ab6c61db28080b4f13f8511cc0d", - "reference": "ed7db2ce699d1ab6c61db28080b4f13f8511cc0d", + "url": "https://api.github.com/repos/newfold-labs/wp-module-performance/zipball/15b01bae8ad1489b3e1d80cb7a9e3d395b5af113", + "reference": "15b01bae8ad1489b3e1d80cb7a9e3d395b5af113", "shasum": "" }, "require": { "newfold-labs/wp-module-context": "^1.0", "newfold-labs/wp-module-features": "^1.3", + "newfold-labs/wp-module-installer": "^1.2.2", "wp-forge/collection": "^1.0.2", "wp-forge/wp-htaccess-manager": "^1.0", "wpscholar/url": "^1.2.2" @@ -1783,10 +1784,10 @@ ], "description": "A module for managing caching functionality.", "support": { - "source": "https://github.com/newfold-labs/wp-module-performance/tree/2.0.1", + "source": "https://github.com/newfold-labs/wp-module-performance/tree/2.1.0", "issues": "https://github.com/newfold-labs/wp-module-performance/issues" }, - "time": "2024-08-15T22:17:47+00:00" + "time": "2024-12-17T09:46:51+00:00" }, { "name": "newfold-labs/wp-module-pls", @@ -5052,8 +5053,8 @@ }, "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [], + "platform": {}, + "platform-dev": {}, "platform-overrides": { "php": "7.3.0" }, diff --git a/package-lock.json b/package-lock.json index 4730d3d7e..62135c93e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,6 +23,7 @@ "@wordpress/icons": "^10.14.0", "ajv": "^8.17.1", "classnames": "^2.5.1", + "html-react-parser": "^5.1.18", "jquery": "^3.7.1", "lodash": "^4.17.21", "react": "^18.2.0", @@ -10664,7 +10665,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", - "dev": true, "license": "MIT", "dependencies": { "domelementtype": "^2.3.0", @@ -10679,7 +10679,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", - "dev": true, "funding": [ { "type": "github", @@ -10706,7 +10705,6 @@ "version": "5.0.3", "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", - "dev": true, "license": "BSD-2-Clause", "dependencies": { "domelementtype": "^2.3.0" @@ -10722,7 +10720,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", - "dev": true, "license": "BSD-2-Clause", "dependencies": { "dom-serializer": "^2.0.0", @@ -10885,7 +10882,6 @@ "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "dev": true, "license": "BSD-2-Clause", "engines": { "node": ">=0.12" @@ -13766,6 +13762,15 @@ "wbuf": "^1.1.0" } }, + "node_modules/html-dom-parser": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/html-dom-parser/-/html-dom-parser-5.0.12.tgz", + "integrity": "sha512-LP2BI8aCnv6HCnO1kyQMaycqL7RCTUODGFWdKwrlc6ROG5rtbVEtE4mkBn1tokBMflUN7wyNKL4AXq7EMmga6Q==", + "dependencies": { + "domhandler": "5.0.3", + "htmlparser2": "9.1.0" + } + }, "node_modules/html-encoding-sniffer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", @@ -13803,6 +13808,26 @@ "dev": true, "license": "MIT" }, + "node_modules/html-react-parser": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/html-react-parser/-/html-react-parser-5.2.1.tgz", + "integrity": "sha512-4FZBYVzmlYzmNgoDVETZd/I/OnVR0d46UMnLdf/VdKTE973jImSfbonIRCov/AQQsL7zp7D1UKqMz0gbK6M0yA==", + "dependencies": { + "domhandler": "5.0.3", + "html-dom-parser": "5.0.12", + "react-property": "2.0.2", + "style-to-js": "1.1.16" + }, + "peerDependencies": { + "@types/react": "0.14 || 15 || 16 || 17 || 18 || 19", + "react": "0.14 || 15 || 16 || 17 || 18 || 19" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/html-tags": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.3.1.tgz", @@ -13816,6 +13841,24 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/htmlparser2": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-9.1.0.tgz", + "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.1.0", + "entities": "^4.5.0" + } + }, "node_modules/http-cache-semantics": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", @@ -14195,6 +14238,11 @@ "node": ">=10" } }, + "node_modules/inline-style-parser": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.4.tgz", + "integrity": "sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==" + }, "node_modules/inline-style-prefixer": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.1.tgz", @@ -20155,6 +20203,11 @@ "dev": true, "license": "MIT" }, + "node_modules/react-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/react-property/-/react-property-2.0.2.tgz", + "integrity": "sha512-+PbtI3VuDV0l6CleQMsx2gtK0JZbZKbpdu5ynr+lbsuvtmgbNcS3VM0tuY2QjFNOcWxvXeHjDpy42RO+4U2rug==" + }, "node_modules/react-refresh": { "version": "0.14.2", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", @@ -22282,6 +22335,22 @@ "node": ">=0.8.0" } }, + "node_modules/style-to-js": { + "version": "1.1.16", + "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.16.tgz", + "integrity": "sha512-/Q6ld50hKYPH3d/r6nr117TZkHR0w0kGGIVfpG9N6D8NymRPM9RqCUv4pRpJ62E5DqOYx2AFpbZMyCPnjQCnOw==", + "dependencies": { + "style-to-object": "1.0.8" + } + }, + "node_modules/style-to-object": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.8.tgz", + "integrity": "sha512-xT47I/Eo0rwJmaXC4oilDGDWLohVhR6o/xAQcPQN8q6QBuZVL8qMYL85kLmST5cPjAorwvqIA4qXTRQoYHaL6g==", + "dependencies": { + "inline-style-parser": "0.2.4" + } + }, "node_modules/stylehacks": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-6.1.1.tgz", diff --git a/package.json b/package.json index ec5640be4..98d9321b9 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,8 @@ "react-error-boundary": "^4.1.2", "react-router-dom": "^7.0.2", "react-use": "^17.6.0", - "semver": "^7.6.3" + "semver": "^7.6.3", + "html-react-parser": "^5.1.18" }, "devDependencies": { "@tailwindcss/forms": "^0.5.8",