diff --git a/.nvmrc b/.nvmrc index 209e3ef..2bd5a0a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +22 diff --git a/README.md b/README.md index f98f21d..b41dacb 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,9 @@ Tags: vendor_name, create-wordpress-plugin Stable tag: 0.0.0 -Requires at least: 5.9 +Requires at least: 6.3 -Tested up to: 6.1 +Tested up to: 6.7 Requires PHP: 8.1 @@ -129,10 +129,10 @@ npx wp-scripts packages-update --dist-tag=wp-WPVERSION` ``` Where `WPVERSION` is the version of WordPress you are targeting. The version -must include both the major and minor version (e.g., `6.1`). For example: +must include both the major and minor version (e.g., `6.7`). For example: ```sh -npx wp-scripts packages-update --dist-tag=wp-6.1` +npx wp-scripts packages-update --dist-tag=wp-6.7` ``` ## Releasing the Plugin diff --git a/package-lock.json b/package-lock.json index 6ae62d9..9506693 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,15 +8,14 @@ "hasInstallScript": true, "license": "GPL-2.0-or-later", "dependencies": { - "@alleyinteractive/block-editor-tools": "^0.10.3", - "@wordpress/block-editor": "^13.0.7", - "@wordpress/blocks": "^13.0.3", - "@wordpress/components": "^28.0.3", - "@wordpress/data": "^10.0.2", - "@wordpress/edit-post": "^8.0.9", - "@wordpress/i18n": "^5.0.1", - "@wordpress/plugins": "^7.0.3", - "dompurify": "^3.1.5", + "@alleyinteractive/block-editor-tools": "^0.11.0", + "@wordpress/block-editor": "^14.3.15", + "@wordpress/blocks": "^13.8.5", + "@wordpress/components": "^28.8.11", + "@wordpress/data": "^10.8.3", + "@wordpress/edit-post": "^8.8.18", + "@wordpress/i18n": "^5.8.2", + "@wordpress/plugins": "^7.8.11", "prop-types": "^15.8.1", "react": "18.3.1", "react-dom": "18.3.1" @@ -33,16 +32,16 @@ "@types/wordpress__blocks": "^12.5.13", "@types/wordpress__components": "^23.0.11", "@types/wordpress__edit-post": "^7.5.6", - "@wordpress/babel-preset-default": "^8.0.1", + "@wordpress/babel-preset-default": "^8.8.2", "babel-jest": "^29.7.0", "check-node-version": "^4.2.1", "jest": "^29.7.0", "ts-jest": "^29.2.5", - "typescript": "^5.5.4", + "typescript": "^5.6.3", "webpack-cli": "^5.1.4" }, "engines": { - "node": "20", + "node": "22", "npm": "10" } }, @@ -56,11 +55,12 @@ } }, "node_modules/@alleyinteractive/block-editor-tools": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/@alleyinteractive/block-editor-tools/-/block-editor-tools-0.10.3.tgz", - "integrity": "sha512-kQS+zoctQ8ABlbSnF0JIEJ/pDDQxrMQXRLZPW4NsTp9JFjdkwRVx8Sio2paDtZCzPt14+Ag5hP2bBiTBhOFj/g==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@alleyinteractive/block-editor-tools/-/block-editor-tools-0.11.0.tgz", + "integrity": "sha512-6Pml8e/a6aY0HxpPJO48yYYrLknOW9b4dl6GdPIXeLP1LWikwPzuSvuMmH8cZ7its4eHv02LyfEPyjQubF6YKg==", + "license": "GPL-2.0-or-later", "engines": { - "node": ">=16.0.0 <21.0.0", + "node": ">=16.0.0 <23.0.0", "npm": ">=8.0.0" }, "peerDependencies": { @@ -169,38 +169,38 @@ } }, "node_modules/@ariakit/core": { - "version": "0.3.11", - "resolved": "https://registry.npmjs.org/@ariakit/core/-/core-0.3.11.tgz", - "integrity": "sha512-+MnOeqnA4FLI/7vqsZLbZQHHN4ofd9kvkNjz44fNi0gqmD+ZbMWiDkFAvZII75dYnxYw5ZPpWjA4waK22VBWig==" + "version": "0.4.13", + "resolved": "https://registry.npmjs.org/@ariakit/core/-/core-0.4.13.tgz", + "integrity": "sha512-XwHm1OAKZhHkT5z3pSzeRyjUxW2VtPesMP0wa7fiVRXmibRJnJIxffGLZmUy4CHbOtQ46nlT3AlP5hXNQrS0Ow==" }, "node_modules/@ariakit/react": { - "version": "0.3.14", - "resolved": "https://registry.npmjs.org/@ariakit/react/-/react-0.3.14.tgz", - "integrity": "sha512-h71BPMZ2eW+E2ESbdYxSAEMR1DozYzd5eHE5IOzGd9Egi5u7EZxqmuW4CXVXZ1Y6vbaDMV3SudgPh7iHS/ArFw==", + "version": "0.4.14", + "resolved": "https://registry.npmjs.org/@ariakit/react/-/react-0.4.14.tgz", + "integrity": "sha512-UfUf54idAiUvkrnqmr55birSMiJ2+xHWviaKHXX9kdFHV27xL2O2ulNEXvk79wnjrgOlBXOvWe16FrY1VR5Vcw==", "dependencies": { - "@ariakit/react-core": "0.3.14" + "@ariakit/react-core": "0.4.14" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/ariakit" }, "peerDependencies": { - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" } }, "node_modules/@ariakit/react-core": { - "version": "0.3.14", - "resolved": "https://registry.npmjs.org/@ariakit/react-core/-/react-core-0.3.14.tgz", - "integrity": "sha512-16Qj6kDPglpdWtU5roY9q+G66naOjauTY5HvUIaL2aLY0187ATaRrABIKoMMzTtJyhvsud4jFlzivz+/zCQ8yw==", + "version": "0.4.14", + "resolved": "https://registry.npmjs.org/@ariakit/react-core/-/react-core-0.4.14.tgz", + "integrity": "sha512-vRdl3k7Q7Z3oHNbv8Afz3lbvmpqhKlHW22REFIdA/UE7/YsbD3dhMVncGsmsCHSA06PXF3esk7wP0QkZymO1CQ==", "dependencies": { - "@ariakit/core": "0.3.11", + "@ariakit/core": "0.4.13", "@floating-ui/dom": "^1.0.0", "use-sync-external-store": "^1.2.0" }, "peerDependencies": { - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" } }, "node_modules/@babel/code-frame": { @@ -5663,9 +5663,9 @@ } }, "node_modules/@wordpress/babel-preset-default": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.0.1.tgz", - "integrity": "sha512-PAmKGEmtdjEOqARifSgnfo3BqDIoO6fcvGlZtYjn6PjsXD2CtIHHHEE2F4e/rgxMPo0VqkqsLokr4kxEWwjjeA==", + "version": "8.8.2", + "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.8.2.tgz", + "integrity": "sha512-XhIpSw6d8GeaBe+gQ25nck01+Q3UiVQgih/yBCFWNtzB2qp/AB7195lHGxbuAYUO9RM1eXsf8kVJV2caAb4WnA==", "dev": true, "dependencies": { "@babel/core": "^7.16.0", @@ -5674,8 +5674,8 @@ "@babel/preset-env": "^7.16.0", "@babel/preset-typescript": "^7.16.0", "@babel/runtime": "^7.16.0", - "@wordpress/browserslist-config": "^6.0.1", - "@wordpress/warning": "^3.0.1", + "@wordpress/browserslist-config": "^6.8.1", + "@wordpress/warning": "^3.8.1", "browserslist": "^4.21.10", "core-js": "^3.31.0", "react": "^18.3.0" @@ -5724,43 +5724,44 @@ } }, "node_modules/@wordpress/block-editor": { - "version": "13.0.7", - "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-13.0.7.tgz", - "integrity": "sha512-In+SsdGgzpvOiVVlLxwNbs8hp+vgsXzeLQNbxral7jwX0s3wU7RnVTqb2pgJ4X0FsKr+Lveh3g+oK6cq/rAqtg==", + "version": "14.3.15", + "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-14.3.15.tgz", + "integrity": "sha512-5cFdYZMXsOlzWzbzLSB34wT3aQfl2WEKw83NA9/A4IAvZ7rJXdVJx0H2ZP7itmU/Rcj2cxPC152rfit9y4/+ww==", "dependencies": { "@babel/runtime": "^7.16.0", "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", "@react-spring/web": "^9.4.5", - "@wordpress/a11y": "^4.0.1", - "@wordpress/api-fetch": "^7.0.1", - "@wordpress/blob": "^4.0.1", - "@wordpress/blocks": "^13.0.3", - "@wordpress/commands": "^1.0.3", - "@wordpress/components": "^28.0.3", - "@wordpress/compose": "^7.0.1", - "@wordpress/data": "^10.0.2", - "@wordpress/date": "^5.0.1", - "@wordpress/deprecated": "^4.0.1", - "@wordpress/dom": "^4.0.1", - "@wordpress/element": "^6.0.1", - "@wordpress/escape-html": "^3.0.1", - "@wordpress/hooks": "^4.0.1", - "@wordpress/html-entities": "^4.0.1", - "@wordpress/i18n": "^5.0.1", - "@wordpress/icons": "^10.0.2", - "@wordpress/is-shallow-equal": "^5.0.1", - "@wordpress/keyboard-shortcuts": "^5.0.2", - "@wordpress/keycodes": "^4.0.1", - "@wordpress/notices": "^5.0.2", - "@wordpress/preferences": "^4.0.3", - "@wordpress/private-apis": "^1.0.2", - "@wordpress/rich-text": "^7.0.2", - "@wordpress/style-engine": "^2.0.2", - "@wordpress/token-list": "^3.0.1", - "@wordpress/url": "^4.0.1", - "@wordpress/warning": "^3.0.1", - "@wordpress/wordcount": "^4.0.1", + "@wordpress/a11y": "^4.8.2", + "@wordpress/api-fetch": "^7.8.2", + "@wordpress/blob": "^4.8.1", + "@wordpress/block-serialization-default-parser": "^5.8.1", + "@wordpress/blocks": "^13.8.5", + "@wordpress/commands": "^1.8.11", + "@wordpress/components": "^28.8.11", + "@wordpress/compose": "^7.8.3", + "@wordpress/data": "^10.8.3", + "@wordpress/date": "^5.8.2", + "@wordpress/deprecated": "^4.8.2", + "@wordpress/dom": "^4.8.2", + "@wordpress/element": "^6.8.1", + "@wordpress/escape-html": "^3.8.1", + "@wordpress/hooks": "^4.8.2", + "@wordpress/html-entities": "^4.8.1", + "@wordpress/i18n": "^5.8.2", + "@wordpress/icons": "^10.8.2", + "@wordpress/is-shallow-equal": "^5.8.1", + "@wordpress/keyboard-shortcuts": "^5.8.3", + "@wordpress/keycodes": "^4.8.2", + "@wordpress/notices": "^5.8.3", + "@wordpress/preferences": "^4.8.11", + "@wordpress/private-apis": "^1.8.1", + "@wordpress/rich-text": "^7.8.3", + "@wordpress/style-engine": "^2.8.1", + "@wordpress/token-list": "^3.8.1", + "@wordpress/url": "^4.8.1", + "@wordpress/warning": "^3.8.1", + "@wordpress/wordcount": "^4.8.1", "change-case": "^4.1.2", "clsx": "^2.1.1", "colord": "^2.7.0", @@ -5768,9 +5769,10 @@ "diff": "^4.0.2", "fast-deep-equal": "^3.1.3", "memize": "^2.1.0", + "parsel-js": "^1.1.2", "postcss": "^8.4.21", - "postcss-prefixwrap": "^1.51.0", - "postcss-urlrebase": "^1.0.0", + "postcss-prefix-selector": "^1.16.0", + "postcss-urlrebase": "^1.4.0", "react-autosize-textarea": "^7.1.0", "react-easy-crop": "^5.0.6", "remove-accents": "^0.5.0" @@ -6044,25 +6046,26 @@ } }, "node_modules/@wordpress/blocks": { - "version": "13.0.3", - "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-13.0.3.tgz", - "integrity": "sha512-HukM204sR8KpaQB/Mt6m8GdcYFBzdbss8SxKRgIDQOp9wttqKEMe4s9RmDqclIeQOFmHsFpHFvPEANjzsUwbSg==", + "version": "13.8.5", + "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-13.8.5.tgz", + "integrity": "sha512-KE0bbN370G3tA/7Oaugk0IRLaG3p06sEnfbbDvoRSyiPyxQsyYb53i921vuteHtzQ+3DEjtDzrku/bsKOn81Tg==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/autop": "^4.0.1", - "@wordpress/blob": "^4.0.1", - "@wordpress/block-serialization-default-parser": "^5.0.1", - "@wordpress/data": "^10.0.2", - "@wordpress/deprecated": "^4.0.1", - "@wordpress/dom": "^4.0.1", - "@wordpress/element": "^6.0.1", - "@wordpress/hooks": "^4.0.1", - "@wordpress/html-entities": "^4.0.1", - "@wordpress/i18n": "^5.0.1", - "@wordpress/is-shallow-equal": "^5.0.1", - "@wordpress/private-apis": "^1.0.2", - "@wordpress/rich-text": "^7.0.2", - "@wordpress/shortcode": "^4.0.1", + "@wordpress/autop": "^4.8.1", + "@wordpress/blob": "^4.8.1", + "@wordpress/block-serialization-default-parser": "^5.8.1", + "@wordpress/data": "^10.8.3", + "@wordpress/deprecated": "^4.8.2", + "@wordpress/dom": "^4.8.2", + "@wordpress/element": "^6.8.1", + "@wordpress/hooks": "^4.8.2", + "@wordpress/html-entities": "^4.8.1", + "@wordpress/i18n": "^5.8.2", + "@wordpress/is-shallow-equal": "^5.8.1", + "@wordpress/private-apis": "^1.8.1", + "@wordpress/rich-text": "^7.8.3", + "@wordpress/shortcode": "^4.8.1", + "@wordpress/warning": "^3.8.1", "change-case": "^4.1.2", "colord": "^2.7.0", "fast-deep-equal": "^3.1.3", @@ -6164,6 +6167,15 @@ "npm": ">=8.19.2" } }, + "node_modules/@wordpress/blocks/node_modules/@wordpress/warning": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.12.0.tgz", + "integrity": "sha512-qQB5FEJe9FAJ3bOFJ2wpKL8ZBxtyhPr2FnV+RLoCUVvNlE6UEa2d9B9TYUKEqkeootbYoSuiqeVca8kQIxFAhw==", + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } + }, "node_modules/@wordpress/blocks/node_modules/is-plain-object": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", @@ -6219,11 +6231,11 @@ } }, "node_modules/@wordpress/components": { - "version": "28.0.3", - "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-28.0.3.tgz", - "integrity": "sha512-94OCwm21IlsZ94UCNrm9VSNVAbauddWmc+8/ytffd2Kgrjw0nNfIF+SgB1fUj3XVwKcqJ/CyEHZ8sEPDL31wEw==", + "version": "28.8.11", + "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-28.8.11.tgz", + "integrity": "sha512-IfSSeFUcbBS1eS5fq1ShPIW2JEU9OJiKrkZ8Ae3FpqTfYbJppVP4+cpK+kvBWj5PLyg+EBHv4W5dx9tMUKsKRg==", "dependencies": { - "@ariakit/react": "^0.3.12", + "@ariakit/react": "^0.4.10", "@babel/runtime": "^7.16.0", "@emotion/cache": "^11.7.1", "@emotion/css": "^11.7.1", @@ -6235,29 +6247,28 @@ "@types/gradient-parser": "0.1.3", "@types/highlight-words-core": "1.2.1", "@use-gesture/react": "^10.3.1", - "@wordpress/a11y": "^4.0.1", - "@wordpress/compose": "^7.0.1", - "@wordpress/date": "^5.0.1", - "@wordpress/deprecated": "^4.0.1", - "@wordpress/dom": "^4.0.1", - "@wordpress/element": "^6.0.1", - "@wordpress/escape-html": "^3.0.1", - "@wordpress/hooks": "^4.0.1", - "@wordpress/html-entities": "^4.0.1", - "@wordpress/i18n": "^5.0.1", - "@wordpress/icons": "^10.0.2", - "@wordpress/is-shallow-equal": "^5.0.1", - "@wordpress/keycodes": "^4.0.1", - "@wordpress/primitives": "^4.0.1", - "@wordpress/private-apis": "^1.0.2", - "@wordpress/rich-text": "^7.0.2", - "@wordpress/warning": "^3.0.1", + "@wordpress/a11y": "^4.8.2", + "@wordpress/compose": "^7.8.3", + "@wordpress/date": "^5.8.2", + "@wordpress/deprecated": "^4.8.2", + "@wordpress/dom": "^4.8.2", + "@wordpress/element": "^6.8.1", + "@wordpress/escape-html": "^3.8.1", + "@wordpress/hooks": "^4.8.2", + "@wordpress/html-entities": "^4.8.1", + "@wordpress/i18n": "^5.8.2", + "@wordpress/icons": "^10.8.2", + "@wordpress/is-shallow-equal": "^5.8.1", + "@wordpress/keycodes": "^4.8.2", + "@wordpress/primitives": "^4.8.1", + "@wordpress/private-apis": "^1.8.1", + "@wordpress/rich-text": "^7.8.3", + "@wordpress/warning": "^3.8.1", "change-case": "^4.1.2", "clsx": "^2.1.1", "colord": "^2.7.0", "date-fns": "^3.6.0", "deepmerge": "^4.3.0", - "downshift": "^6.0.15", "fast-deep-equal": "^3.1.3", "framer-motion": "^11.1.9", "gradient-parser": "^0.1.5", @@ -6268,7 +6279,6 @@ "re-resizable": "^6.4.0", "react-colorful": "^5.3.1", "remove-accents": "^0.5.0", - "use-lilius": "^2.0.5", "uuid": "^9.0.1" }, "engines": { @@ -6552,18 +6562,18 @@ } }, "node_modules/@wordpress/data": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@wordpress/data/-/data-10.0.2.tgz", - "integrity": "sha512-2ntfc1hag1jhK3Zrli0NDDT4HPY3k0Fkdf9VdDJVGEE8yQIrtRHbwfTg39CDNIiNG1Ey17Gklv0vXjpgvZVwZg==", + "version": "10.8.3", + "resolved": "https://registry.npmjs.org/@wordpress/data/-/data-10.8.3.tgz", + "integrity": "sha512-JunqBEVVwJJz45N8JTZNh9WHFn857SUtbp7Efp55oesH/g3ejLMuNu6Ewf9/qEEGQut8VeVQ7yGhl+GQDu9u+w==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/compose": "^7.0.1", - "@wordpress/deprecated": "^4.0.1", - "@wordpress/element": "^6.0.1", - "@wordpress/is-shallow-equal": "^5.0.1", - "@wordpress/priority-queue": "^3.0.1", - "@wordpress/private-apis": "^1.0.2", - "@wordpress/redux-routine": "^5.0.1", + "@wordpress/compose": "^7.8.3", + "@wordpress/deprecated": "^4.8.2", + "@wordpress/element": "^6.8.1", + "@wordpress/is-shallow-equal": "^5.8.1", + "@wordpress/priority-queue": "^3.8.1", + "@wordpress/private-apis": "^1.8.1", + "@wordpress/redux-routine": "^5.8.1", "deepmerge": "^4.3.0", "equivalent-key-map": "^0.2.2", "is-plain-object": "^5.0.0", @@ -6729,41 +6739,6 @@ "react": "^18.0.0" } }, - "node_modules/@wordpress/dataviews/node_modules/@ariakit/core": { - "version": "0.4.12", - "resolved": "https://registry.npmjs.org/@ariakit/core/-/core-0.4.12.tgz", - "integrity": "sha512-+NNpy88tdP/w9mOBPuDrMTbtapPbo/8yVIzpQB7TAmN0sPh/Cq3nU1f2KCTCIujPmwRvAcMSW9UHOlFmbKEPOA==" - }, - "node_modules/@wordpress/dataviews/node_modules/@ariakit/react": { - "version": "0.4.13", - "resolved": "https://registry.npmjs.org/@ariakit/react/-/react-0.4.13.tgz", - "integrity": "sha512-pTGYgoqCojfyt2xNJ5VQhejxXwwtcP7VDDqcnnVChv7TA2TWWyYerJ5m4oxViI1pgeNqnHZwKlQ79ZipF7W2kQ==", - "dependencies": { - "@ariakit/react-core": "0.4.13" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/ariakit" - }, - "peerDependencies": { - "react": "^17.0.0 || ^18.0.0 || ^19.0.0", - "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" - } - }, - "node_modules/@wordpress/dataviews/node_modules/@ariakit/react-core": { - "version": "0.4.13", - "resolved": "https://registry.npmjs.org/@ariakit/react-core/-/react-core-0.4.13.tgz", - "integrity": "sha512-iIjQeupP9d0pOubOzX4a0UPXbhXbp0ZCduDpkv7+u/pYP/utk/YRECD0M/QpZr6YSeltmDiNxKjdyK8r9Yhv4Q==", - "dependencies": { - "@ariakit/core": "0.4.12", - "@floating-ui/dom": "^1.0.0", - "use-sync-external-store": "^1.2.0" - }, - "peerDependencies": { - "react": "^17.0.0 || ^18.0.0 || ^19.0.0", - "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" - } - }, "node_modules/@wordpress/date": { "version": "5.11.0", "resolved": "https://registry.npmjs.org/@wordpress/date/-/date-5.11.0.tgz", @@ -6855,40 +6830,40 @@ } }, "node_modules/@wordpress/edit-post": { - "version": "8.0.9", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-8.0.9.tgz", - "integrity": "sha512-aWFfSD8DggI4s1F0cnpPO88ELQ/UGRrAQo5zaCxdhKlezC7hGXJFzi1agGQo7ggFY3r590dy8JFKiOFMJpj9+w==", + "version": "8.8.18", + "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-8.8.18.tgz", + "integrity": "sha512-1woHpjt0RM4gKrpevaG1Zh6b2Al0biNrGFrIuAK2S71SasLrQuYzx9z3bAs5acCjXhV7VkLkLpK+ERm59256vQ==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/a11y": "^4.0.1", - "@wordpress/api-fetch": "^7.0.1", - "@wordpress/block-editor": "^13.0.7", - "@wordpress/block-library": "^9.0.8", - "@wordpress/blocks": "^13.0.3", - "@wordpress/commands": "^1.0.3", - "@wordpress/components": "^28.0.3", - "@wordpress/compose": "^7.0.1", - "@wordpress/core-commands": "^1.0.7", - "@wordpress/core-data": "^7.0.7", - "@wordpress/data": "^10.0.2", - "@wordpress/deprecated": "^4.0.1", - "@wordpress/dom": "^4.0.1", - "@wordpress/editor": "^14.0.8", - "@wordpress/element": "^6.0.1", - "@wordpress/hooks": "^4.0.1", - "@wordpress/html-entities": "^4.0.1", - "@wordpress/i18n": "^5.0.1", - "@wordpress/icons": "^10.0.2", - "@wordpress/keyboard-shortcuts": "^5.0.2", - "@wordpress/keycodes": "^4.0.1", - "@wordpress/notices": "^5.0.2", - "@wordpress/plugins": "^7.0.3", - "@wordpress/preferences": "^4.0.3", - "@wordpress/private-apis": "^1.0.2", - "@wordpress/url": "^4.0.1", - "@wordpress/viewport": "^6.0.2", - "@wordpress/warning": "^3.0.1", - "@wordpress/widgets": "^4.0.7", + "@wordpress/a11y": "^4.8.2", + "@wordpress/api-fetch": "^7.8.2", + "@wordpress/block-editor": "^14.3.15", + "@wordpress/block-library": "^9.8.16", + "@wordpress/blocks": "^13.8.5", + "@wordpress/commands": "^1.8.11", + "@wordpress/components": "^28.8.11", + "@wordpress/compose": "^7.8.3", + "@wordpress/core-commands": "^1.8.15", + "@wordpress/core-data": "^7.8.15", + "@wordpress/data": "^10.8.3", + "@wordpress/deprecated": "^4.8.2", + "@wordpress/dom": "^4.8.2", + "@wordpress/editor": "^14.8.18", + "@wordpress/element": "^6.8.1", + "@wordpress/hooks": "^4.8.2", + "@wordpress/html-entities": "^4.8.1", + "@wordpress/i18n": "^5.8.2", + "@wordpress/icons": "^10.8.2", + "@wordpress/keyboard-shortcuts": "^5.8.3", + "@wordpress/keycodes": "^4.8.2", + "@wordpress/notices": "^5.8.3", + "@wordpress/plugins": "^7.8.11", + "@wordpress/preferences": "^4.8.11", + "@wordpress/private-apis": "^1.8.1", + "@wordpress/url": "^4.8.1", + "@wordpress/viewport": "^6.8.3", + "@wordpress/warning": "^3.8.1", + "@wordpress/widgets": "^4.8.15", "clsx": "^2.1.1", "memize": "^2.1.0" }, @@ -7580,12 +7555,12 @@ } }, "node_modules/@wordpress/i18n": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-5.0.1.tgz", - "integrity": "sha512-JXfaiorZKMTUFP1IbLutLNDNHbFxP3otsfxniq+LdNUmQ9c9rtpW/WQXEAhZHE3J2wTbXrh5fHWuOKecj8UKOw==", + "version": "5.8.2", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-5.8.2.tgz", + "integrity": "sha512-evcwjw1cfGoyJoPMZlaYNwmYJAlIJh5pkgM1QWanpBPTMLsMOMcpZQGzOwvKf1uLozGOKkBAe106qQ7rgjZkoQ==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/hooks": "^4.0.1", + "@wordpress/hooks": "^4.8.2", "gettext-parser": "^1.3.1", "memize": "^2.1.0", "sprintf-js": "^1.1.1", @@ -7848,17 +7823,17 @@ } }, "node_modules/@wordpress/plugins": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@wordpress/plugins/-/plugins-7.0.3.tgz", - "integrity": "sha512-snU0QE1jyonhu7fM/3uH812nIIfwPF5UwRBFZzaUWc2dwyRHmYcvuwxrlQXUCrEU+cj9BXkmuJHTE6KWvveehQ==", + "version": "7.8.11", + "resolved": "https://registry.npmjs.org/@wordpress/plugins/-/plugins-7.8.11.tgz", + "integrity": "sha512-iNzNZh1eqCn3NpZZ7/Oo/vaazaXFOSvUGPaOecGvQcMBxh22phnVgq1ZdEAU6QG73bYZAn3kPu7sfOtrpDkLQQ==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/components": "^28.0.3", - "@wordpress/compose": "^7.0.1", - "@wordpress/element": "^6.0.1", - "@wordpress/hooks": "^4.0.1", - "@wordpress/icons": "^10.0.2", - "@wordpress/is-shallow-equal": "^5.0.1", + "@wordpress/components": "^28.8.11", + "@wordpress/compose": "^7.8.3", + "@wordpress/element": "^6.8.1", + "@wordpress/hooks": "^4.8.2", + "@wordpress/icons": "^10.8.2", + "@wordpress/is-shallow-equal": "^5.8.1", "memize": "^2.0.1" }, "engines": { @@ -10609,7 +10584,8 @@ "node_modules/compute-scroll-into-view": { "version": "1.0.20", "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz", - "integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==" + "integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==", + "dev": true }, "node_modules/computed-style": { "version": "0.1.4", @@ -11808,11 +11784,6 @@ "url": "https://github.com/fb55/domhandler?sponsor=1" } }, - "node_modules/dompurify": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.5.tgz", - "integrity": "sha512-lwG+n5h8QNpxtyrJW/gJWckL+1/DQiYMX8f7t8Z2AZTPw1esVrqjI63i7Zc2Gz0aKzLVMYC1V1PL/ky+aY/NgA==" - }, "node_modules/domutils": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", @@ -11852,6 +11823,7 @@ "version": "6.1.12", "resolved": "https://registry.npmjs.org/downshift/-/downshift-6.1.12.tgz", "integrity": "sha512-7XB/iaSJVS4T8wGFT3WRXmSF1UlBHAA40DshZtkrIscIN+VC+Lh363skLxFTvJwtNgHxAMDGEHT4xsyQFWL+UA==", + "dev": true, "dependencies": { "@babel/runtime": "^7.14.8", "compute-scroll-into-view": "^1.0.17", @@ -11866,7 +11838,8 @@ "node_modules/downshift/node_modules/react-is": { "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==" + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "dev": true }, "node_modules/duplexer": { "version": "0.1.2", @@ -19763,6 +19736,11 @@ "url": "https://github.com/inikulin/parse5?sponsor=1" } }, + "node_modules/parsel-js": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/parsel-js/-/parsel-js-1.1.2.tgz", + "integrity": "sha512-D66DG2nKx4Yoq66TMEyCUHlR2STGqO7vsBrX7tgyS9cfQyO6XD5JyzOiflwmWN6a4wbUAqpmHqmrxlTQVGZcbA==" + }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -20610,12 +20588,12 @@ "postcss": "^8.4.31" } }, - "node_modules/postcss-prefixwrap": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/postcss-prefixwrap/-/postcss-prefixwrap-1.52.0.tgz", - "integrity": "sha512-e1BwRim+oYeC+5yIOUTV3JdnOrbSIH4tEmm5+aDZM5dPvGnCp1p+31mQkvlRBq4Y2cNcjxzXme1DeNDQxOGqNg==", + "node_modules/postcss-prefix-selector": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/postcss-prefix-selector/-/postcss-prefix-selector-1.16.1.tgz", + "integrity": "sha512-Umxu+FvKMwlY6TyDzGFoSUnzW+NOfMBLyC1tAkIjgX+Z/qGspJeRjVC903D7mx7TuBpJlwti2ibXtWuA7fKMeQ==", "peerDependencies": { - "postcss": "*" + "postcss": ">4 <9" } }, "node_modules/postcss-reduce-initial": { @@ -20742,9 +20720,9 @@ } }, "node_modules/postcss-urlrebase": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/postcss-urlrebase/-/postcss-urlrebase-1.3.0.tgz", - "integrity": "sha512-LOFN43n1IewKriXiypMNNinXeptttSyGGRLPbBMdQzuTvvCEo5mz/gG06y/HqrkN7p3ayHQf2R2bTBv639FOaQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/postcss-urlrebase/-/postcss-urlrebase-1.4.0.tgz", + "integrity": "sha512-rRaxMmWvXrn8Rk1PqsxmaJwldRHsr0WbbASKKCZYxXwotHkM/5X/6IrwaEe8pdzpbNGCEY86yhYMN0MhgOkADA==", "dependencies": { "postcss-value-parser": "^4.2.0" }, @@ -24345,10 +24323,11 @@ } }, "node_modules/typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -24584,18 +24563,6 @@ } } }, - "node_modules/use-lilius": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/use-lilius/-/use-lilius-2.0.5.tgz", - "integrity": "sha512-IbPjJe4T6B0zQV6ahftVtHvCAxi6RAuDpEcO8TmnHh4nBtx7JbGdpbgXWOUj/9YjrzEbdT/lW7JWcBVbX3MbrA==", - "dependencies": { - "date-fns": "^3.6.0" - }, - "peerDependencies": { - "react": "*", - "react-dom": "*" - } - }, "node_modules/use-memo-one": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/use-memo-one/-/use-memo-one-1.1.3.tgz", diff --git a/package.json b/package.json index 9f381f8..1b1ef57 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "license": "GPL-2.0-or-later", "main": "plugin.php", "engines": { - "node": "20", + "node": "22", "npm": "10" }, "browserslist": [ @@ -40,15 +40,14 @@ "test": "jest --passWithNoTests" }, "dependencies": { - "@alleyinteractive/block-editor-tools": "^0.10.3", - "@wordpress/block-editor": "^13.0.7", - "@wordpress/blocks": "^13.0.3", - "@wordpress/components": "^28.0.3", - "@wordpress/data": "^10.0.2", - "@wordpress/edit-post": "^8.0.9", - "@wordpress/i18n": "^5.0.1", - "@wordpress/plugins": "^7.0.3", - "dompurify": "^3.1.5", + "@alleyinteractive/block-editor-tools": "^0.11.0", + "@wordpress/block-editor": "^14.3.15", + "@wordpress/blocks": "^13.8.5", + "@wordpress/components": "^28.8.11", + "@wordpress/data": "^10.8.3", + "@wordpress/edit-post": "^8.8.18", + "@wordpress/i18n": "^5.8.2", + "@wordpress/plugins": "^7.8.11", "prop-types": "^15.8.1", "react": "18.3.1", "react-dom": "18.3.1" @@ -65,12 +64,12 @@ "@types/wordpress__blocks": "^12.5.13", "@types/wordpress__components": "^23.0.11", "@types/wordpress__edit-post": "^7.5.6", - "@wordpress/babel-preset-default": "^8.0.1", + "@wordpress/babel-preset-default": "^8.8.2", "babel-jest": "^29.7.0", "check-node-version": "^4.2.1", "jest": "^29.7.0", "ts-jest": "^29.2.5", - "typescript": "^5.5.4", + "typescript": "^5.6.3", "webpack-cli": "^5.1.4" } }