From c43686829f03276b7c352e5712ba600760b4c052 Mon Sep 17 00:00:00 2001 From: Anton Korzunov Date: Thu, 16 Feb 2023 22:40:53 +1100 Subject: [PATCH] fix: update focus-lock to prevent error when accessing cross-origin frames. fixes #241 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3f9c37c..7d3c29f 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "homepage": "https://github.com/theKashey/react-focus-lock#readme", "dependencies": { "@babel/runtime": "^7.0.0", - "focus-lock": "^0.11.5", + "focus-lock": "^0.11.6", "prop-types": "^15.6.2", "react-clientside-effect": "^1.2.6", "use-callback-ref": "^1.3.0", diff --git a/yarn.lock b/yarn.lock index cbaeb40..e6ff079 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5528,10 +5528,10 @@ flush-write-stream@^1.0.0: inherits "^2.0.3" readable-stream "^2.3.6" -focus-lock@^0.11.5: - version "0.11.5" - resolved "https://packages.atlassian.com/api/npm/npm-remote/focus-lock/-/focus-lock-0.11.5.tgz#bef1bf86000ce5ee634a7fedeecf28a580dfbc9d" - integrity sha512-1mTr6pl9HBpJ8CqY7hRc38MCrcuTZIeYAkBD1gBTzbx5/to+bRBaBYtJ68iDq7ryTzAAbKrG3dVKjkrWTaaEaw== +focus-lock@^0.11.6: + version "0.11.6" + resolved "https://packages.atlassian.com/api/npm/npm-remote/focus-lock/-/focus-lock-0.11.6.tgz#e8821e21d218f03e100f7dc27b733f9c4f61e683" + integrity sha512-KSuV3ur4gf2KqMNoZx3nXNVhqCkn42GuTYCX4tXPEwf0MjpFQmNMiN6m7dXaUXgIoivL6/65agoUMg4RLS0Vbg== dependencies: tslib "^2.0.3"