diff --git a/.size-limit b/.size-limit index 138e551..d3c6668 100644 --- a/.size-limit +++ b/.size-limit @@ -14,4 +14,4 @@ ignore: ["react-dom", "tslib", "use-sidecar"], limit: "0.5 KB" } -] +] \ No newline at end of file diff --git a/package.json b/package.json index 317092c..61dfeab 100644 --- a/package.json +++ b/package.json @@ -56,8 +56,7 @@ ], "repository": "https://github.com/theKashey/react-remove-scroll", "dependencies": { - "react-remove-scroll": "^1.0.8", - "react-remove-scroll-bar": "^1.2.0", + "react-remove-scroll-bar": "^2.0.0", "react-style-singleton": "^2.0.0", "tslib": "^1.0.0", "use-sidecar": "^1.0.1" diff --git a/yarn.lock b/yarn.lock index 3dada65..b150e73 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11082,20 +11082,12 @@ react-popper@^1.3.3: typed-styles "^0.0.7" warning "^4.0.2" -react-remove-scroll-bar@^1.1.5, react-remove-scroll-bar@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/react-remove-scroll-bar/-/react-remove-scroll-bar-1.2.0.tgz#07250b2bc581f56315759c454c9b159dd04ba49d" - integrity sha512-8xSYR6xgW8QW65k38qB1Sh6ouTRjZ7BEteepR9tACd1rSaRyVYWabFxYLNOr4l1blZlqb81GEmDpUoPm7LsUTA== - dependencies: - react-style-singleton "^1.1.0" - tslib "^1.0.0" - -react-remove-scroll@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-1.0.8.tgz#a5aadc56368345a51ba524582c842a773849f609" - integrity sha512-AS6gFBO6T2CP0TgmDjq3Ip0Fz1HKyv+lzNrQAkJBSWGyOYaMWLMDy77mQJ7qEyy6fK0pI+Cz5x3X81/ux6SBew== +react-remove-scroll-bar@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/react-remove-scroll-bar/-/react-remove-scroll-bar-2.0.0.tgz#94437a7f3dbda99817ff64b928ee206e298ba157" + integrity sha512-HSdWZ+6vV6X1btLRhQlIcFulaMePCyg0Un2oXMmDdq8lK9KPUMSnWYINYWVCdgT35em9hiUaR8frBN1PYYLLpQ== dependencies: - react-remove-scroll-bar "^1.1.5" + react-style-singleton "^2.0.0" tslib "^1.0.0" react-resize-detector@^4.0.5: @@ -11109,14 +11101,6 @@ react-resize-detector@^4.0.5: raf-schd "^4.0.0" resize-observer-polyfill "^1.5.1" -react-style-singleton@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/react-style-singleton/-/react-style-singleton-1.1.0.tgz#ca2a40cc5bb3c513900141af34019cb80b7c656c" - integrity sha512-wYboNTnY74iFYo3uTZzEzdbnpka7Q3mhKiY4q5nwJaiQQig7snn6S6VCgBBVCu1B8LaHslwTLOWCMOLEwjNGXQ== - dependencies: - invariant "^2.2.4" - tslib "^1.0.0" - react-style-singleton@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/react-style-singleton/-/react-style-singleton-2.0.0.tgz#fdc9ff3a82674c256f0033d140b7b1d9d37e7f17"