Unverified Commit 6f4b74cb authored by gabriellsh's avatar gabriellsh Committed by GitHub
Browse files

[NEW] Added clipboard API polyfill (#232)


Co-authored-by: default avatarGuilherme Gazzo <guilhermegazzo@gmail.com>
Co-authored-by: default avatarTasso Evangelista <tasso.evangelista@rocket.chat>
parent 2de07032
require('focus-visible');
var ResizeObserver = require('@juggle/resize-observer');
window.ResizeObserver = window.ResizeObserver || ResizeObserver.ResizeObserver;
window.ResizeObserver = window.ResizeObserver || require('@juggle/resize-observer').ResizeObserver;
navigator.clipboard = navigator.clipboard || require('clipboard-polyfill');
......@@ -17,6 +17,7 @@
"main": "index.js",
"dependencies": {
"@juggle/resize-observer": "^3.1.2",
"clipboard-polyfill": "^2.8.6",
"focus-visible": "^5.0.2"
}
}
......@@ -6044,6 +6044,11 @@ cli-width@^2.0.0:
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48"
integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==
 
clipboard-polyfill@^2.8.6:
version "2.8.6"
resolved "https://registry.yarnpkg.com/clipboard-polyfill/-/clipboard-polyfill-2.8.6.tgz#19d27283f11f2933bb18737263b98b8c95b5a0f7"
integrity sha512-kz/1ov+PXsBpGnW9XJH3dLWdYj12FpXqO89Dngm/GRPoI36E/tnYs6N0YPTEhxM9WHAlFiN5eoyIVuv5nzKXvg==
clipboard@^2.0.0:
version "2.0.6"
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-2.0.6.tgz#52921296eec0fdf77ead1749421b21c968647376"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment