diff --git a/blocks/header-nav-chain-block/package-lock.json b/blocks/header-nav-chain-block/package-lock.json index 5475f85ad..2ba42905d 100644 --- a/blocks/header-nav-chain-block/package-lock.json +++ b/blocks/header-nav-chain-block/package-lock.json @@ -5,19 +5,19 @@ "requires": true, "dependencies": { "focus-trap": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.5.4.tgz", - "integrity": "sha512-N7kHdlgsO/v+iD/dMoJKtsSqs5Dz/dXZVebRgJw23LDk+jMi/974zyiOYDziY2JPp8xivq9BmUGwIJMiuSBi7w==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.6.2.tgz", + "integrity": "sha512-9FhUxK1hVju2+AiQIDJ5Dd//9R2n2RAfJ0qfhF4IHGHgcoEUTMpbTeG/zbEuwaiYXfuAH6XE0/aCyxDdRM+W5w==", "requires": { "tabbable": "^6.2.0" } }, "focus-trap-react": { - "version": "10.2.3", - "resolved": "https://registry.npmjs.org/focus-trap-react/-/focus-trap-react-10.2.3.tgz", - "integrity": "sha512-YXBpFu/hIeSu6NnmV2xlXzOYxuWkoOtar9jzgp3lOmjWLWY59C/b8DtDHEAV4SPU07Nd/t+nS/SBNGkhUBFmEw==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/focus-trap-react/-/focus-trap-react-11.0.2.tgz", + "integrity": "sha512-x9sNgXhaWyq1idKW11pJftDZ3WIWgpXc9aWEU3GmLNjso3RHzyaPCBjxftoEXYJZDoq5iUlLThZ3GUf7csyJBA==", "requires": { - "focus-trap": "^7.5.4", + "focus-trap": "^7.6.2", "tabbable": "^6.2.0" } }, diff --git a/blocks/header-nav-chain-block/package.json b/blocks/header-nav-chain-block/package.json index c100ca417..16f302e57 100644 --- a/blocks/header-nav-chain-block/package.json +++ b/blocks/header-nav-chain-block/package.json @@ -26,7 +26,7 @@ "@wpmedia/arc-themes-components": "*" }, "dependencies": { - "focus-trap-react": "^10.2.3", + "focus-trap-react": "^11.0.2", "use-debounce": "^10.0.0" }, "gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95" diff --git a/package-lock.json b/package-lock.json index 199eef4c8..ba144523c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -78,7 +78,7 @@ "@wpmedia/triple-chain-block": "file:blocks/triple-chain-block", "@wpmedia/unpublished-content-source-block": "file:blocks/unpublished-content-source-block", "@wpmedia/video-player-block": "file:blocks/video-player-block", - "focus-trap-react": "^10.2.3", + "focus-trap-react": "^11.0.2", "use-debounce": "^10.0.0" }, "devDependencies": { @@ -378,7 +378,7 @@ "version": "5.22.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "focus-trap-react": "^10.2.3", + "focus-trap-react": "^11.0.2", "use-debounce": "^10.0.0" }, "peerDependencies": { @@ -7482,14 +7482,12 @@ "version": "15.7.13", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.13.tgz", "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==", - "dev": true, "license": "MIT" }, "node_modules/@types/react": { "version": "18.3.12", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.12.tgz", "integrity": "sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==", - "dev": true, "license": "MIT", "dependencies": { "@types/prop-types": "*", @@ -7500,7 +7498,6 @@ "version": "18.3.1", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.1.tgz", "integrity": "sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==", - "dev": true, "license": "MIT", "dependencies": { "@types/react": "*" @@ -10740,7 +10737,6 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", - "dev": true, "license": "MIT" }, "node_modules/damerau-levenshtein": { @@ -12885,18 +12881,18 @@ } }, "node_modules/focus-trap-react": { - "version": "10.3.1", - "resolved": "https://registry.npmjs.org/focus-trap-react/-/focus-trap-react-10.3.1.tgz", - "integrity": "sha512-PN4Ya9xf9nyj/Nd9VxBNMuD7IrlRbmaG6POAQ8VLqgtc6IY/Ln1tYakow+UIq4fihYYYFM70/2oyidE6bbiPgw==", - "license": "MIT", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/focus-trap-react/-/focus-trap-react-11.0.2.tgz", + "integrity": "sha512-x9sNgXhaWyq1idKW11pJftDZ3WIWgpXc9aWEU3GmLNjso3RHzyaPCBjxftoEXYJZDoq5iUlLThZ3GUf7csyJBA==", "dependencies": { - "focus-trap": "^7.6.1", + "focus-trap": "^7.6.2", "tabbable": "^6.2.0" }, "peerDependencies": { - "prop-types": "^15.8.1", - "react": ">=16.3.0", - "react-dom": ">=16.3.0" + "@types/react": "^18.0.0 || ^19.0.0", + "@types/react-dom": "^18.0.0 || ^19.0.0", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" } }, "node_modules/follow-redirects": { diff --git a/package.json b/package.json index d12154b94..b81b427af 100644 --- a/package.json +++ b/package.json @@ -187,7 +187,7 @@ "@wpmedia/triple-chain-block": "file:blocks/triple-chain-block", "@wpmedia/unpublished-content-source-block": "file:blocks/unpublished-content-source-block", "@wpmedia/video-player-block": "file:blocks/video-player-block", - "focus-trap-react": "^10.2.3", + "focus-trap-react": "^11.0.2", "use-debounce": "^10.0.0" }, "overrides": {