From 7e505c62031513613192df5a28022b77a23190f9 Mon Sep 17 00:00:00 2001 From: Dmitri Pyatkov Date: Wed, 13 Nov 2019 13:01:27 +0700 Subject: [PATCH] Add ResizeObserver rule (#270) https://caniuse.com/#feat=resizeobserver --- src/providers/CanIUseProvider.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/providers/CanIUseProvider.js b/src/providers/CanIUseProvider.js index f77e8680..2cdde724 100644 --- a/src/providers/CanIUseProvider.js +++ b/src/providers/CanIUseProvider.js @@ -142,6 +142,12 @@ const CanIUseProvider: Array = [ astNodeType: 'NewExpression', object: 'IntersectionObserver' }, + // ResizeObserver + { + caniuseId: 'resizeobserver', + astNodeType: 'NewExpression', + object: 'ResizeObserver' + }, // PaymentRequest { caniuseId: 'payment-request',