From 280d4a5432f20af88f7c83935d9fb54ce72924c3 Mon Sep 17 00:00:00 2001 From: Anton Korzunov Date: Fri, 17 Apr 2020 13:39:51 +1000 Subject: [PATCH] fix: update focus-lock, fixes #35 --- CHANGELOG.md | 9 +++++++++ package.json | 6 +++--- yarn.lock | 18 +++++++++--------- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85e7467..8bfc25e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# [3.4.0](https://github.com/theKashey/react-focus-on/compare/v3.3.0...v3.4.0) (2020-04-16) + + +### Features + +* support CSP ([67739a4](https://github.com/theKashey/react-focus-on/commit/67739a4)) + + + # [3.3.0](https://github.com/theKashey/react-focus-on/compare/v3.2.0...v3.3.0) (2019-10-17) diff --git a/package.json b/package.json index 1c88eb3..00828a3 100644 --- a/package.json +++ b/package.json @@ -9,13 +9,13 @@ "dev": "ts-react-toolbox dev", "test:ci": "ts-react-toolbox test --runInBand --coverage", "build": "ts-react-toolbox build", - "prepublish": "yarn build", + "prepublish": "yarn build && yarn changelog", "release": "ts-react-toolbox release", "lint": "ts-react-toolbox lint", "static": "ts-react-toolbox publish", "format": "ts-react-toolbox format", "analyze": "ts-react-toolbox analyze", - "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "size": "npx size-limit", "link:rfl": "rsync -av ../react-focus-lock node_modules/ --exclude node_modules --exclude .git", "link:rf": "rsync -av ../react-remove-scroll node_modules/ --exclude node_modules --exclude .git", @@ -41,7 +41,7 @@ }, "dependencies": { "aria-hidden": "^1.1.1", - "react-focus-lock": "^2.2.1", + "react-focus-lock": "^2.3.1", "react-remove-scroll": "^2.3.0", "react-style-singleton": "^2.1.0", "use-callback-ref": "^1.2.3", diff --git a/yarn.lock b/yarn.lock index ab1aac3..2742dea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4515,10 +4515,10 @@ flush-write-stream@^1.0.0: inherits "^2.0.1" readable-stream "^2.0.4" -focus-lock@^0.6.6: - version "0.6.6" - resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.6.6.tgz#98119a755a38cfdbeda0280eaa77e307eee850c7" - integrity sha512-Dx69IXGCq1qsUExWuG+5wkiMqVM/zGx/reXSJSLogECwp3x6KeNQZ+NAetgxEFpnC41rD8U3+jRCW68+LNzdtw== +focus-lock@^0.6.7: + version "0.6.7" + resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.6.7.tgz#65e298f2ba2a3372ab57a4e4c4bdc19e1e32a4e5" + integrity sha512-KRo93U/afEqt7w5tBm4t0FHf/Li8tEYav3n4GUiZdeRlRfrtMbL8yQg0xRVnY/kmBRmQ4xkqIlbaMvuqlu53kg== follow-redirects@^1.0.0: version "1.5.9" @@ -8589,13 +8589,13 @@ react-dom@^16.8.6: prop-types "^15.6.2" scheduler "^0.13.6" -react-focus-lock@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/react-focus-lock/-/react-focus-lock-2.2.1.tgz#1d12887416925dc53481914b7cedd39494a3b24a" - integrity sha512-47g0xYcCTZccdzKRGufepY8oZ3W1Qg+2hn6u9SHZ0zUB6uz/4K4xJe7yYFNZ1qT6m+2JDm82F6QgKeBTbjW4PQ== +react-focus-lock@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/react-focus-lock/-/react-focus-lock-2.3.1.tgz#9d5d85899773609c7eefa4fc54fff6a0f5f2fc47" + integrity sha512-j15cWLPzH0gOmRrUg01C09Peu8qbcdVqr6Bjyfxj80cNZmH+idk/bNBYEDSmkAtwkXI+xEYWSmHYqtaQhZ8iUQ== dependencies: "@babel/runtime" "^7.0.0" - focus-lock "^0.6.6" + focus-lock "^0.6.7" prop-types "^15.6.2" react-clientside-effect "^1.2.2" use-callback-ref "^1.2.1"