Unverified Commit 8a5d560c authored by Douglas Fabris's avatar Douglas Fabris Committed by GitHub
Browse files

[NEW] Element.closest Polyfill (#305)


Co-authored-by: default avatarGuilherme Gazzo <guilhermegazzo@gmail.com>
parent f574b8c6
require('focus-visible');
window.ResizeObserver = window.ResizeObserver || require('@juggle/resize-observer').ResizeObserver;
navigator.clipboard = navigator.clipboard || require('clipboard-polyfill');
require('element-closest-polyfill');
{
"name": "@rocket.chat/fuselage-polyfills",
"version": "0.16.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@juggle/resize-observer": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@juggle/resize-observer/-/resize-observer-3.2.0.tgz",
"integrity": "sha512-fsLxt0CHx2HCV9EL8lDoVkwHffsA0snUpddYjdLyXcG5E41xaamn9ZyQqOE9TUJdrRlH8/hjIf+UdOdDeKCUgg=="
},
"clipboard-polyfill": {
"version": "2.8.6",
"resolved": "https://registry.npmjs.org/clipboard-polyfill/-/clipboard-polyfill-2.8.6.tgz",
"integrity": "sha512-kz/1ov+PXsBpGnW9XJH3dLWdYj12FpXqO89Dngm/GRPoI36E/tnYs6N0YPTEhxM9WHAlFiN5eoyIVuv5nzKXvg=="
},
"element-closest-polyfill": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/element-closest-polyfill/-/element-closest-polyfill-1.0.2.tgz",
"integrity": "sha512-+3cNhtv8YIyk/oDSlBv+zqUjQFcF9puLp4TFIk2w0Gqd6IL2uZnnu0jvDdOaI7dsK1bIA9gG69KIvkEyUFVGRg=="
},
"focus-visible": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/focus-visible/-/focus-visible-5.2.0.tgz",
"integrity": "sha512-Rwix9pBtC1Nuy5wysTmKy+UjbDJpIfg8eHjw0rjZ1mX4GNLz1Bmd16uDpI3Gk1i70Fgcs8Csg2lPm8HULFg9DQ=="
}
}
}
......@@ -18,6 +18,7 @@
"dependencies": {
"@juggle/resize-observer": "^3.1.2",
"clipboard-polyfill": "^2.8.6",
"element-closest-polyfill": "^1.0.2",
"focus-visible": "^5.0.2"
}
}
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